Re: support for merged /usr in Debian
On Fri, 8 Jan 2016 09:44:17 +0100, Christian Seiler
<christian@iwakd.de> wrote:
>On 01/08/2016 09:41 AM, Marc Haber wrote:
>> On Wed, 06 Jan 2016 00:03:31 +0100, Philipp Kern <pkern@debian.org>
>> wrote:
>>> On 2016-01-04 11:30, Marc Haber wrote:
>>>> On Sun, 3 Jan 2016 22:30:24 +0100, Eric Valette <eric.valette@free.fr>
>>>> wrote:
>>>>> System admins do like using absolute path
>>>>> for security reasons...
>>>> Please also notice that this is the only option for ExecStart in
>>>> systemd units. Well played, Lennart.
>>>
>>> Similarly skeleton-based init scripts use the full path as well. It
>>> helps if you can stat() it. Which, I guess, you could by extension by
>>> using "which" and the like.
>>
>> In init scripts, I can do that. In a systemd unit, I cannot.
>
>ExecStart=/bin/sh -c "something"
This brings an ugliness including quoting hell to systemd units that I
would rather not have. You missed to quote this.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to: