summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* release openrc-0.9.5openrc-0.9.5William Hubbs2011-11-23
|
* Fix typoWilliam Hubbs2011-11-23
|
* Migrate /var/lock and /var/run to /run for linux systemsWilliam Hubbs2011-11-23
|
* Revert "Revert "fsck: add the ability to specify mount points to check""William Hubbs2011-11-22
| | | | | | This reverts commit 5a3599df8a15b1212857335101c9d31fb19e87e2. After review, I am bringing this back to the tree.
* pass the per-interface metric to resolvconfWilliam Hubbs2011-11-22
| | | | | | Reported-by: Alon Bar-Lev <alon.barlev@gmail.com> x-Gentoo-Bug: 364907 x-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?364907
* CGroups: create the openrc cgroup hierarchyWilliam Hubbs2011-11-20
| | | | | | Openrc will create a cgroup hierarchy called openrc which will have all services it starts and all subsystems attached to it. If you need other groups/hierarchies, please use libcgroup.
* rc: usage: do not output non-printable short options in usageMike Frysinger2011-11-19
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rc: usage: optimize help string alignment output a littleMike Frysinger2011-11-19
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rc: fix style around case_RC_COMMON_GETOPTMike Frysinger2011-11-19
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make shell math operations style more succulentMike Frysinger2011-11-19
| | | | | | | | | | | Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* CGroups: /sys/fs/cgroups should be a tmpfsWilliam Hubbs2011-11-18
| | | | | | | | | | | The kernel documentation states that a cgroup file system should not be mounted here, but a tmpfs. This also means that we should not create a group for each process, but we should allow the user to specify which group a process should be assigned to. The rc_cgroup variable will be used for this purpose. For more information, see /usr/src/linux/Documentation/cgroups/cgroups.txt.
* Add MKSTATICLIBS switchWilliam Hubbs2011-11-18
| | | | | | | | | The MKSTATICLIBS switch, which defaults to yes, controls whether or not static libraries are built and installed. Reported-by: Agostino Sarubbo <ago@autistici.org> x-Gentoo-Bug: 378267 x-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=378267
* CGroups: fix group initializationWilliam Hubbs2011-11-18
| | | | | Make sure cpuset.cpus and cpuset.mems exist in the parent group before attempting to copy them to the new group.
* CGroups: finish initializing the CGroupWilliam Hubbs2011-11-17
| | | | | | When a CGroup is created, we need to copy cpuset.cpus and cpuset.mems from the new group's parent into the new group before we can attach any processes to it.
* Change RC_CGROUP to lower caseWilliam Hubbs2011-11-17
|
* Add CGroup supportPatrick Lauer2011-11-17
| | | | | X-Gentoo-Bug: 390297 X-Gentoo-Bug: http://bugs.gentoo.org/show_bug.cgi?id=390297
* Fix compile warningWilliam Hubbs2011-11-17
|
* on_ac_power: Fix AC adapter presence recognitionAlessio Ababilov2011-11-17
| | | | | | | | | On several machines, a file corresponding to AC adapter can be named ADP1. The on_ac_power script checked for AC*, which does not match ADP1, so the script always considered the adapter to be off. X-Gentoo-Bug: 380933 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380933
* add support for extra_stopped_commandsWilliam Hubbs2011-11-16
|
* Deprecate the network and staticroute scriptsWilliam Hubbs2011-11-16
| | | | | | These scripts are not supported, and they have several major design issues such as not being able to stop, start or allow a dependency on a single interface.
* mountinfo: Do not error out if realpath failsMike Frysinger2011-11-15
| | | | | | Reported-By: Dennis Schridde <devurandom@gmx.net> X-Gentoo-Bug: 383333 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=383333
* net.example: Fix the bridge configuration exampleWilliam Hubbs2011-11-14
| | | | | | | | | | The example of how to configure the bridge was invalid. It showed invalid timer settings along with turning off stp. This update shows how to turn on stp and set the timer settings to the defaults. Reported-by: Sergey S. Starikoff < Ikonta@yandex.ru> X-Gentoo-Bug: 389209 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=389209
* net example: fix up grammarMike Frysinger2011-11-12
| | | | | | | X-Gentoo-Bug: 390295 X-Gentoo-Bug-URL: https://bugs.gentoo.org/390295 Reported-by: Patrick Lauer <patrick@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ssd: fix building when SYS_ioprio_set is missingMike Frysinger2011-11-09
| | | | | | Older glibc's might not provide this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add auto detection for lxcWilliam Hubbs2011-11-07
| | | | | | Reported-by: Francesco Riosa <francesco+gentoo_bugzilla@pnpitalia.it> X-Gentoo-Bug: 384151 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=384151
* Revert "fsck: add the ability to specify mount points to check"William Hubbs2011-11-06
| | | | | | | This reverts commit e3b39a677b535bc2676a939519906f6b2dbce6f4. I misunderstood and thought this was ready to go in the tree, but it was on a remote branch only for a review.
* fsck: add the ability to specify mount points to checkRobin H. Johnson2011-11-06
|
* Make sure we load external scripts before using eerrorWilliam Hubbs2011-11-02
| | | | | | Reported-by: Jochen Schlick <josch06@gmail.com> X-Gentoo-Bug: 388715 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=388715
* Use pattern rules instead of suffix rulesWilliam Hubbs2011-10-29
| | | | | | Rework the makefiles to use pattern rules instead of suffix rules. This is the preferred way to write implicit rules according to the gnu make manual.
* Add macvlan supportStef Simoens2011-10-26
| | | | | X-Gentoo-Bug: 384029 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=384029
* Add support for automounting configfs and cgroupfsAlexey Shvetsov2011-10-26
| | | | Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
* further clean up OS differences in makefilesMike Frysinger2011-10-20
| | | | | | No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make variable references in Makefiles consistentWilliam Hubbs2011-10-19
| | | | | | Some variable references were written as $(foo), but the majority were written as ${foo}. This commit changes all of the variable references to using braces.
* consolodate MakefilesWilliam Hubbs2011-10-18
| | | | | | | | | | The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
* fix random typosMike Frysinger2011-10-16
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Release OpenRC-0.9.4openrc-0.9.4Christian Ruppert2011-10-16
| | | | | X-Gentoo-Bug: 382299 X-Gentoo-Bug-URL: https://bugs.gentoo.org/382299
* Bug #385971: fix net.example referenceRobin H. Johnson2011-10-08
| | | | | | | | | | Add in wildcards for reference to net.example, so that users can find it regardless of version and dodoc compression settings. X-Gentoo-Bug: 385971 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=385971 Reported-By: Serkan Kaba <serkan@gentoo.org> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/vlan: respect txqueuelen/mac/broadcast/mtu options during creation.Robin H. Johnson2011-10-07
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Small style changeWilliam Hubbs2011-10-02
|
* Make dmesg log optionalChristian Ruppert2011-09-27
| | | | | | Reported-by: Patrick <gentoo@feystorm.net> X-Gentoo-Bug: 384485 X-Gentoo-Bug-URL: https://bugs.gentoo.org/384485
* Shutdown VLAN's before the actual/parent interfaceChristian Ruppert2011-09-21
| | | | | | | | | | | Make sure the VLAN interfaces as well as its rules will be removed prior to the actual/parent interface. The VLAN configs are gone in vlan_post_stop() already so we have to use vlan_pre_stop() instead. Reported-by: Bernd Bednarz <bernd.bednarz@avira.com> X-Gentoo-Bug: 380603 X-Gentoo-Bug-URL: https://bugs.gentoo.org/380603
* Refactoring of commit bf49e59e3eb4fe12167812bc1b4531742eddc383Christian Ruppert2011-09-21
| | | | Make sure the RPDB rules will be removed.
* Add a new helper functions for _{flatten,get}_arrayChristian Ruppert2011-09-21
| | | | | | | | | | | | | | | A new helper function (_array_helper) since both, the _flatten_array and _get_array function share partially the same code. We also reduce multiple whitespace to a single space, remove leading newlines as well as skipping "empty" lines. This makes the data returned by _{flatten,get}_array much nicer than before. It also fixes bug 366677 where net-tools having trouble with the whitespace mentioned above. iproute2 was not affected. Reported-by: Andrew Maltsev <am@ejelta.com> X-Gentoo-Bug: 366677 X-Gentoo-Bug-URL: https://bugs.gentoo.org/366677
* Don't do anything if the interface doesn't existYun Zheng Hu2011-09-19
| | | | | | | | iproute2_post_stop() does now check if the network interface still exist. Reported-by: Yun Zheng Hu <hu@fox-it.com> X-Gentoo-Bug: 379575 X-Gentoo-Bug-URL: https://bugs.gentoo.org/379575
* procfs: simplify the binfmt_misc mount checkMike Frysinger2011-09-18
| | | | | | | Replace the `mountinfo` exec with a file test of the register file which we rely on later anyways. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* procfs: drop nfsd mountingMike Frysinger2011-09-18
| | | | | | | | | The dedicated nfs init.d script takes care of mounting this when necessary, and we want it there since mounting it isn't terribly useful if you can't actually start up the nfs daemons (which the nfs-utils package provides). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* procfs: load config files from binfmt.d into /proc/sys/fs/binfmt_misc/registerMike Frysinger2011-09-18
| | | | | | | | | This is a KISS version. Let's see where we go from here in terms of complexity. Maybe nowhere! X-Gentoo-Bug: 382723 X-Gentoo-Bug-URL: https://bugs.gentoo.org/382723 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* runscript: simplify livecd-functions.sh loadingMike Frysinger2011-09-18
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix the Internal Field Seperator when using ethtoolGilles Oivier2011-09-18
| | | | | | | | | | | | ethtool.sh didn't reset the Internal Field Seperator (IFS) properly. It now does, by storing the old IFS to OIFS, which will be used later in the for loop. It also fixes the "ethtool_ring_<if>" option. Reported-by: Alois Schmid <alois.schmid@gmx.de> X-Gentoo-Bug: 368525 X-Gentoo-Bug-URL: https://bugs.gentoo.org/368525
* Improve missing openvpn/usermode-utilities warning messageChristian Ruppert2011-09-17
| | | | as OpenRC can be used on other distributions as well.