[Bug 1054473] system fails to recover from emergency shell with "Transaction is destructive"
http://bugzilla.suse.com/show_bug.cgi?id=1054473
http://bugzilla.suse.com/show_bug.cgi?id=1054473#c9
--- Comment #9 from Franck Bui
(In reply to Franck Bui from comment #3)
Sorry for the delay, hopefully it's not too late...
Once you entered the emergency shell can you:
- enable the debug log with "systemd-analyze set-log-level debug"
We're still in the initrd. systemd-analyze is not present. I can "kill -s 56 1" though.
You can include extra tools in the initramfs by running "dracut -I /usr/bin/systemd-analyze" for example. But if "56" means SIGRTMIN+22, then you're right you can send this signal to PID1 instead.
- run "logger FOO"
no "logger", either. I tried to write to /dev/log directly, but that didn't work.
You can include logger in in the initramfs (see above) or just skip this part as it's not mandatory.
- run "exit" or "^D" (this should fail)
Once the shell has exited, I can't type anymore. I can try with "systemd.journald.log_target=console", that may work.
Then I think the easiest would be to boot with the following kernel options: "printk.devkmsg=on systemd.log_level=debug systemd.log_target=console console=ttyS0" and record the logs sent to the serial console once you type "^D". Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com