[systemd-devel] Antw: Re: Re: "bad" status for genersated target; why?
h.reindl at thelounge.net
Wed May 15 09:29:48 UTC 2019
Am 15.05.19 um 11:25 schrieb Andrei Borzenkov:
> On Wed, May 15, 2019 at 12:17 PM Lennart Poettering
> <lennart at poettering.net> wrote:
>>> To me it's the most horrible part of systemd: Messing with
>> 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
More information about the systemd-devel