Bug#927911: systemd: Does not expand %h identifier in ExecStart

Norbert Preining norbert at preining.info
Thu Apr 25 11:24:25 BST 2019


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 ...

Nobody is supposed to wade through old NEWS, right?

> Thanks. So with the above, what you should get is that %h is resolved to
> /root, as you run that service as a system service. Or is %h not
> expanded at all?

No, it was expanded to "/"
Apr 25 08:40:46 bulldog systemd[1]: Started OneDrive Free Client for norbert.
Apr 25 08:40:46 bulldog onedrive[17137]: std.file.FileException at std/file.d(3011): //.config: Permission denied

so
	%h/.config  ->  //.config

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Pkg-systemd-maintainers mailing list