From anti-systemd to pro-systemd in the shortest time
From anti-systemd to pro-systemd in the shortest time
Posted Jan 31, 2014 22:31 UTC (Fri) by cortana (subscriber, #24596)In reply to: From anti-systemd to pro-systemd in the shortest time by dlang
Parent article: This week in "As the Technical Committee Turns"
Posted Jan 31, 2014 23:22 UTC (Fri)
by dlang (guest, #313)
[Link] (1 responses)
Posted Feb 1, 2014 0:52 UTC (Sat)
by cortana (subscriber, #24596)
[Link]
I'd like to see systemd get an option to configure a private mount namespace, then it could become a bit less ugly:
[Service]
Where the name of the namespace is used to create a file, /run/mountns/foo, which can be used by processes from other namespaces to obtain a file descriptor that they can pass to setns() in order to enter the namespace. That way, several services can share a common mount namespace. 'ip netns' provides a similar facility for managing network namespaces.
From anti-systemd to pro-systemd in the shortest time
From anti-systemd to pro-systemd in the shortest time
PrivateMountNamespace=foo
ExecStartPre=/bin/mount --bind /runs/system/journal/syslog /dev/log
ExecStart=myprogram ...