[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    [systemd-devel] [SOLVED] Re: mount created via "mount --bind" in systemctl unit doesn't create/bind 
From:       ixloran () sent ! at (ixloran at sent ! at)
Date:       2013-03-30 19:37:46
Message-ID: 1364672266.19048.140661211154953.0925BBE7 () webmail ! messagingengine ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic