aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-06Bug 349571 - SELinux fixes for bootmiscChris 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.
2011-01-05Make sure old rc_sys code never runs if the rc_sys variable exists.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-01-05Update manpage for mention of rc_sys purpose.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-01-05Remove broken automatic LXC subsystem detection.Robin H. Johnson
Any system using cgroups was being detected as an LXC system. This was triggering on OpenVZ under RHEL6 as well as the "automated per tty task groups" as discussed on the LKML. All LXC users should now switch to the new rc_sys variable introduced in the previous patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-01-05Implement explicit selection of subsystem types.Robin H. Johnson
- Fixes bugs #347583, #349389, both of which were triggered by cgroups being detected as the LXC subsystem type. - Makes it much easier to select "prefix" type. - "rc -S" will now print a warning if you have not configured rc_sys in /etc/rc.conf - All other semantics of rc_sys are unchanged in this patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-01-05Document the order of the services within rc-status output.Robin H. Johnson
2010-12-28bug #349443: remove -openvz keyword from sysctl serviceWilliam Hubbs
Openvz supports sysctl settings which are different from the host settings, so allow the sysctl service to run for openvz systems.
2010-12-15Move the ip rule extra output to verbose mode only, and support verbose ↵Robin H. Johnson
output on addresses and routes.
2010-12-15Fix pointopoint->peer for iproute.Robin H. Johnson
2010-12-15Fix pointopoint typo in old ifconfig setup.Robin H. Johnson
2010-12-11Bug #266659: we really need to allow peer, pointtopoint in parsing config lines.Robin H. Johnson
2010-12-12Final documentation cleanup for updated bridge code.Robin H. Johnson
Specifically document how to handle the case of explicitly starting a bridge and then dynamically adding interfaces to it. brctl_br0='' bridge_add_eth0='br0'
2010-12-11Add "after lvm modules" as Flameeyes reports that LVM is starting too late ↵Robin H. Johnson
on his system in some cases.
2010-12-11Merge support for Routing Policy Database (RPDB)Robin H. Johnson
This can be used for multi-homed connections and other advanced routing in Linux. See the documentation links for more information about doing this in linux. The code was a originally pure addon into the conf.d/net files, written in mid-2004 for doing multi-homing between two internet connections. I have finally cleaned this up and integrated it. Thanks to Jonathan Kwan for giving me the original impetus to develop this for Gentoo (it was his dual internet connections...). In the intervening years, it was a example of postup/postdown in the net.example file, however that suffered from a few corner case issues. If you were using the code from net.example, please see the updated section 'Advanced Routing' on syntax, and drop your old function blocks. Additionally, note that the rules added are now directly saved for removal when the interface is taken down.
2010-12-11Revamp of bridging code.Robin H. Johnson
- Use sysfs to read bridge information from the system instead of parsing the brctl outputs. - Allow setting of all bridge configuration parameters using new sysfs methods, modelled after bonding configuration. Also works for per-port bridge interface parameters. - Document pre-starting an empty bridge for dynamic add. - Check for interface existence before adding to bridge. - Should fix bug #293046, #309185.
2010-12-07release openrc-0.6.8William Hubbs
2010-12-07bug 232347: fix netmount to respect _netdev optionWilliam Hubbs
The _netdev option in fstab on linux systems indicates that a filesystem should only be mounted if the network is available. This commit fixes netmount to support this.
2010-12-06Bug #345281: If wpa_supplicant is built w/ USE=dbus, we need to start after ↵Robin H. Johnson
DBus is up.
2010-12-03fix selinux context for rc-svcdir (bug #347503)Robin Johnson
2010-12-03release openrc-0.6.7William Hubbs
2010-12-03Avoid race condition in runscript (bug #319865)Thomas Pfaff
Under normal conditions, runscript creates one child and waits for its termination, which is signaled by a pipe write from the SIGCHLD sighandler. When running killprocs however more than one SIGHCLD signal is generated, at least on all of my amd64 boxes running on real hardware and in vmware. When the first SIGCHLD occurs svc_exec leaves the loop and closes the pipe. Subsequent SIGCHLDs during the close can lead to a race condition and create an EBADF error in the pipe write (pipe is closed but the file handle is still != -1). We avoid this by blocking SIGHCHLD during the pipe close.
2010-11-30release openrc-0.6.6William Hubbs
2010-11-30localmount should only use the -O option for linux systemsWilliam Hubbs
This fixes bug #347307.
2010-11-26send error output from chattr command to /dev/nullWilliam Hubbs
This is for bug #346659.
2010-11-21release openrc-0.6.5William Hubbs
2010-11-18Revert "allow ifplugd to work on wireless interfaces"William Hubbs
This reverts commit 4ea75dd1d6c1e475f103f027fd05861d237add4d. This caused a regression, see bug #345795. Ifplugd is only designed to support wireless interfaces that use the older wireless extentions.
2010-11-16remove "use hostname" from sysctl for bsd systemsWilliam Hubbs
2010-11-15do not mount local file systems with the _netdev option in fstabWilliam Hubbs
This fixes #344947.
2010-11-15release openrc-0.6.4William Hubbs
2010-11-10remove support for local.start and local.stop for bug #343709William Hubbs
The openrc ebuild now migrates these files to /etc/conf.d/local, so we do not need to support them.
2010-11-05add warnings about local.start and local.stop for bug #343709William Hubbs
We need to warn users that they should be using /etc/conf.d/local instead of /etc/conf.d/local.start and /etc/conf.d/local.stop. This adds those warnings.
2010-11-01update documentation for rc_interactiveWilliam Hubbs
rc_interactive is automatically disabled if rc_parallel is set to YES. Update the documentation in rc.conf to reflect this. This fixes bug #327305.
2010-10-31ensure bonding interface is down before we attempt to configure, alsoJory A. Pratt
mode has to be configure before any other arguements are passed. Thanks Ed Wildgoose <gentoo@wildgooses.com> for patch.
2010-10-31Allow 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-28correction for unmounting volumes with weird characters, thanks BrantJory A. Pratt
Gurganus <brant@gurganus.name>
2010-10-27allow net_fs_list to be extended but not replacedWilliam Hubbs
This fixes bug #342825.
2010-10-23remove 'use hostname' bug 340991, Thanks DiegoJory A. Pratt
2010-09-30surpress output of loadkeys, fix setfont path checkJory A. Pratt
2010-09-14allow ifplugd to work on wireless interfacesWilliam Hubbs
this fixes bug #335494.
2010-09-02release openrc-0.6.3William Hubbs
2010-09-02Revert "fix bug 266395"William Hubbs
This reverts commit 1a188f8f725186b2c2d6d7c67e79c2ff5ea9d05e. This revert fixes bug #334663.
2010-08-22Fix for make-3.82 breakage.Jory A. Pratt
2010-08-19release openrc-0.6.2William Hubbs
2010-08-19fix detection of renamed vlan interfacesWilliam Hubbs
This fixes bug 327059, thanks to Jonathan for reporting this and for the patch.
2010-08-18fix bug 266395William Hubbs
Do not stop wpa_supplicant or wpa_cli if they are in the background. Thanks to Slava Gorbunov for the patch.
2010-08-13Fixes bug #332383. Thanks Lutz Heermann.Anthony G. Basile
2010-08-13Fix bug #332181. Thanks Lutz Heermann.Anthony G. Basile
2010-08-10update consolefont/keymap to include -lxc in keywordsJory A. Pratt
2010-08-09allow ip to be in /sbin or /binWilliam Hubbs
This makes it possible for the "ip" program in iproute2 to be installed in /sbin or /bin.
2010-07-28fix bug #330173William Hubbs
This fixes a typo in the comments in net.example.