Package: initscripts Version: 2.87dsf-6 Severity: wishlist I put some not so tmp file to /tmp for a while. Current bootclean cleanup all my /tmp on a reboot, intensionally or not.
Attached patch adds a ${BOOT_CLEAN_EXCEPT} to the exception rule so that I can specify my own exception rules in the /etc/default/rcS file. Like exclude a path of /tmp/longer. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=zh_CN.GBK (charmap=GBK) Shell: /bin/sh linked to /bin/bash Versions of packages initscripts depends on: ii coreutils 7.5-6 GNU core utilities ii debianutils 3.2.1 Miscellaneous utilities specific t ii libc6 2.9-26 GNU C Library: Shared libraries ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii mount 2.16.1-3 Tools for mounting and manipulatin ii sysv-rc 2.86.ds1-38 System-V-like runlevel change mech ii sysvinit-utils 2.87dsf-6 System-V-like utilities Versions of packages initscripts recommends: ii e2fsprogs 1.41.9-1 ext2/ext3/ext4 file system utiliti ii psmisc 22.8-1 utilities that use the proc file s initscripts suggests no packages. -- no debconf information
--- bootclean.sh 2009-09-29 18:47:38.000000000 +0800 +++ /lib/init/bootclean.sh 2009-09-29 18:34:42.000000000 +0800 @@ -73,7 +73,7 @@ DEXPR="-mtime +$TMPTIME -ctime +$TMPTIME" fi - EXCEPT='! -name . + EXCEPT="${BOOT_CLEAN_EXCEPT} "'! -name . ! ( -path ./lost+found -uid 0 ) ! ( -path ./quota.user -uid 0 ) ! ( -path ./aquota.user -uid 0 )