Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | rework test for mounted /proc | William Hubbs | 2011-03-24 |
| | | | | | | | | | | | | | | | | | 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 | ||
* | sh/init: Detect a mounted /proc without sleeping | Robin H. Johnson | 2011-01-18 |
| | | | | | | | | | | | | 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> | ||
* | more whitespace cleanup | Mike Frysinger | 2011-01-17 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | bug 351160: make openrc exit codes LSB compliant | Eray Aslan | 2011-01-12 |
| | | | | | | * 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) | ||
* | bug 328675: add error checking to runscript.sh | William Hubbs | 2011-01-12 |
| | | | | | | | 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. | ||
* | fix selinux context for rc-svcdir (bug #347503) | Robin Johnson | 2010-12-03 |
| | |||
* | correction for unmounting volumes with weird characters, thanks Brant | Jory A. Pratt | 2010-10-28 |
| | | | | Gurganus <brant@gurganus.name> | ||
* | allow net_fs_list to be extended but not replaced | William Hubbs | 2010-10-27 |
| | | | | This fixes bug #342825. | ||
* | surpress output of loadkeys, fix setfont path check | Jory A. Pratt | 2010-09-30 |
| | |||
* | Send SIGKILL after 2 failed SIGTERM when unmounting. | Roy Marples | 2010-03-16 |
| | |||
* | Mount xenfs early so OpenRC can detect it. | Juan RP | 2010-02-26 |
| | |||
* | Fix rc_${rc_svcname}_need. | Roy Marples | 2010-02-20 |
| | | | | Display config depends in service depend function also. | ||
* | If mounting tmpfs fails, try ramfs. | Roy Marples | 2009-11-20 |
| | | | | This is because buggy kernels always report tmpfs even when not present. | ||
* | Allow init scripts to show their dependencies easier | Roy Marples | 2009-09-04 |
| | |||
* | We need to use eval so we can pass "*" as an argument. | Roy Marples | 2009-05-26 |
| | |||
* | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | 2009-05-23 |
| | | | | | | | | 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. | ||
* | Fix compile on NetBSD | Roy Marples | 2009-05-05 |
| | |||
* | Ignore more foo for the BSDs | Roy Marples | 2009-05-05 |
| | |||
* | Add (c) to Copyright | Roy Marples | 2009-05-01 |
| | |||
* | Go back to git | Roy Marples | 2009-04-30 |
| | |||
* | Allow templates to define a stop signal | Roy Marples | 2009-04-27 |
| | |||
* | Stop using needless {} in vars | Roy Marples | 2009-04-26 |
| | |||
* | Try and set a keymap as early as possible, #169 | Roy Marples | 2009-04-26 |
| | |||
* | Use a bashism for a minor speedup in gendepends.sh | Roy Marples | 2009-04-19 |
| | |||
* | 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 | 2009-04-18 |
| | | | | | Return 32 if crashed, #163 | ||
* | Avoid needless forking, #165 | Roy Marples | 2009-04-16 |
| | | | | | Thanks to Natanael Copa. | ||
* | We should always mount $RC_SVCDIR unless in a vserver or it's already mounted. | Roy Marples | 2009-01-29 |
| | |||
* | Punt .gitignore files. | Roy Marples | 2008-12-04 |
| | |||
* | Save screen space. | Roy Marples | 2008-11-28 |
| | |||
* | Fix lib. | Roy Marples | 2008-11-13 |
| | |||
* | Mark the addon code as deprecated. | Roy Marples | 2008-11-12 |
| | |||
* | Move romount to mount-ro and use the umount -r option as it's more reliable ↵ | Roy Marples | 2008-11-04 |
| | | | | for / --bind mounts, Gentoo #239922. Thanks to Duncan. | ||
* | Add a new shutdown runlevel, Gentoo #224537. | Roy Marples | 2008-11-03 |
| | | | | | | | 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. | ||
* | sysinit is now a real runlevel that handles things like udev, dmesg and | Roy Marples | 2008-10-10 |
| | | | | | | | | | | | 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. | ||
* | Fix umounting reporting exit status, Gentoo #239922. | Roy Marples | 2008-10-09 |
| | |||
* | Allow forcefsck instead of gentoo=forcefsck on the kernel command line. | Roy Marples | 2008-09-22 |
| | |||
* | Allow OpenVZ to mount /sys and device managers, #102 | Roy Marples | 2008-08-19 |
| | |||
* | Set the default RC_SVCDIR higher up. | Roy Marples | 2008-06-21 |
| | |||
* | We need to replace @LIB@ here. | Roy Marples | 2008-06-21 |
| | |||
* | There could be a space between #! and /sbin/runscript, Gentoo #218001. | Roy Marples | 2008-05-01 |
| | |||
* | We need to ensure that the init script started is correct, translating ↵ | Roy Marples | 2008-04-29 |
| | | | | 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. | ||
* | Always define template start/stop functions so that the real script name ↵ | Roy Marples | 2008-04-26 |
| | | | | isn't hidden when errors are in the real start/stop functions, Gentoo #219179 | ||
* | 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 | 2008-04-21 |
| | | | | van Dijk for the idea. | ||
* | We should check type output to ensure that we're really calling a shell ↵ | Roy Marples | 2008-04-18 |
| | | | | function and not some badly named binary like stop from boinc, Gentoo #218063. | ||
* | We should only check dependencies in files. | Roy Marples | 2008-04-16 |
| | |||
* | Add a silly rc_runlevel function to appease SpanKY :) | Roy Marples | 2008-04-08 |
| | |||
* | Tests now work on NetBSD. | Roy Marples | 2008-04-07 |
| |