Re: Antw: Re: Re: "bad" status for genersated target; why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 15.05.19 um 11:25 schrieb Andrei Borzenkov:
> On Wed, May 15, 2019 at 12:17 PM Lennart Poettering
> <lennart@xxxxxxxxxxxxxx> wrote:
>>>
>>> To me it's the most horrible part of systemd: Messing with
>>> symlinks...
>>
>> You should never need to. For all relevant operations there are
>> "systemctl" verbs, i.e. "systemctl enable", "systemctl disable",
>> "systemctl add-wants" and so on.
>>
> 
> So the following is a bug?
> 
> localhost:~ # systemctl enable usr-local.mount
> Failed to enable unit: Unit /run/systemd/generator/usr-local.mount is
> transient or generated.
> localhost:~ # exit

why should this be a bug?

it clearly tells you that it makes no sense enable/disable a generated
unit because it#s already active and won't exist after shutdown
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux