[systemd-devel] [SOLVED] Re: mount created via "mount --bind" in systemctl unit doesn't create/bind the mount; but @ cmd line it works ?

ixloran at sent.at ixloran at sent.at
Sat Mar 30 12:37:46 PDT 2013


Found it. In: 

man systemd.exec

Says setting PrivateTmp=true "makes sharing between processes via /tmp
impossible."

So if I change:

 EDIT /etc/systemd/system/named-custom.service 
 -  PrivateTmp=true
 +  PrivateTmp=false

Now the mount is created correctly when I use the unit file, and the
logs are preserved in my /var/log/named directory across chroot creation
& destruction.

-Izzy


More information about the systemd-devel mailing list