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
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".
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
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
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);
}
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