Bug#927911: systemd: Does not expand %h identifier in ExecStart
Michael Biebl
biebl at debian.org
Thu Apr 25 12:09:49 BST 2019
Am 25.04.19 um 12:24 schrieb Norbert Preining:
> Hi
>
>> From v228
>> https://github.com/systemd/systemd/blob/master/NEWS#L3926
>
>> From v209
>> https://github.com/systemd/systemd/blob/master/NEWS#L6855
>
> Ok, but the documentation o freedesktop.org and the man pages do not
> mention that, and in fact mention the contrary ...
The man pages say that %h and %u are resolved to the root user if you
are using the system instance (PID 1).
That is consistent with the behaviour you are getting.
If I missed a part which mentions the contrary, could you quote the
relevant bits from the documentation, so it can be fixed?
That said, I do acknowledge that the systemd.unit(5) man page could be
clearer what effect it has on %h and %u when setting `User=` when
Which is why I filed the upstream bug report.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190425/c1559906/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list