openrc-discuss

Re: Slow dependency calculation

Matthias Schwarzott

Wed Nov 11 09:17:01 2009

On Mittwoch, 11. November 2009, Roy Marples wrote:
> Matthias Schwarzott wrote:
> > On Dienstag, 10. November 2009, Ed W wrote:
> >> Roy Marples wrote:
> >>> Why the need to add a dependency calc script? Provided that the clock
> >>> increases upwards and never backwards, openrc should detect changed
> >>> configs and update dependency tree automatically.
> >>
> >> Oops, in that case I missed that it writes the dep tree every time and
> >> not just in the shutdown script?
> >>
> >> However, will need to double check that on my 0.4 system because it
> >> didn't *seem* to be happening that way - might have just missed
> >> something though
> >
> > As udev creates its device-nodes in sysinit runlevel, isn't it an
> > improvement to add hwclock / swclock init-scripts to sysinit runlevel
> > too?
> > I know this is just an idea, and may collide with hwclock
> > accessing /etc/adjtime or similar stuff.
>
> This shouldn't be an issue as hwclock will only read at that point.
> Besides, using adjtime bites you in the ass badly when you enable ntp :/
>
> I see no issue with adding swclock to the sysinit runlevel.
> I expect Ed will update us :)
>

Then udev init-script needs a "after clock" or "uses clock" to get correct 
ordering.

Matthias

Follow-Ups:
Re: Slow dependency calculationRoy Marples
References:
Slow dependency calculationEd W
Re: Slow dependency calculationMatthias Schwarzott
Re: Slow dependency calculationRoy Marples
Archive administrator: postmaster@marples.name