Bugzilla – Bug 1214968
system poweroff or restart shows the text message Failed unmounting /etc
Last modified: 2023-10-16 16:50:57 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0 Build Identifier: Every time I halt or reboot the system red text message appears showing Failed unmounting /etc System halt or reboot normally. No effect I could see. Reproducible: Always Steps to Reproduce: 1.Press shutdown and reboot 2.Graphical sessions finish, text messages appears 3.Message Failed unmounting /etc appears Actual Results: Error message appears. Shutdown or restart continues normally. Expected Results: No error message appears
picking this bugreport up
Hi, the message is a low level message that /etc/ cannot be unmounted. This is because SeLinux needs /etc from pid 1 onwards. As to the message itself is hardcoded in systemd. As it fulfills a function for other situations, a patch to fix this is not a sensible way to proceed. As it doesn't do anything else than showing a message it needs to be closed as a WONTFIX.