Comment 17 for bug 1654600

Revision history for this message
SergeiFranco (sergei-franco) wrote :

I have tested this and it does NOT work.

I fixed the issue in couple of different ways:

One way is completely remove the unit (who in right mind does install updates during reboot on production servers?). I will be actively doing that on all machines I encounter.

Another way is this:
sed -i 's#/var/run/#/run/#g' /usr/share/unattended-upgrades/unattended-upgrade-shutdown
So the problem with that sed is that the logging part will fail. So not really a solution.

Systemd has proven to be inconsistent pile of crap so far...

I could not make systemd to run this unit before local-fs.target. It appears that the documentation is misleading...