Package: molly-guard
Version: 0.8.1
Severity: grave
X-Debbugs-Cc: debian.a...@manchmal.in-ulm.de

Greetings,

after upgrading from 0.7.2 to 0.8.1, the symlinks in /usr/lib/molly-guard/
are gone. As this happened on a second machine today, I reckon it's not
a coincidence.


Current state:

# ls -l /usr/lib/molly-guard/
total 8
-rwxr-xr-x 1 root root   99  5. Okt 00:17 coldreboot
-rwxr-xr-x 1 root root 3365 11. Nov 23:02 molly-guard


Old state:

# ls -l /usr/lib/molly-guard/
total 7
-rwxr-xr-x 1 root root   99  5. Okt 00:17 coldreboot
lrwxrwxrwx 1 root root   14 30. Sep 12:34 halt -> /bin/systemctl
-rwxr-xr-x 1 root root 2847  9. Jul 2019  molly-guard
lrwxrwxrwx 1 root root   14 30. Sep 12:34 poweroff -> /bin/systemctl
lrwxrwxrwx 1 root root   14 30. Sep 12:34 reboot -> /bin/systemctl
lrwxrwxrwx 1 root root   14 30. Sep 12:34 shutdown -> /bin/systemctl


This is the upgrade log:

Preparing to unpack .../molly-guard_0.8.1_all.deb ...
No diversion 'diversion of /sbin/pm-hibernate by molly-guard', none removed.
No diversion 'diversion of /sbin/pm-suspend by molly-guard', none removed.
No diversion 'diversion of /sbin/pm-suspend-hybrid by molly-guard', none 
removed.
Adding 'diversion of /usr/sbin/halt to /usr/lib/molly-guard/halt by molly-guard'
Leaving 'diversion of /sbin/halt to /lib/molly-guard/halt by molly-guard'
Adding 'diversion of /usr/sbin/poweroff to /usr/lib/molly-guard/poweroff by 
molly-guard'
Leaving 'diversion of /sbin/poweroff to /lib/molly-guard/poweroff by 
molly-guard'
Adding 'diversion of /usr/sbin/reboot to /usr/lib/molly-guard/reboot by 
molly-guard'
Leaving 'diversion of /sbin/reboot to /lib/molly-guard/reboot by molly-guard'
Adding 'diversion of /usr/sbin/shutdown to /usr/lib/molly-guard/shutdown by 
molly-guard'
Leaving 'diversion of /sbin/shutdown to /lib/molly-guard/shutdown by 
molly-guard'
Adding 'diversion of /usr/sbin/coldreboot to /usr/lib/molly-guard/coldreboot by 
molly-guard'
Leaving 'diversion of /sbin/coldreboot to /lib/molly-guard/coldreboot by 
molly-guard'
Removing 'diversion of /usr/sbin/pm-hibernate to /lib/molly-guard/pm-hibernate 
by molly-guard'
Adding 'diversion of /usr/sbin/pm-hibernate to 
/usr/lib/molly-guard/pm-hibernate by molly-guard'
Removing 'diversion of /usr/sbin/pm-suspend to /lib/molly-guard/pm-suspend by 
molly-guard'
Adding 'diversion of /usr/sbin/pm-suspend to /usr/lib/molly-guard/pm-suspend by 
molly-guard'
Removing 'diversion of /usr/sbin/pm-suspend-hybrid to 
/lib/molly-guard/pm-suspend-hybrid by molly-guard'
Adding 'diversion of /usr/sbin/pm-suspend-hybrid to 
/usr/lib/molly-guard/pm-suspend-hybrid by molly-guard'
Unpacking molly-guard (0.8.1) over (0.7.2) ...
dpkg: warning: unable to delete old directory '/lib/molly-guard': Directory not 
empty
Setting up molly-guard (0.8.1) ...


The resultat is a major problem, hence the severity: Trying to shut down
or reboot just triggers an error:

# shutdown -P
E: not a regular file: /usr/lib/molly-guard/shutdown

(Workaround: Manually restore the links.)

Looking into the maintainer scripts, I see some changes were done. Can
you please re-check they to the right thing?

Regards,

    Chri- "diversions are a nightmare" stoph

Attachment: signature.asc
Description: PGP signature

Reply via email to