Am Sonntag, den 06.12.2020, 19:28 +0100 schrieb Michael Biebl: > Am 06.12.20 um 17:04 schrieb Josh Jones: > > It is the root filesystem which is failing to be remounted read- > > only - > > this is a simple setup with only one filesystem for the whole > > system. > > > > It seems to be happening right at the very very end of the shutdown > > sequence - I have attached a picture of the error; quality is poor > > because I had to capture it from video footage. Is there any way to > > even have anything saved to disk so late in the sequence? > > With the shutdown hook described in README.Debian and > https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 > (install the hook as /lib/systemd/system-shutdown/debug.sh without > the > /usr prefix) you can gather logs right until the end > >
Copy the attached script to /lib/systemd/system-shutdown/, make it executable with chmod +x, then add systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M to the kernel command line and after the reboot, attach the file /shutdown-log.txt to this bug report. Michael
debug.sh
Description: application/shellscript
signature.asc
Description: This is a digitally signed message part