[Pkg-sysvinit-devel] Bug#613807: /lib/init/bootclean.sh must remove /var/run/network/mountnfs

Roger Leigh rleigh at codelibre.net
Fri Dec 30 17:21:14 UTC 2011


On Fri, Dec 30, 2011 at 02:05:13PM -0300, Ivan Baldo wrote:
>   /lib/init/bootclean.sh must remove /var/run/network/mountnfs , it is 
> an exception to the rule and it has to be done.
>   I switched to tmpfs for /var/lock and /var/run and I don't have this 
> problem anymore... but since that's optional users without tmpfs must 
> be supported.
>   A simple rm -rf /var/run/network/mountnfs after find . ! -type d -
> delete || { report_err ; return 1 ; } should be enough.
>   A simple change with good impact, please someone do it.

I'm somewhat unsure what the reason for the problem is?  What causes
failure when the directory is present?

Note that /run is a tmpfs and /var/run and /var/lock are now therefore
always on tmpfs by default.

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.





More information about the Pkg-sysvinit-devel mailing list