summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* release openrc-0.9.7openrc-0.9.7William Hubbs2011-12-09
|
* Integrate migrate-run into bootmiscWilliam Hubbs2011-12-03
| | | | | | | | | The migrate-run service was hanging when parallel startup was enabled because of its dependencies. This integrates the logic for this service into bootmisc, which will avoid the issues with parallel startup. I would like to thank Robin H. Johnson <robbat2@gentoo.org> for his input on this patch
* migrate-run: fix ln calls and migrate directories separatelyWilliam Hubbs2011-11-27
| | | | | | | | This is based on a patch submitted by AlphatPC@gmail.com. Reported-by: AlphatPC@gmail.com X-Gentoo-Bug: 391945 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=391945
* Make migrate-run more verboseWilliam Hubbs2011-11-26
|
* Remove rc_parallel from rc.confWilliam Hubbs2011-11-26
| | | | | | | | | | | | | rc_parallel has never been considered a stable feature of openrc. To that end, I am removing the documentation for this feature from rc.conf. It is still available, but bugs against it are not considered stable blockers, and it should only be used currently by developers and users who are willing to test the feature. X-Gentoo-Bug: 391945 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=391945
* urandom: move seed from /var/run to /var/libMike Frysinger2011-11-26
| | | | | | We want the seed to be preserved across reboots, so move it to /var/lib. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fsck: fix typo in fsck mount point supportMike Frysinger2011-11-26
| | | | | | | | | Previous commit e3b39a677b535bc2 missed adding a "[" to one of the tests. Reported-by: Torsten Veller <tove@gentoo.org> x-Gentoo-Bug: 391941 x-Gentoo-Bug-URL: http://bugs.gentoo.org/391941 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* release openrc-0.9.6openrc-0.9.6William Hubbs2011-11-25
|
* net.lo: fix typo in previous math commitMike Frysinger2011-11-23
| | | | | | | x-Gentoo-Bug: 391671 x-Gentoo-Bug-URL: http://bugs.gentoo.org/391671 Reported-by: Duncan <1i5t5.duncan@cox.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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