Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-19 | fix permissions for /run/lock | William Hubbs | |
If /run/lock is a directory, set the ownership and permissions for it, whether or not we created the directory. | |||
2011-04-18 | Add support for /run directory | Amadeusz Żołnowski | |
This is a new directory for storing volatile runtime data. See https://lwn.net/Articles/436012 X-Gentoo-Bug: 363971 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363971 | |||
2011-03-24 | rework test for mounted /proc | William Hubbs | |
The previous test assumed that we could always rely on the minor fault counter to change between reads of /proc/self/stat, but we found that this is not the case. The new test compares two reads of /proc/self/environ for which we have set the same environment variable to two different values. If the comparison shows the two reads have the same contents, we know that /proc is not working. I would like to thank Robin Johnson and Mike Frysinger for their input for this patch. X-Gentoo-Bug: 348416 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=348416 | |||
2011-01-18 | sh/init: Detect a mounted /proc without sleeping | Robin H. Johnson | |
Previously we checked if /proc was alive by reading /proc/uptime twice with a 1 second sleep between calls, so that it had time to update. This got a complaint of an entire 1 second delay, so we improve the check to be much faster without sleep. We cannot continue to use /proc/uptime as it only has a 10ms resolution. X-Gentoo-Bug: 348416 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=348416 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2011-01-17 | more whitespace cleanup | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-12 | bug 351160: make openrc exit codes LSB compliant | Eray Aslan | |
* status on a stopped service now has a return code of 3 (was 1) * starting an already started service now has a return code of 0 (was 1) * stopping an already stopped service now has a return code of 0 (was 1) | |||
2011-01-12 | bug 328675: add error checking to runscript.sh | William Hubbs | |
runscript.sh needs to abort if the . command used to load conf.d files and the service script does not execute successfully. I would like to thank Mike Frysinger for his input wrt style on this patch. | |||
2010-12-03 | fix selinux context for rc-svcdir (bug #347503) | Robin Johnson | |
2010-10-28 | correction for unmounting volumes with weird characters, thanks Brant | Jory A. Pratt | |
Gurganus <brant@gurganus.name> | |||
2010-10-27 | allow net_fs_list to be extended but not replaced | William Hubbs | |
This fixes bug #342825. | |||
2010-09-30 | surpress output of loadkeys, fix setfont path check | Jory A. Pratt | |
2010-03-16 | Send SIGKILL after 2 failed SIGTERM when unmounting. | Roy Marples | |
2010-02-26 | Mount xenfs early so OpenRC can detect it. | Juan RP | |
2010-02-20 | Fix rc_${rc_svcname}_need. | Roy Marples | |
Display config depends in service depend function also. | |||
2009-11-20 | If mounting tmpfs fails, try ramfs. | Roy Marples | |
This is because buggy kernels always report tmpfs even when not present. | |||
2009-09-04 | Allow init scripts to show their dependencies easier | Roy Marples | |
2009-05-26 | We need to use eval so we can pass "*" as an argument. | Roy Marples | |
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-05 | Fix compile on NetBSD | Roy Marples | |
2009-05-05 | Ignore more foo for the BSDs | Roy Marples | |
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-30 | Go back to git | Roy Marples | |
2009-04-27 | Allow templates to define a stop signal | Roy Marples | |
2009-04-26 | Stop using needless {} in vars | Roy Marples | |
2009-04-26 | Try and set a keymap as early as possible, #169 | Roy Marples | |
2009-04-19 | Use a bashism for a minor speedup in gendepends.sh | Roy Marples | |
2009-04-18 | Allow user to provide custom status function and still hook into the system one | Roy Marples | |
2009-04-18 | Move status to runscript.sh so init scripts can override it, #159 | Roy Marples | |
Return 32 if crashed, #163 | |||
2009-04-16 | Avoid needless forking, #165 | Roy Marples | |
Thanks to Natanael Copa. | |||
2009-01-29 | We should always mount $RC_SVCDIR unless in a vserver or it's already mounted. | Roy Marples | |
2008-12-04 | Punt .gitignore files. | Roy Marples | |
2008-11-28 | Save screen space. | Roy Marples | |
2008-11-13 | Fix lib. | Roy Marples | |
2008-11-12 | Mark the addon code as deprecated. | Roy Marples | |
2008-11-04 | Move romount to mount-ro and use the umount -r option as it's more reliable ↵ | Roy Marples | |
for / --bind mounts, Gentoo #239922. Thanks to Duncan. | |||
2008-11-03 | Add a new shutdown runlevel, Gentoo #224537. | Roy Marples | |
Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package. | |||
2008-10-10 | sysinit is now a real runlevel that handles things like udev, dmesg and | Roy Marples | |
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version. | |||
2008-10-09 | Fix umounting reporting exit status, Gentoo #239922. | Roy Marples | |
2008-09-22 | Allow forcefsck instead of gentoo=forcefsck on the kernel command line. | Roy Marples | |
2008-08-19 | Allow OpenVZ to mount /sys and device managers, #102 | Roy Marples | |
2008-06-21 | Set the default RC_SVCDIR higher up. | Roy Marples | |
2008-06-21 | We need to replace @LIB@ here. | Roy Marples | |
2008-05-01 | There could be a space between #! and /sbin/runscript, Gentoo #218001. | Roy Marples | |
2008-04-29 | We need to ensure that the init script started is correct, translating ↵ | Roy Marples | |
symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526. | |||
2008-04-26 | Always define template start/stop functions so that the real script name ↵ | Roy Marples | |
isn't hidden when errors are in the real start/stop functions, Gentoo #219179 | |||
2008-04-21 | Fix logic for templates. | Roy Marples | |
2008-04-21 | Typo | Roy Marples | |
2008-04-21 | Punt is_function in favour of POSIX shell builtin command, thanks to Harald ↵ | Roy Marples | |
van Dijk for the idea. | |||
2008-04-18 | We should check type output to ensure that we're really calling a shell ↵ | Roy Marples | |
function and not some badly named binary like stop from boinc, Gentoo #218063. | |||
2008-04-16 | We should only check dependencies in files. | Roy Marples | |