[Pkg-sysvinit-devel] Bug#491059: initscripts: Please don't delete /var/run/portmap.pid in bootclean.sh

Sven Joachim svenjoac at gmx.de
Wed Jul 16 08:14:34 UTC 2008


Package: initscripts
Version: 2.86.ds1-59
Severity: important

In order to fix #490985 it is necessary to have a /var/run/portmap.pid
file, and since mountnfs-bootclean.sh runs after portmap that means it
must not delete that file.  The following patch against
/lib/init/bootclean.sh achieves this:

--8<---------------cut here---------------start------------->8---
--- bootclean.sh~	2007-12-30 10:23:04.000000000 +0100
+++ bootclean.sh	2008-07-16 09:45:59.000000000 +0200
@@ -158,7 +158,7 @@
 			log_action_end_msg 1 "bootclean: Failure cleaning /var/run"
 		fi
 	}
-	find . ! -xtype d ! -name utmp ! -name innd.pid \
+	find . ! -xtype d ! -name utmp ! -name innd.pid ! -name portmap.pid \
 		-print0 | xargs -0r rm -f -- \
 		|| { report_err ; return 1 ; }
 	[ "$VERBOSE" = no ] || log_action_end_msg 0
--8<---------------cut here---------------end--------------->8---


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.11
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  debianutils              2.30            Miscellaneous utilities specific t
ii  e2fsprogs                1.41.0-3        ext2/ext3/ext4 file system utiliti
ii  libc6                    2.7-12          GNU C Library: Shared libraries
ii  lsb-base                 3.2-13          Linux Standard Base 3.2 init scrip
ii  mount                    2.13.1.1-1sven1 Tools for mounting and manipulatin
ii  sysvinit-utils           2.86.ds1-59     System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list