]> www.opopop.net Git - reminder/blobdiff - Avoid_systemd_on_Debian_Jessie_with_Mate.mdwn
attachment upload
[reminder] / Avoid_systemd_on_Debian_Jessie_with_Mate.mdwn
index 5753c77b3d701212741dfcd4ac883481d1c0f331..005356082a8bbe12eeddf9cca434de0c94d625e4 100644 (file)
@@ -123,11 +123,34 @@ In addition, new packages *systemd-shim*, *cgmanager* (it launches a
 daemon) and some dependencies have been installed on your system.
 
 The following figure shows the dependencies between some packages in
-our new configuration. *mate-power-manager* may not be an installed
-package on a desktop machine.
+our new configuration.
 
 [[!img dep-systemd.png size=600x]]
 
+## Debian Jessie with Mate, SysV init and *consolekit*
+
+*mate-power-manager* may not be installed on your host (it's mostly a laptop thing). 
+In that case, you can skip that section.
+
+Exploring the packages dependencies in
+[aptitude](https://wiki.debian.org/Aptitude) gives you the following
+alternative set of packages dependencies:
+
+[[!img dep-consolekit.png size=600x]]
+
+where package *consolekit* replaces *systemd* at several
+places. Notice that it is not possible to change/suppress the
+dependency of *udisks2* and *policykit-1*.
+
+So let's go to change to the above figure by installing *consolekit* [^3],
+as a first step to limit your systemd exposure.
+
+[^3]: In the process of installing *consolekit*, you may have lost (or
+not) the ability to resume/suspend from your Mate desktop; the
+conditions under which it happens are not clear for me at the
+moment. But continuing until the end what I suggest in this article
+will recover eventually that functionality.
+
 ## Debian Jessie with Mate, SysV init and a modified *libpam-systemd*
 
 As *libpam-systemd* is the only package left depending on *systemd*,
@@ -149,19 +172,19 @@ contradicts the claim to systemd "modularity").
 For your convenience, all of the source files and the .deb package
 (for i386) are here:
 
- [[systemd_215-17+deb8u7bu1.dsc]]
-
-[[systemd_215-17+deb8u7bu1_i386.changes]]
+[[systemd_215-17+deb8u7bu1.dsc]]
 
 [[systemd_215-17+deb8u7bu1.tar.gz]]
 
+[[systemd_215-17+deb8u7bu1_i386.changes]]
+
 [[libpam-systemd_215-17+deb8u7bu1_i386.deb]]
 
 If you have installed the needed development packages, it's easy to
 rebuild file "libpam-systemd_215-17+deb8u7bu1_i386.deb" with these
 simple commands:
 
-    # the 3 source files have to be downloaded in your current working directory
+    # the 2 source files have to be downloaded in your current working directory
     dpkg-source -x systemd_215-17+deb8u7bu1.dsc
     cd systemd-215
     dpkg-buildpackage -rfakeroot