[systemd-devel] Antw: Re: Re: "bad" status for genersated target; why?

Lennart Poettering lennart at poettering.net
Wed May 15 09:29:23 UTC 2019


On Mi, 15.05.19 12:25, Andrei Borzenkov (arvidjaar at gmail.com) wrote:

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

Hmm?

No? Why? generated units cannot be enabled, what am I missing?

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list