[Pkg-systemd-maintainers] Bug#718493: Requires systemd functionality on sysvinit+logind systems

Michael Biebl biebl at debian.org
Thu Aug 1 12:33:33 BST 2013


Package: upower
Version: 0.9.21-1
Severity: normal

Since we want to use systemd-logind everywhere, also on sysvinit, as a
replacement for ConsoleKit, it will be running, even if PID 1 != systemd.

upower now defers Suspend calls to logind, if logind is running.

Under systemd, this means activating the suspend.target. This obviously
fails under sysvinit.

We'll need an equivalent implementation like systemd-shim [1] for
sysvinit systems on Debian.

The systemd-shim package from Ubuntu only needs minor modifications to be
useful for Debian. It needs to
1/ drop the Conflicts against systemd
2/ use a different name for the D-Bus config file
3/ divert the org.freedesktop.systemd1.service D-Bus service file from
systemd, until we have figured out if we want/can drop that file from
systemd.

We also have to make sure that systemd-shim is installed on sysvinit
systems, so we'll have to decide which packages should pull that in.
Maybe upower itself should depend on *both* systemd (systemd-services on
Ubuntu) and systemd-shim.

Michael

[1] https://launchpad.net/ubuntu/+source/systemd-shim


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages upower depends on:
ii  dbus                   1.6.12-1
ii  libc6                  2.17-91
ii  libdbus-1-3            1.6.12-1
ii  libdbus-glib-1-2       0.100.2-1
ii  libglib2.0-0           2.36.3-3
ii  libgudev-1.0-0         204-2
ii  libimobiledevice2      1.1.1-4
ii  libplist1              1.8-1
ii  libpolkit-gobject-1-0  0.105-3
ii  libupower-glib1        0.9.21-1
ii  libusb-1.0-0           2:1.0.16-3
ii  pm-utils               1.4.1-11
ii  systemd                204-2
ii  udev                   204-2

Versions of packages upower recommends:
ii  policykit-1  0.105-3

upower suggests no packages.

-- no debconf information

-- debsums errors found:
sh: 1: /usr/sbin/dpkg-divert: not found



More information about the Pkg-systemd-maintainers mailing list