On 4/15/05, Randy McMurchy <[EMAIL PROTECTED]> wrote:
> Declan Moriarty wrote these words on 04/15/05 11:52 CST:
> > One of these ****** scripts i(init.d/cleanfs, methinks) issues the command
> > rm -rf /var/run/* /var/lock/*
> > But hotplug wants to touch /var/log/subsys/hotplug
> > so the subsys directory keeps vanishing and hotplug gets pissed off,
> > not to mention yours truly. Whassa story? Which needs fixing?
>
> I'm not sure what needs fixing.
>
> You mention that /var/run/* and /var/lock/* get cleaned out but
> hotplug wants to write to /var/log/whatever.
>
> Where is the relationship here?
I am trying to add a uise of hotplug at bootup and I hit a problem.
Each boot I lose the /var/lock/subsys directory that hotplug wants to
use. That's the issue.
IIRC, the rcsysinit.d directory (which has a link to cleanfs) will run
before the rc?.d directories. So the hotplug boot script will always
fail, because that /var/lock/subsys directory has just been deleted by
cleanfs.
Either I have to alter the cleanfs line that says 'rm -rf /var/run/*
/var/lock/*' or else the hotplug line that says 'touch
/var/log/subsys/hotplug'. I don't know the implications of doing
either. I imagine the hotplug one is linked into several scripts
--
All the Best
Declan.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page