[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#490924: udev-udeb: Errors due to RO file system



tags 490924 pending
thanks

For people reading along on d-boot and seeing this BR for the first time:

I noticed some errors from udev when aborting an installation. Turns out 
we need to stop udevd before unmounting file systems to prevent those.

I've committed minor changes in both rootskel and finish-install that do 
just that. Tested lightly, but seems to work.

On Tuesday 15 July 2008, Frans Pop wrote:
> On Tuesday 15 July 2008, Marco d'Itri wrote:
> > On Jul 15, Frans Pop <elendil@planet.nl> wrote:
> > > Sending SIGTERM to all processes
> > > udevd-event: delete_path: rmdir(/dev/.udev/names/vcs3) failed:
> > > Read-only file system
> >
> > And why is /dev read only at this point? Is it even still mounted?
>
> Hmm. May well be no longer mounted. The error was what confused me a
> bit, especially as there was an issue with RO mounts for normal
> systems.
>
> Looks like we're doing:
> /bin/umount -a -r
> /sbin/swapoff -a
> reboot
>
> So I guess we just need to stop udev cleanly before the umount.
> What would be the best command for that? Just 'kill -15 $(pidof
> udevd)'?

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: