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

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

 



On Mi, 15.05.19 11:29, Jérémy ROSEN (jeremy.rosen@xxxxxxxx) wrote:

> well, in another thread, it was discussed why generated should never have
> an install section and why enablement does not make sense for them...
> so no it's not a bug.
>
> Arguably, yes, generators do need to care about symlinks, though, maybe the
> could call "systemctl add-wants --transient" to do the job,
> but at that point, that's more pedantic than practical. If you write a
> generator, your systemd-fu should be high enough to know and
> understand systemd's symlink mechanisms...

Precisely. if you write your own generator, then you need to know what
you do, and need to know how to place your symlinks. You are
essentially writing your own unit file installer that way and are
expected to create your own symlinks then.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
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