Bug 657497
Summary: | systemd-shutdown is a bit to noisy when it cannot detach the DM device the root dir is on. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Lautrbach <plautrba> |
Component: | systemd | Assignee: | Lennart Poettering <lpoetter> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | andre.ocosta, lpoetter, metherid, mschmidt, notting, plautrba |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-06 18:14:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Lautrbach
2010-11-26 09:37:06 UTC
Hmm, you have the root dir on LVM. Since we cannot unmount the root dir we hence cannot detach its DM device. Which is why you see what you see. This isn't really a problem though, as traditionally we never even bothered to detach the DM devices like this. However, we probably should make these error message show up less prominently, to not confuse the user. The dm kernel folks have now downgraded the "device-mapper: ioctl: unable to remove open device" message to debug which means it shouldn't show up on the console anymore by default. I also have changed systemd git to avoid trying to detach the dm device the root dir is on, which should have the effect that you won't see "Device or resource busy" anymore. I think this should resolve this bug report. The ideal fix btw would be if we could actually unmount the root dir on shutdown and hence detach the dm device it is on, which we cannot do right now. I have created an RFE tracker bug for that so that we don't forget about it. https://bugzilla.redhat.com/show_bug.cgi?id=667557 Hi, I know this issue is already marked as CLOSED UPSTREAM but I just wanted to confirm this can't be the cause for bug 712060, since "Cannot finalize remaining file systems and devices, giving up" is the last thing I read before "[<timestamp>] Power down." Lennart, can you confirm this can't under some circunstances (in my case I'd say it's 90% of the time) prevent the system from powering off? Yes, this is unrelated to bug 712060. This bug is about being to noisy, i.e. just a cosmetic issue, nothing which would stop you from shutting down. If the last message you see is the kernel's "Power down" message, then it appears it is a kernel problem, indeed. |