Summary: | sys-apps/systemd-219 immediately unmounts manually mounted directories: Unit ….mount is bound to inactive unit. Stopping, too. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | [OLD] Core system | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chris, druggo, egorov_egor, josef64, martin, rose |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=544432 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dennis Schridde
2015-02-26 10:07:05 UTC
The problem is that "mount" triggers systemd apparently to start an internal unit, see also: https://forums.gentoo.org/viewtopic-t-998456-highlight-.html It seems to me that these attempts of systemd to take full control over all calls of "mount" is conceptually broken: This is nothing an init-system should interfere, to start with. BTW, the fact that the "workaround" works is due to another conceptual brokenness of systemd: That mount-units *must* be named after path, and so systemd shoots itself into the foot when two mounts occur for the same path - systemd is not able to distinguish them internally. In other words: Its intentional breakage of user mounts breaks due to its own bugs. From what I read this not only affects loop mounts. Changing summary. I saw some chatter about this on systemd-devel; I think upstream is aware of the issue. *** Bug 544704 has been marked as a duplicate of this bug. *** hit a bug of systemd : https://bugs.freedesktop.org/show_bug.cgi?id=89383 downgrade or and you can find a patch there: https://abf.io/openmandriva/systemd/blob/master/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch (In reply to Druggo Yang from comment #6) > hit a bug of systemd : https://bugs.freedesktop.org/show_bug.cgi?id=89383 > > downgrade or and you can find a patch there: > https://abf.io/openmandriva/systemd/blob/master/0001-Revert-core-mount-add- > dependencies-to-dynamically-mo.patch Patch works fine. Unfortunately I had to create a local ebuild as the systemd ebuild has no epatch_user entry. (In reply to Chris Smith from comment #7) > Unfortunately I had to create a local ebuild as the systemd ebuild has no > epatch_user entry. Sure it does: It calls autotools-utils_src_prepare, which in turn calls epatch_user. (In reply to Mike Gilbert from comment #8) > (In reply to Chris Smith from comment #7) > > Unfortunately I had to create a local ebuild as the systemd ebuild has no > > epatch_user entry. > > Sure it does: It calls autotools-utils_src_prepare, which in turn calls > epatch_user. Just another refinement I missed. Thanks! *** Bug 546900 has been marked as a duplicate of this bug. *** Please give systemd-219_p112 a try. +*systemd-219_p112 (26 Apr 2015) + + 26 Apr 2015; Mike Gilbert <floppym@gentoo.org> +systemd-219_p112.ebuild: + Add a snapshot from the v219-stable branch upstream. Mounting of loop devices works again. |