devfs
[Top] [All Lists]

Re: [kernel] char/raw.c devfs support

To: Juan Quintela <quintela@xxxxxxxxxxxxxxxx>
Subject: Re: [kernel] char/raw.c devfs support
From: Thierry Vignaud <tvignaud@xxxxxxxxxxxxxxxx>
Date: Thu, 07 Feb 2002 23:18:03 +0100
Cc: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>, Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>, kernel@xxxxxxxxxxxxxxxx, "'devfs mailing list'" <devfs@xxxxxxxxxxx>, Frederic Lepied <flepied@xxxxxxxxxxxxxxxx>
In-reply-to: <m27kppt8y7.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx> (Juan Quintela's message of "07 Feb 2002 19:58:56 +0100")
Organization: MandrakeSoft
References: <001c01c1afa7$075191b0$21c9ca95@xxxxxxxxxxxxxx> <m2u1sttdp0.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx> <200202071737.g17HbLi26463@xxxxxxxxxxxxxxxxxxxxxxxx> <m27kppt8y7.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (i386-mandrake-linux-gnu)
Juan Quintela <quintela@xxxxxxxxxxxxxxxx> writes:

> > BTW, Juan: I haven't yet received a followup about what was going
> > wrong with your /lib/dev-state and /dev/log problems.
>
> I don't know really, I think that it was a devfsd package here that
> got a wrong config file :(

the /dev/log problem has been traced back to the following portion of
/etc/rc.d/rc.sysinit :


# Restart devfsd actions now that the filesystems are ready
if [ -c /dev/.devfsd ]; then
  if [ -x /sbin/devfsd ]; then
      # cleanup dynamic desktop directories before calling devfsd actions
      rm -f /usr/share/gnome/desktop/* /usr/share/apps/kdesktop/Desktop/*
      
      action "Running devfsd actions: " killall -HUP devfsd
  fi
fi


sometimes, the bootstraping process wait for minutes because of some
sort of race between devfsd and minilogd (remeber syslogd hasn't yet
be started since it's a service launched after rc.sysinit let rc play
with init levels.

we've found a solution: make a service of the previous piece of script
and run it very late (ie in 99th position whereas syslogd service has
a priority of 88).


<Prev in Thread] Current Thread [Next in Thread>