[Pkg-sysvinit-devel] Bug#385050: initscripts: TMPTIME cleanup doesn't work in /tmp

Ritesh Raj Sarraf rrs at researchut.com
Mon Aug 28 18:13:34 UTC 2006


Package: initscripts
Version: 2.86.ds1-15
Severity: normal


In /etc/default/rcS, the TMPTIME variable as mentioned is supported to
remove files from /tmp is that many days.

I've noticed that it doesn't remove any files from /tmp at all.
I've also checked the permissions for /tmp and the files in /tmp, and
they look okay to me.
geeKISSexy:~# ls -l /
....stripped...
drwxr-xr-x  11 root root     0 2006-08-28 22:53 sys
drwxrwxrwt  31 root root 20480 2006-08-28 23:35 tmp
drwxr-xr-x  12 root root  4096 2006-08-18 13:55 usr

geeKISSexy:~# ls /tmp/ -l
total 86884
-rw-r--r-- 1 root root        4 2006-08-22 20:04 debian-binary
drwx------ 2 rrs  rrs      4096 2006-08-26 17:53 gconfd-rrs
drwx------ 2 rrs  rrs      4096 2006-08-24 21:12 gpg-D4NnKQ
drwx------ 2 rrs  rrs      4096 2006-08-24 21:12 gpg-ECiPIG
drwx------ 2 rrs  rrs      4096 2006-08-27 20:29 gpg-iZKLbM
drwx------ 2 rrs  rrs      4096 2006-08-27 16:35 gpg-jLiusR
drwx------ 2 rrs  rrs      4096 2006-08-28 22:54 gpg-krLSQi
drwx------ 2 rrs  rrs      4096 2006-08-24 21:12 gpg-RqQaoi
drwx------ 2 rrs  rrs      4096 2006-08-24 21:12 gpg-SUUEPl
drwx------ 2 rrs  rrs      4096 2006-08-27 20:29 gpg-VzJiE5
drwx------ 2 rrs  rrs      4096 2006-08-28 22:54 gpg-X2Q0KR
drwx------ 2 rrs  rrs      4096 2006-08-27 16:35 gpg-z2RXDp
drwx------ 2 rrs  rrs      4096 2006-08-27 16:35 gpg-ZTT6WA
-rw-r--r-- 1 root root   153463 2006-08-24 01:02 grub-error
drwxr-xr-x 2 rrs  rrs      4096 2006-08-26 00:15 hsperfdata_rrs
-rw------- 1 rrs  rrs      1466 2006-08-23 16:22 install-uris
drwx------ 2 root root     4096 2006-08-28 22:53 kde-root
drwx------ 4 rrs  rrs      4096 2006-08-28 23:29 kde-rrs
-rw-r--r-- 1 rrs  rrs        42 2006-08-16 15:48 kmailrc
drwx------ 2 root root     4096 2006-08-28 22:53 ksocket-root
drwx------ 3 rrs  rrs      4096 2006-08-28 23:27 ksocket-rrs
-rw-r--r-- 1 rrs  rrs   7509872 2006-08-23 19:18
linux-headers-2.6.17-my-patches-xps1_10_i386.deb
-rw-r--r-- 1 rrs  rrs   7509784 2006-08-24 20:48
linux-headers-2.6.17-my-patches-xps1_11_i386.deb
-rw-r--r-- 1 rrs  rrs  17147186 2006-08-23 19:13
linux-image-2.6.17-my-patches-xps1_10_i386.deb
-rw-r--r-- 1 rrs  rrs  17148012 2006-08-24 20:42
linux-image-2.6.17-my-patches-xps1_11_i386.deb


You can notice that there are many files which are older than 5 days,
but they aren't cleaned.

Thanks,
Ritesh

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (550, 'unstable'), (500, 'stable'), (250, 'experimental'), (50, 'edgy'), (50, 'dapper')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-my-patches-xps1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  e2fsprogs                     1.39-1     ext2 file system utilities and lib
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  lsb-base                      3.1-14     Linux Standard Base 3.1 init scrip
ii  mount                         2.12r-10   Tools for mounting and manipulatin

initscripts recommends no packages.

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list