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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed May 15 11:12:30 UTC 2019


>>> Lennart Poettering <lennart at poettering.net> schrieb am 15.05.2019 um 12:20
in
Nachricht <20190515102024.GB23038 at gardel-login>:
> On Mi, 15.05.19 12:12, Ulrich Windl (Ulrich.Windl at rz.uni-regensburg.de) 
> wrote:
> 
>> >>> Lennart Poettering <lennart at poettering.net> schrieb am 15.05.2019 um
12:04
>> in
>> Nachricht <20190515100400.GB22945 at gardel-login>:
>> > On Mi, 15.05.19 12:01, Ulrich Windl (Ulrich.Windl at rz.uni‑regensburg.de)
>> wrote:
>> >
>> >> > Writing a generator is not a typical user would do. It's what a
>> >> > developer of a package would do, and yes, in that case, when you
write
>> >> > code you need a bit more understanding of the underpinnings and need
>> >> > to do more work.
>> >>
>> >> systemd.generator(7) could really need some (better/realistic)
examples.
>> >
>> > I think you assume generators are something they inherently are not.
>>
>> Even if so, a better example might clarify things. Just referring to a 
> binary
>> generator like systemd-fstab-generator is not really helpful to teach how
to
>> write a generator. You don't like scripts as generators, but I think still

> they
>> would make a good example what a generator is supposed to do and what not.
> 
> Well, there can always be more examples, but "generators" are
> inherently an advanced concept: if you are writing a generator, then
> you already should be pro enough to be able to consult the sources of
> the various generators shipped with systemd.
> 
> i.e. it's not a beginners topic, it's a very low-level, technicallly
> advanced one.

But you can assume that someone reading the manual page about generators wants
to ...well... read about generators.
Otherwise you could shorten the manual page to "Go away! You are not supposed
to read this."

Rehgards,
Ulrich



More information about the systemd-devel mailing list