Re: [systemd-devel] restricting systemd user services by hostname

2017-01-04 Thread Mike Gulick
On 01/04/2017 04:36 PM, Mantas Mikulėnas wrote: systemd.unit documents ConditionHost=, which can match either by hostname or by machine-id for exactly this situation. There is also the (slightly horrible) ConditionPathExists=/var/lib/systemd/linger/%u. Thanks! Can't believe I missed that in

Re: [systemd-devel] restricting systemd user services by hostname

2017-01-04 Thread Mantas Mikulėnas
On Wed, Jan 4, 2017 at 10:56 PM, Mike Gulick wrote: > Hi systemd-devel, > > > I'm on Debian 8 with systemd 215 (I realized its old, but its nontrivial > to upgrade Debian, especially in a corporate environment). We have > NFS mounted home directories. I'm trying to configure a vnc server to > s

[systemd-devel] restricting systemd user services by hostname

2017-01-04 Thread Mike Gulick
Hi systemd-devel, I'm on Debian 8 with systemd 215 (I realized its old, but its nontrivial to upgrade Debian, especially in a corporate environment). We have NFS mounted home directories. I'm trying to configure a vnc server to startup on a specific display at system boot. I first tried doi

Re: [systemd-devel] Does systemd-nspawn support running systemd in a user namespace

2017-01-04 Thread Lennart Poettering
On Wed, 04.01.17 14:35, Daniel J Walsh ([email protected]) wrote: > We are seeing issues attempting to do this with docker/runc. Basic > problem is /sys/fs/cgroup/systemd is owned by real root. Is there > something we need to change in runc, to make this directory owned by > UserNamespace-Root?

[systemd-devel] Does systemd-nspawn support running systemd in a user namespace

2017-01-04 Thread Daniel J Walsh
We are seeing issues attempting to do this with docker/runc. Basic problem is /sys/fs/cgroup/systemd is owned by real root. Is there something we need to change in runc, to make this directory owned by UserNamespace-Root? ___ systemd-devel mailing list

Re: [systemd-devel] Loading systemd units files at startup

2017-01-04 Thread Eswaran Vinothkumar (BEG-PT/PJ-IOT1)
Hello systemd developers, Currently, I am working on a task to reduce the boot time of an embedded product. systemd is used as the init system. I have a couple of questions, could you please clarify? 1. From the systemd-analyze plot, I am seeing that it takes around 2 seconds to load the sy

Re: [systemd-devel] Loading systemd units files at startup

2017-01-04 Thread Mantas Mikulėnas
On Wed, Jan 4, 2017 at 4:02 PM, Eswaran Vinothkumar (BEG-PT/PJ-IOT1) < [email protected]> wrote: > Hello systemd developers, > > > > Currently, I am working on a task to reduce the boot time of an embedded > product. systemd is used as the init system. I have a couple of questions,

[systemd-devel] Loading systemd units files at startup

2017-01-04 Thread Eswaran Vinothkumar (BEG-PT/PJ-IOT1)
Hello systemd developers, Currently, I am working on a task to reduce the boot time of an embedded product. systemd is used as the init system. I have a couple of questions, could you please clarify? 1. From the systemd-analyze plot, I am seeing that it takes around 2 seconds to load the sy