no more bootclean.sh in karmic initscripts

Bug #493296 reported by Will
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: initscripts

hi,
since Ubuntu Karmic there's no more bootclean scripts in init.
Is there any way to add this script to clean /tmp (/var/run, etc...) at boot time ?
Could we consider this as a regression ?

Will (wilfried-humbert)
summary: - no more bootclean in karmic initscripts
+ no more bootclean.sh in karmic initscripts
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The functionality provided by that script has been merged in to mountall now (which cleans /tmp on boot). I don't know why you'd want to clean /boot. /var/run is a tmpfs on Ubuntu, so the contents of this filesystem are volatile anyway

Changed in sysvinit (Ubuntu):
status: New → Invalid
Will (wilfried-humbert)
description: updated
Revision history for this message
Will (wilfried-humbert) wrote :

Sorry for my mistake, i would say to clean /tmp.
In my case, the /tmp is no more cleaned since Ubuntu Karmic.
So, i was looking for bootclean.sh like Debian does.

Here's my structure:

sda + sda > Kernel Raid1 > Cryptsetup > LVM > /tmp

will@willo:/etc/init$ df -hT /tmp/
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vg0-tmp
              ext2 4.6G 121M 4.3G 3% /tmp

will@willo:/tmp/initrd$ ls -ld /tmp/
drwxrwxrwt 179 root root 8192 2009-12-07 18:40 /tmp/

will@willo:/etc/init$ cat /etc/default/rcS
#
# /etc/default/rcS
#
# Default settings for the scripts in /etc/rcS.d/
#
# For information about these variables see the rcS(5) manual page.
#
# This file belongs to the "initscripts" package.

TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=yes
VERBOSE=no
FSCKFIX=no

So everythings ok for /tmp to be cleaned, but nothing is done. /tmp is growing and growing and need to delete files manually.

Revision history for this message
Will (wilfried-humbert) wrote :

Find an another bug report #478392

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.