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

2013-03-30 Thread ixloran
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

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

2013-03-30 Thread ixloran
Hi, I'm trying to preserve my chroot-ed, systemctl-launched BIND9's logs. To do that, I'm using a bind mount. My problem is, it all works from command line, but not from when doing the "same thing" via systemd unit file. My question is: Why doesn't it work? What am I doing wrong here? Before l