[systemd-bugs] [Bug 52039] With PrivateTmp enabled, the service doesn't see any changes in mounts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 24 14:16:17 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52039

--- Comment #2 from Jedrzej Jajor <jedrzej at man.poznan.pl> 2012-07-24 14:16:17 PDT ---
Thank you for the suggestion. Indeed, marking / and /var did help, but only
until next reboot. Additionally, "mount --make-shared" must be called after
filesystems were mounted, but before httpd.service was started.

Is there any option to permanently mark a mountpoint as "shared"? I could't
find any in fstab. Or is it possible only with another script/service which
would start before httpd.service?

I also found an option to make "slave" mount (--make-slave). From the docs:
"When a slave mount is created, any mount within the original mount point is
reflected in it". Maybe systemd should mark the mounts for services with
PrivateTmp=true as slaves, so that any subsequent mounts within original
filesystems would be reflected for the services?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the systemd-bugs mailing list