Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-25 | bootmisc: clean up tmpdir cleaning | Mike Frysinger | |
Make sure that the `cd` into the $dir actually happened. This we don't have to worry about relative paths deleting stuff it shouldn't. This step shouldn't fail, but who knows, and better to be sane than to wipe out someone's valuables. When wiping, automatically fall back to a dedicated `find` if the initial `rm` failed on us. This should help with the speed issues related to the later `find`. Have the later find only search the top level allowing `rm` to walk the directory contents. This means that -xdev no longer applies, but since the earlier `rm` wasn't doing -xdev either and no one has complained thus far, let's assume it isn't an issue. Also convert to the -exec...+ form so that we don't have to worry about long argument lists, and add -- to the `rm` that was previously missing. In practice, this shouldn't matter as we've already deleted all those files, but better safe than sorry. When cleaning, since we've already done a `cd` into the $dir, no point in prefixing all the paths with $dir too. Go with the relative loving. Signed-off-by: Mike Frysinger <vapier@gentoo.org> X-Gentoo-Bug: 359831 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=359831 | |||
2011-01-17 | more whitespace cleanup | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-06 | Bug 349571 - SELinux fixes for bootmisc | Chris Richards | |
- delete the contents of the $RC_LIBEXECDIR/console directory but not the directory itself. - direct error output from the chmod call for /tmp to /dev/null. | |||
2010-11-26 | send error output from chattr command to /dev/null | William Hubbs | |
This is for bug #346659. | |||
2010-10-31 | Allow cleaning up of pam_mktemp-based temporary directories. | Diego Elio Pettenò | |
This was blacklisted before, so the .private directories never had their content cleaned up, even if WIPE_TMP was set to yes. | |||
2010-10-23 | remove 'use hostname' bug 340991, Thanks Diego | Jory A. Pratt | |
2009-11-10 | Don't punt /var/log/wtmp if it exists, just create if it does not. | Jan Psota | |
Fixes Gentoo #289849. | |||
2009-07-09 | Only delete /etc/nologin if we can write to it | Roy Marples | |
2009-07-01 | We should use -feature instead of nofeature. | Roy Marples | |
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178. | |||
2009-06-13 | Ensure that tmp dirs are +rw as well as +t. | Roy Marples | |
2009-06-08 | Linux FHS requires /var/lib/misc | Roy Marples | |
Stop fuser from being chatty | |||
2009-05-23 | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | |
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-27 | Style. | Roy Marples | |
2009-04-18 | Not all systems have the utmp group | Roy Marples | |
2009-04-17 | Typo, thanks to Matthias Schwarzott, #166. | Roy Marples | |
2009-04-16 | Improve utmp handling | Roy Marples | |
2009-04-12 | Simplfy rm matching pattern, thanks to cypherpunks@mailinator.com | Roy Marples | |
2009-02-23 | Change wipe_tmp_dirs to clean_tmp_dirs so user understands meaning better, #153 | Roy Marples | |
2009-02-10 | Only create the reboot file if rebooting. | Roy Marples | |
2009-02-10 | Create /reboot if running inside OpenVZ, #138. | Roy Marples | |
This should be fine as vpsreboot should only restart a stopped container. | |||
2008-10-15 | Fix fuser on BSD platforms. | Roy Marples | |
2008-10-08 | Fix utmp permissions, Gentoo #240437. | Roy Marples | |
2008-10-01 | Clean stale sockets. | Roy Marples | |
2008-05-12 | Add the devdb init script. | Roy Marples | |
2008-04-30 | Busybox find now works with -exec correctly, so remove our nasty hack. | Roy Marples | |
2008-04-09 | More ltsp fixes. | Roy Marples | |
2008-04-08 | Fix netmout for nfs | Roy Marples | |
2008-03-19 | Add rc-service and update all softlevel refs to runlevel. | Roy Marples | |
2008-03-18 | Support pam_mktemp. | Roy Marples | |
2008-03-03 | Split VPS into VSERVER and OPENVZ | Roy Marples | |
2008-03-02 | Ensure that our scripts call prefixed runscript. | Roy Marples | |
2008-03-02 | Don't check for root in prefix. | Roy Marples | |