One more note after having a think while mowing the lawns.

Without diving into source code, the way molly-guard works is to put
diversions in place for a bunch of the power commands, I am thinking by
symlinks etc.

Going by the error message E: not a regular file:  that it is not liking
these symlinks on one file it is attempting to use/manipulate.

While removing molly-guard it informs us that it is doing:

Continue? [Y/n] y
(Reading database… 154877 files and directories currently installed.)
Removing molly-guard (0.8.5build1)…
Removing “diversion of /sbin/halt to /sbin/halt.no-molly-guard.usr-is-merged by 
molly-guard”
Removing “diversion of /sbin/poweroff to 
/sbin/poweroff.no-molly-guard.usr-is-merged by molly-guard”
Removing “diversion of /sbin/reboot to 
/sbin/reboot.no-molly-guard.usr-is-merged by molly-guard”
Removing “diversion of /sbin/shutdown to 
/sbin/shutdown.no-molly-guard.usr-is-merged by molly-guard”
Removing “diversion of /sbin/coldreboot to 
/sbin/coldreboot.no-molly-guard.usr-is-merged by molly-guard”
Removing “diversion of /usr/sbin/halt to /usr/sbin/halt.no-molly-guard by 
molly-guard”
Removing “diversion of /usr/sbin/poweroff to /usr/sbin/poweroff.no-molly-guard 
by molly-guard”
Removing “diversion of /usr/sbin/reboot to /usr/sbin/reboot.no-molly-guard by 
molly-guard”
Removing “diversion of /usr/sbin/shutdown to /usr/sbin/shutdown.no-molly-guard 
by molly-guard”
Removing “diversion of /usr/sbin/coldreboot to 
/usr/sbin/coldreboot.no-molly-guard by molly-guard”
Removing “diversion of /usr/sbin/pm-hibernate to 
/usr/sbin/pm-hibernate.no-molly-guard by molly-guard”
Removing “diversion of /usr/sbin/pm-suspend to 
/usr/sbin/pm-suspend.no-molly-guard by molly-guard”
Removing “diversion of /usr/sbin/pm-suspend-hybrid to 
/usr/sbin/pm-suspend-hybrid.no-molly-guard by molly-guard”
Processing triggers for man-db (2.13.1-1build1)…
(Reading database… 154848 files and directories currently installed.)
Purging configuration files for molly-guard (0.8.5build1)…

Which might give a clue into which command/file it is not liking?

Jim

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147476

Title:
  dracut Warning: shutdown/reboot failed!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2147476/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to