[systemd-devel] [PATCH] Drop Before=paths/sockets/timers.target from DefaultDependencies.
Lennart Poettering
lennart at poettering.net
Wed Feb 5 00:20:00 CET 2014
On Wed, 29.01.14 19:37, Andrey Borzenkov (arvidjaar at gmail.com) wrote:
> > So, in order to understand DefaultDependencies, you need to read the
> > related bits in systemd.unit(5), systemd.service(5), systemd.timer(5),
> > systemd.socket(5), systemd.path(5), systemd.slice(5), systemd.swap(5)
> > and systemd.target(5). The manpages systemd.mount(5) and
> > systemd.automount(5) seem to lack any information about default
> > dependencies.
> >
>
> In theory you need just two of them - for two units in question, for
> which you try to understand why they have these specific relations.
>
> > This is really annoying to learn - I'd suggest collecting all this
> > information in one place - IMO, it belongs either into systemd.unit(5)
> > or into its own manpage.
> >
>
> Actually I think having default dependency for a unit type in the man
> page for this unit type is logical. May be some magic to auto-generate
> cross-reference man page would be nice. Maintaining this manually is
> too error prone.
Yeah, I agree, this belongs in the individual type-specific man pages,
whith maybe a longer discussion what this is about next to the generic
DefaultDependencies= setting in systemd.unit(5), with hints that the
precise rules are documented in the indiviudal pages...
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list