Hallo all,

this is my first post here.
Last week I installed Debian 8 for the first time (on my laptop, a
Thinkpad T500).


I am currently setting up automatic updates on my system. I noticed a
systemd service (which got automatically enabled) called
'unattended-upgrades.service', which seems to take care of an
unattended upgrade process being finished properly in case of a
shutdown/reboot of the system. This is done via the python script
/usr/share/unattended-upgrades/unattendedupgrade-shutdown.

I'm wondering what's happening if I put my system to sleep (via
suspend-to-RAM or via hibernation) during an unattended upgrade. I
found /etc/pm/sleep.d/10_unattended-upgrades-hibernate -- but as far
as I know (and tested), scripts in /etc/pm/sleep.d/ are no longer
executed with systemd. Now the right place would be
/lib/systemd/systemd-sleep/ (correct me if I'm wrong) -- but
that's empty.

Have I missed something? Or is it simply not implemented at the moment?

Maybe this would be worth fixing before unattended-upgrades are
enabled by default, as discussed in this thread:

https://lists.debian.org/debian-devel/2016/11/msg00117.html


Thanks!

Merlin






-- 
Merlin Büge <t...@bluenox07.de>

Reply via email to