Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1067130

Bug#992351: molly-guard dracut issue

From Anton Lundin <glance@acc.umu.se>
Newsgroups linux.debian.bugs.dist
Subject Bug#992351: molly-guard dracut issue
Date 2021-08-17 18:30 +0200
Message-ID <CNa8p-7sB-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: molly-guard
Version: 0.7.2

Hi.

When using molly-guard together with dracut machine fails to
poweroff/halt/reboot with a issue like:


[   67.897697] dracut Warning: Killing all remaining processes
dracut Warning: Killing all remaining processes
[   67.975525] dracut Warning: Unmounted /oldroot.
[   68.002391] dracut: Disassembling device-mapper devices
E: not a regular file: /lib/molly-guard/poweroff[   68.036575] dracut Warning: poweroff failed!

dracut Warning: poweroff failed!


[   68.039669] dracut Warning: 
dracut Warning: 


Generating "/run/initramfs/rdsosreport.txt"
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

To get more debug information in the report,
reboot with "rd.debug" added to the kernel command line.

Dropping to debug shell.

shutdown:/# 


This is because the /lib/molly-guard/poweroff symlink isn't available in
the dracut initramfs.


This can be worked around by adding this:
install_items+=" /lib/molly-guard/poweroff /lib/molly-guard/reboot /lib/molly-guard/halt /lib/molly-guard/shutdown "

to

/etc/dracut.conf.d/20-molly-guard.conf


And rebuilding the initramfs.


//Anton

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#992351: molly-guard dracut issue Anton Lundin <glance@acc.umu.se> - 2021-08-17 18:30 +0200

csiph-web