Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-11 Thread Jóhann B . Guðmundsson
On 12/11/2015 03:56 AM, Andrei Borzenkov wrote: 10.12.2015 18:44, Jóhann B. Guðmundsson пишет: On 12/10/2015 03:20 PM, Reindl Harald wrote: Am 10.12.2015 um 15:46 schrieb Jóhann B. Guðmundsson: Care to show example how it should be done from your point of view? So that they can actully be

Re: [systemd-devel] macros vs "static"

2015-12-11 Thread Andrei Borzenkov
11.12.2015 21:52, poma пишет: > > For the "static" unit files - have no [Install] section, systemd macros: > > %systemd_post() - "... --no-reload preset ..." > and > %systemd_preun() - "... --no-reload disable --now ..." > > have no effect? > I tend to say "yes".

[systemd-devel] XSLT error compiling systemd

2015-12-11 Thread Andrew Thompson
With a new install of Fedora server, I'm having trouble building systemd documentation. It's driving me crazy. I've been able to fix this problem by editing the Makefile by hand, and removing the "--no-net" flag from the XSLT build command, but that is less than ideal. Has anyone run into this

Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-11 Thread Reindl Harald
Am 11.12.2015 um 15:45 schrieb Jóhann B. Guðmundsson: On 12/11/2015 03:56 AM, Andrei Borzenkov wrote: 10.12.2015 18:44, Jóhann B. Guðmundsson пишет: On 12/10/2015 03:20 PM, Reindl Harald wrote: Am 10.12.2015 um 15:46 schrieb Jóhann B. Guðmundsson: Care to show example how it should be

[systemd-devel] nspawn --private-users and setuid

2015-12-11 Thread Leroy Pubel
Is it considered safe to setuid on a root-owned binary that launches systemd-nspawn with the argument "--private-users=1000:1"? i.e. /* user-nspawn.c */ #include int main() { const char * binary = "/usr/bin/systemd-nspawn"; execl(binary, binary, "--private-users=1000:1", (char *)NULL); }

[systemd-devel] macros vs "static"

2015-12-11 Thread poma
For the "static" unit files - have no [Install] section, systemd macros: %systemd_post() - "... --no-reload preset ..." and %systemd_preun() - "... --no-reload disable --now ..." have no effect? Ref. https://github.com/systemd/systemd/blob/master/src/core/macros.systemd.in