Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmetic issue, cannot detach read-only erofs/overlayfs loopback mount #21

Open
ericcurtin opened this issue Nov 22, 2023 · 1 comment

Comments

@ericcurtin
Copy link
Collaborator

No description provided.

@ericcurtin
Copy link
Collaborator Author

This is a somewhat harmless issue which seems to be common on live cd's including Fedora's according to the issue below. On shutdown you will see the following, although it does not block anything:

[   27.963208] systemd-shutdown[1]: Could not detach loopback /dev/loop0: Device or resource busy
[   27.968809] systemd-shutdown[1]: Failed to finalize loop devices, ignoring.
[   27.971444] reboot: Power down

Preferably, we would umount the overlayfs and the erofs after systemd switches to rootfs. So on completion of boot /dev/loop0 and it's mounts are detached and unmounted, since they are no longer necessary.

Reading the below issue might yield some ideas of how to cleanly solve this:

systemd/systemd#17988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant