[Pkg-sysvinit-devel] Bug#670156: xserver-xorg-core: input devices no longer detected

Jonathan Nieder jrnieder at gmail.com
Tue Apr 24 08:07:23 UTC 2012


Roger Leigh wrote:

> Should be relatively simple to fix--just don't clean /run when it's a
> tmpfs, but there's something subtly wrong with the logic we're using in
> /lib/init/bootlean.

checkroot-bootclean.sh includes this gem:

  start|"")
      # Clean /tmp, /var/lock, /var/run.  Remove the .clean files to
      # force initial cleaning.  This is intended to allow cleaning
      # of directories masked by mounts while the system was
      # previously running, which would otherwise prevent them being
      # cleaned.
      rm -f /tmp/.clean /run/.clean /run/lock/.clean
      clean_all

Should this be made conditional on whether /run is a tmpfs?

Is a /run that is not a tmpfs a supported configuration?  When /run is
not a tmpfs, since version 167-2 udev doesn't use it, letting us
narrowly escape trouble in that case.





More information about the Pkg-sysvinit-devel mailing list