summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bump version.openrc-0.9.9.3Robin H. Johnson2012-03-11
|
* Merge branch 'master' into openrc-0.9.9.xRobin H. Johnson2012-03-11
|\
| * net/ifconfig: The location of the ifconfig binary has changedRobin H. Johnson2012-03-11
| | | | | | | | | | | | | | | | | | | | | | The location of the ifconfig binary has changed in net-tools-1.60_p20120127084908, and if we do not check both locations for it, the user will get errors like: _is_wireless: command not found _exists: command not found X-Gentoo-Bug: 407757 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=407757
| * Runscript: allow extra_commands to be run in chrootsWilliam Hubbs2012-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | The commands defined in the extra_commands variable do not depend on whether the service is stopped or started, so it is valid to run them in chroot environments. Also, add a note to the runscript man page about the commands in extra_commands being able to run whether or not the service is started. Reported-by: Robin Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 406713 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406713
| * Bug #405491: _exists can give a false negative since /proc/net/dev can be ↵Robin H. Johnson2012-03-02
| | | | | | | | | | | | slow to update sometimes when interfaces are added rapidly. Use sysfs instead. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * Add a potential future problem I can see with metric calculation and ↵Robin H. Johnson2012-03-02
| | | | | | | | | | | | interfaces that change often. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * Clarify the meaning of the clock_hctosys variableWilliam Hubbs2012-03-02
| | | | | | | | | | | | Reported-by: Ian Abbott <ian@abbott.org> X-Gentoo-Bug: 405861 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=405861
| * librc: make rc_proc_getent available for all operating systemsWilliam Hubbs2012-02-25
| | | | | | | | | | | | This looks up an option on the kernel command line. For now, itworks on linux and returns NULL on the bsds, but we are definitely open to patches for that side.
| * Fix rc_proc_getent() undeclared on BSDChristian Ruppert2012-02-25
| | | | | | | | | | | | X-Gentoo-Bug: 405713 X-Gentoo-Bug-URL: https://bugs.gentoo.org/405713 Reported-by: Dmitri Bogomolov <4glitch@gmail.com>
| * Skip pam if running as rootWilliam Hubbs2012-02-23
| | | | | | | | | | | | Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com> X-Gentoo-Bug: 386623 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=386623
* | Release openrc-0.9.9.2openrc-0.9.9.2William Hubbs2012-02-25
| |
* | librc: make rc_proc_getent available for all operating systemsWilliam Hubbs2012-02-25
| | | | | | | | | | | | This looks up an option on the kernel command line. For now, it works on linux and returns NULL on the bsds, but we are definitely open to patches for that side.
* | Release openrc-0.9.9.1openrc-0.9.9.1William Hubbs2012-02-24
| |
* | Skip pam if running as rootWilliam Hubbs2012-02-24
|/ | | | | | Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com> X-Gentoo-Bug: 386623 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=386623
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* Drop rc_sys definition from build systemWilliam Hubbs2012-02-20
|
* rc: remove calls to rc_sys_v2 and rc_sys_v1William Hubbs2012-02-20
| | | | | These separate calls are no longer needed since we do not warn about falling back to automatic detection.
* remove the warning about falling back to autodetectionJory A. Pratt2012-02-20
|
* Revert "Revert "swap: go back to using swapon for Linux systems""William Hubbs2012-02-20
| | | | | | This reverts commit 06d67017850e106f14d8948003027612253b143a. After researching this further, we do need this commit. The other issue is a bug in fstabinfo which will also need to be fixed.
* update ignore patternsWilliam Hubbs2012-02-20
|
* Revert "swap: go back to using swapon for Linux systems"William Hubbs2012-02-20
| | | | | | This reverts commit 297720787f914ca34f2d04c66980c18c57700865. robbat2 tells me there is a better way to fix this.
* swap: go back to using swapon for Linux systemsWilliam Hubbs2012-02-20
| | | | | | | | | | | | | There are several reasons for going back to this: - fstabinfo doesn't work with labels in fstab - when a device is passed to swapon individually, the swap priority from fstab is not honored. - We also add the -e option to only activate available swap devices. reported-by: Duncan <1i5t5.duncan@cox.net> X-Gentoo-Bug: 405021 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=405021
* Clarify the documentation about the reboot runlevelWilliam Hubbs2012-02-19
| | | | | The reboot runlevel does exist, but it gets remapped to the shutdown runlevel internally.
* Document the RC_REBOOT variableWilliam Hubbs2012-02-19
|
* net: add deprecation warning for old style net dependency variablesWilliam Hubbs2012-02-18
|
* net: fix documentation for interface dependenciesWilliam Hubbs2012-02-18
| | | | | | | | | The network script had a separate case for handling network interface dependencies using variables of the form rc_before/after/use/need/provide_ifname. This is unnecessary since openrc already supports rc_net_ifname_need/use/before/after/provide. This commit updates the documentation to use this more generally supported form.
* Fix meaning of "provide net"William Hubbs2012-02-18
| | | | | | | | | | I was informed that "provide net" should mean that there is network communication outside the local computer. In this case, the loopback interface can't "provide net", but there needs to be a way for other processes to know that the loopback interface is active. To this end, this commit makes the loopback "provide lo" and all other interfaces "provide net".
* hwclock: set the hardware clock on shutdownWilliam Hubbs2012-02-18
| | | | | | Previously, the default on linux systems was to not set the hardware clock to match the system clock during shutdown. This changes that default to be consistent with *bsd and swclock.
* hwclock: Clarify documentationWilliam Hubbs2012-02-17
| | | | | | | | | | The clock_hctosys and clock_systohc settings really do not have anything to do with running an ntp daemon, so remove that reference from the documentation. Reported-by: Milos Ivanovic <milosivanovic@orcon.net.nz> X-Gentoo-Bug: 401433 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401433
* Enable binfmt_misc for openvz containersWilliam Hubbs2012-02-16
| | | | | | Reported-by: Daniel Robbins <drobbins@funtoo.org> X-Gentoo-Bug: 401875 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401875
* Replace hard coded reference to /etc with @SYSCONFDIR@William Hubbs2012-02-16
| | | | | I found a reference to "/etc" in the procfs script. This changes that reference to @SYSCONFDIR@.
* Allow localmount to run in openvz containersWilliam Hubbs2012-02-13
| | | | | | Reported-By: Daniel Robbins <drobbins@funtoo.org> X-Gentoo-Bug: 401063 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401063
* Revert "Remove rc_parallel from rc.conf"William Hubbs2012-02-13
| | | | | | | | This reverts commit 695f3886fb2d255e64387ce780be3c1cbc170fa9. Reported-by: Pacho Ramos <pacho@gentoo.org> X-Gentoo-Bug: 400741 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400741
* Swap: fix redirectWilliam Hubbs2012-02-13
| | | | | Swap should redirect stdout and stderr from swapon to null and not just stderr.
* Improve swap handlingWilliam Hubbs2012-02-13
| | | | | | | | | | | | | | | | | | Modify the swap script so it starts before and stops after localmount. Also, on linux, this script should skip mounting swap on loopback. Add a swapfiles script which runs after localmount and is designed to activate additional swap space which could not be activated before localmount was run. This includes loopback swap on linux and swapfiles which are on local file systems that were not mounted when swap was activated initially. The start code does reactivate swap that is already active, but this is not an error condition. Reported-by: Giampaolo Tomassoni <giampaolo@tomassoni.biz> X-Gentoo-Bug: 401003 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401003
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrcChristian Ruppert2012-02-12
|\
| * Fix typo in swap scriptWilliam Hubbs2012-02-12
| |
* | Fix some more warningsChristian Ruppert2012-02-12
|/
* Use size_t instead of intChristian Ruppert2012-02-12
|
* Remove unused/useless function single_user()Christian Ruppert2012-02-11
|
* termencoding: change "need root" to "use root"William Hubbs2012-02-10
| | | | | | | | | This allows root to be removed from the boot runlevel which is needed sometimes when the root fs is mounted read-only. Reported-By: Maxim Kammerer <mk@dee.su> X-Gentoo-Bug: 400921 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400921
* root.in: split a long line for readabilityWilliam Hubbs2012-02-10
|
* sysctl.d: fix READMEWilliam Hubbs2012-02-10
| | | | Fix some typos in this file and clarify the documentation more.
* Fix early consolefont/termencoding usage vs rc_sysRobin H. Johnson2012-02-09
| | | | | | | | | | During early boot, the keywords were not being checked for consolefont/termencoding and they were running anyway when they should not be. X-Gentoo-Bug: 400549 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400549 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* sysctl.d: Include a README file for /etc/sysctl.d/Robin H. Johnson2012-02-09
| | | | | | | | | Our sysctl script has read from /etc/sysctl.d/ but the directory was not created by default, and we didn't document it. X-Gentoo-Bug: 398189 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=398189 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Whitespace.Robin H. Johnson2012-02-09
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* oldnet: ip6rd supportSalah Coronya2012-02-09
| | | | | | X-Gentoo-Bug: 392223 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=392223 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Remount already mounted filesystems.Piotr Karbowski2012-02-09
| | | | | | | | | This was modified by William Hubbs to use the checkpath helper and to improve readability. Signed-off-by: William Hubbs <williamh@gentoo.org> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (tested with genkernel /usr mount changes);
* fstabinfo: add --remount optionWilliam Hubbs2012-01-31
| | | | | | | | | | This adds a --remount/-R option to fstabinfo. This new option works like --mount, but it adds the necessary options to remount a file system that is already mounted. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com> X-Gentoo-Bug: 401573 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401573
* Complain about loading /etc/conf.d/rcWilliam Hubbs2012-01-30
| | | | | | | | Openrc was quietly loading this file if it existed and this was causing some issues, so now openrc loads the file and complains about it. Hopefully the warning message will convince everyone to remove this file and migrate the settings to @SYSCONFDIR@/rc.conf where they belong.