Am 15.05.19 um 11:25 schrieb Andrei Borzenkov:
> On Wed, May 15, 2019 at 12:17 PM Lennart Poettering
> <> 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

Reply via email to