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.



_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to