summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* net/vlan: Fix mtu settingRobin H. Johnson2011-12-12
| | | | | | | | Fix minor shell typo that broke setting mtu on vlans. X-Gentoo-Bug: 392971 X-Gentoo-Bug-URL: https://bugs.gentoo.org/392971 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/tuntap: fix return code when tools can't be foundWilliam Hubbs2011-12-13
| | | | | This module should return failure if iproute2, openvpn or tunctl cannot be found. Before it was returning success; this fixes the issue.
* Tuntap: add iproute2 supportSalah Coronya2011-12-12
| | | | | | | | This patch was modified by William Hubbs <williamh@gentoo.org> to document the new usage in net.example. X-Gentoo-Bug: 394281 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=394281
* net/ifconfig, net/iproute2: admin/oper state check functionsRobin H. Johnson2011-12-12
| | | | | | | | | | | Provide consistent methods using iproute2/ifconfig to check operational and administrative up/down state of interfaces. This is not the same as ethtool's "Link detected" field, which is the state of the layer 2 medium. TODO: How to check operational state in BSD? Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/bonding: ensure slave interfaces are down before adding.Robin H. Johnson2011-12-12
| | | | | | | | | | | | The old ifenslave binary forcibly set new slave interface to down before adding into the kernel, as a way of show it's version to the kernel. We need to duplicate this so that the kernel doesn't think it's an old ifenslave version using the bonding setup interface. X-Gentoo-Bug: 391881 X-Gentoo-Bug-URL: https://bugs.gentoo.org/391881 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Thanks-to: Yun Zheng Hu <hu@fox-it.com>
* Network: start interfaces after dbusWilliam Hubbs2011-12-12
| | | | | | | | This is needed to allow auto-connect at boot. Reported-by: David J Cozatt <ygdrasil@comcast.net> X-Gentoo-Bug: 390955 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=390955
* fix compile errorWilliam Hubbs2011-12-11
| | | | | | | | | A variable used in the previous commit was actually removed in another commit; that is why I didn't catch it. Reported-by: Duncan < 1i5t5.duncan@cox.net> X-Gentoo-Bug: 394369 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=394369
* Allow init scripts to be executed with a relative pathWilliam Hubbs2011-12-11
| | | | | | | | | | This was a regression that was caused by the fix for http://bugs.gentoo.org/show_bug.cgi?id=350910. I am reverting the commit that we said fixed that bug and re-opening it. Reported-By: Nathaniel <nathaniel@paust.us X-Gentoo-Bug: 392457 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392457
* ip6to4: set correct subnet maskWilliam Hubbs2011-12-09
| | | | | | | | The correct setting for this is /48. Reported-by: MaratIK <marat.buharov@gmail.com> X-Gentoo-Bug: 392723 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392723
* iproute2: set a default broadcast address if none is specifiedWilliam Hubbs2011-12-09
| | | | | | Reported-by: Spooky Ghost <spookyghost@blueyounder.co.uk> X-Gentoo-Bug: 392593 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392593
* 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>