Package: util-linux
Version: 2.20.1-5.3
Tags: patch
User: [email protected]
Usertags: logind

Hello,

in Debian we soon plan to make it possible to run systemd's logind
without the systemd init bits. For this, the "hwclock-set" script
needs a more precise check whether systemd init is running. Please see
this for details:

  https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u util-linux-2.20.1/debian/hwclock-set 
util-linux-2.20.1/debian/hwclock-set
--- util-linux-2.20.1/debian/hwclock-set
+++ util-linux-2.20.1/debian/hwclock-set
@@ -4,7 +4,7 @@
 
 dev=$1
 
-if [ -e /sys/fs/cgroup/systemd ] ; then
+if [ -e /run/systemd/system ] ; then
     exit 0
 fi
 
diff -u util-linux-2.20.1/debian/changelog util-linux-2.20.1/debian/changelog
--- util-linux-2.20.1/debian/changelog
+++ util-linux-2.20.1/debian/changelog
@@ -1,3 +1,10 @@
+util-linux (2.20.1-5.4) UNRELEASED; urgency=low
+
+  * debian/hwclock-set: Check whether systemd init is running, not just for
+    the cgroup (which is also being used by logind).
+
+ -- Martin Pitt <[email protected]>  Thu, 21 Mar 2013 10:20:57 +0100
+
 util-linux (2.20.1-5.3) unstable; urgency=low
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: Digital signature

Reply via email to