unattended-upgrades: What's happening when I put my system into sleep?
- Date: Sun, 19 Feb 2017 17:33:29 +0100
- From: Merlin Büge <toni@xxxxxxxxxxxx>
- Subject: unattended-upgrades: What's happening when I put my system into sleep?
this is my first post here.
Last week I installed Debian 8 for the first time (on my laptop, a
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
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
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:
Merlin Büge <toni@xxxxxxxxxxxx>