>>> Lennart Poettering <lennart@xxxxxxxxxxxxxx> schrieb am 15.05.2019 um 11:31 in Nachricht <20190515093135.GF22719@gardel-login>: > 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. I didn't see it that way: Generated units are just as units installed by some package manager, but specific to the local configuration. So why to make differences?: A unit is a file that is found by systemd (after the generators finished)... > > Lennart > > -- > Lennart Poettering, Berlin > _______________________________________________ > systemd-devel mailing list > systemd-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel