Package: sysvinit Version: 2.86.ds1-62 Severity: normal Tags: patch User: [email protected] Usertags: origin-ubuntu karmic ubuntu-patch
Hi! I use /tmp for a lot of temporary package builds, so when I reboot, it can sometimes take a while to clean up. I've often found it mysterious when booting that I would see swap enabling finished but my system would be grinding IO for a while without any boot messages. Ultimately, it was bootclean. I'd like to see the attached patch used to announce bootclean's execution. It already sources the init functions file, so adding the calls will not impact boot performance. Thanks! -Kees -- Kees Cook @debian.org
diff -u sysvinit-2.86.ds1/debian/initscripts/lib/init/bootclean.sh sysvinit-2.86.ds1/debian/initscripts/lib/init/bootclean.sh --- sysvinit-2.86.ds1/debian/initscripts/lib/init/bootclean.sh +++ sysvinit-2.86.ds1/debian/initscripts/lib/init/bootclean.sh @@ -168,6 +168,7 @@ which find >/dev/null 2>&1 || exit 1 which xargs >/dev/null 2>&1 || exit 1 +log_begin_msg "Cleaning up temporary files..." # If there are flag files that have not been created by root # then remove them @@ -196,2 +197,2 @@ +log_end_msg $ES exit $ES -
_______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

