Package: systemd-shim / 10-3

Metadata

Package Version Patches format
systemd-shim 10-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
install wrapper script to mount sysfscgr | (download)

Makefile.am | 2 1 + 1 - 0 !
configure.ac | 3 2 + 1 - 0 !
data/Makefile.am | 2 1 + 1 - 0 !
scripts/.gitignore | 1 1 + 0 - 0 !
scripts/Makefile.am | 11 11 + 0 - 0 !
scripts/systemd-shim-invoke.in | 19 19 + 0 - 0 !
6 files changed, 35 insertions(+), 3 deletions(-)

 install wrapper script to mount /sys/fs/cgroup/systemd

Closes:#844785 in Debian.

Script was originally posted in
  https://lists.debian.org/debian-devel/2017/01/msg00219.html
I think Michael intended to implicitly grant copyright authorisation
for this script to be distributed.  I have lightly modified the script.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>


wrapper script moved to libexec as it co | (download)

data/Makefile.am | 2 1 + 1 - 0 !
scripts/Makefile.am | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 wrapper script moved to libexec, as it contains an arch-specific path

and is therefore itself arch-specific.

Closes:#851566.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>


support hybrid sleep | (download)

src/power-unit.c | 77 74 + 3 - 0 !
src/unit.c | 3 3 + 0 - 0 !
src/unit.h | 1 1 + 0 - 0 !
3 files changed, 78 insertions(+), 3 deletions(-)

 support hybrid-sleep

systemd-shim is currently lacking support for hybrid sleep.  Since
e.g. upower by default tries to trigger hybrid sleep on laptops when
the battery goes critically low, this can lead to data loss.

(To make the current situation worse, invoking
org.freedesktop.login1.Manager.HybridSleep on the dbus fails with the
misleading error message

  Error org.freedesktop.DBus.Error.FileNotFound: Unknown unit: hybrid-sleep.target

which does *not* imply that /lib/systemd/system/hybrid-sleep.target
does not exist.)

I have cooked up a patch that adds hybrid sleep support to the systemd
shim.  It would be great if you could apply it to the Debian package.

Thanks,
Nikolaus

[ Closes:#780697  - Ian Jackson. ]