summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* release openrc 0.8.1openrc-0.8.1William Hubbs2011-04-12
|
* start loopback interface before mtabWilliam Hubbs2011-04-11
| | | | | X-Gentoo-Bug: 292894 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=292894
* remove "after bootmisc" dependency from loopback interfaceWilliam Hubbs2011-04-10
|
* bring up the loopback interface earlierWilliam Hubbs2011-04-10
| | | | | | | | | | | | | | | For most situations, the loopback interface can depend on root instead of localmount, so this patch makes that happen. It also adds comments to the net.example files explaining when a user might want to change this and giving an example. I would like to thank Robin Johnson for the original patch and suggested examples. X-Gentoo-Bug: 292894 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=292894 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* add fallback_routes support to network scriptsWilliam Hubbs2011-04-09
| | | | | | | | | | | | Add support for optional fallback_routes_* variables in the network scripts. This is similar to the fallback_route_* support in baselayout-1. However, if you do not have fallback_routes set for an interface but you do have routes set, that setting will be used, so you do not need this variable unless you want the fallback routes to be different from the primary routes. X-Gentoo-Bug: 250978 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=250978
* typo fixWilliam Hubbs2011-04-09
| | | | | X-Gentoo-Bug: 217999 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=217999
* clarify documentation for -timeout keywordWilliam Hubbs2011-04-08
|
* do not timeout waiting for bootmisc to completeWilliam Hubbs2011-04-08
| | | | | | | | It is possible for bootmisc to take longer than 60 seconds to complete and services should not time out waiting for it. X-Gentoo-Bug: 360405 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360405
* fix typo in ethtool.shWilliam Hubbs2011-04-07
| | | | | | | This was causing the ethtool interface to not work. X-Gentoo-Bug: 360481 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360481
* fix typo in staticrouteWilliam Hubbs2011-04-07
| | | | | X-Gentoo-Bug: 362205 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=362205
* remove hard coded directory paths from link flagsWilliam Hubbs2011-04-01
| | | | | | | | Currently, we do not see a reason for these, and it causes an issue for cross compilation. X-Gentoo-Bug: 361465 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=361465
* Bug #360963: Improve interface naming/set_name_type documentation on new ↵Robin H. Johnson2011-03-29
| | | | | | | | | vlan code. This is primarily for users with set_name_type settings from previous sysadmins can easily see what changes to make. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* remove bashism from ethtool moduleMarc Joliet2011-03-27
| | | | | X-Gentoo-Bug: 360367 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=360367
* bootmisc: clean up tmpdir cleaningMike Frysinger2011-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that the `cd` into the $dir actually happened. This we don't have to worry about relative paths deleting stuff it shouldn't. This step shouldn't fail, but who knows, and better to be sane than to wipe out someone's valuables. When wiping, automatically fall back to a dedicated `find` if the initial `rm` failed on us. This should help with the speed issues related to the later `find`. Have the later find only search the top level allowing `rm` to walk the directory contents. This means that -xdev no longer applies, but since the earlier `rm` wasn't doing -xdev either and no one has complained thus far, let's assume it isn't an issue. Also convert to the -exec...+ form so that we don't have to worry about long argument lists, and add -- to the `rm` that was previously missing. In practice, this shouldn't matter as we've already deleted all those files, but better safe than sorry. When cleaning, since we've already done a `cd` into the $dir, no point in prefixing all the paths with $dir too. Go with the relative loving. Signed-off-by: Mike Frysinger <vapier@gentoo.org> X-Gentoo-Bug: 359831 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=359831
* rework test for mounted /procWilliam Hubbs2011-03-24
| | | | | | | | | | | | | | | | | The previous test assumed that we could always rely on the minor fault counter to change between reads of /proc/self/stat, but we found that this is not the case. The new test compares two reads of /proc/self/environ for which we have set the same environment variable to two different values. If the comparison shows the two reads have the same contents, we know that /proc is not working. I would like to thank Robin Johnson and Mike Frysinger for their input for this patch. X-Gentoo-Bug: 348416 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=348416
* termencoding needs root to be mounted read/writeWilliam Hubbs2011-03-23
| | | | | X-Gentoo-Bug: 360215 X-Gentoo-Bug-URL: http://bugs.gentoo.org/360215
* release openrc-0.8.0openrc-0.8.0William Hubbs2011-03-22
|
* update documentation for windowkeys variableWilliam Hubbs2011-03-22
| | | | | | | | The documentation makes a recommendation for the setting but does not state the purpose of the variable. X-Gentoo-Bug: 357869 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357869
* do not delete addresses when stopping a ppp interface.Ed Wildgoose2011-03-21
| | | | | | | | This is important in situations where ppp is being used in a demand dialing setup. X-Gentoo-Bug: 359069 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=359069
* update documentation for rc_sysWilliam Hubbs2011-03-21
| | | | | | | | | | | Originally the plan was to deprecate this code, but this will not be happening. There are some subsystems which can still be autodetected, so we are keeping this code and allowing users to override the automatic detection with this variable as well as set it to other subtypes we cannot autodetect. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247
* net: bonding: avoid using bash string replaceMike Frysinger2011-03-18
| | | | | | | X-Gentoo-Bug: 359311 X-Gentoo-Bug-URL: http://bugs.gentoo.org/359311 Reported-by: Raffaello D. Di Napoli <fastijum@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rc_sys: let default behavior be automagicMike Frysinger2011-03-14
| | | | | | | | | | | | The default rc_sys behavior was changed to always require manual intervention by users. This pretty much breaks all of the diff system variants out there if people don't explicitly edit their rc.conf file ahead of time. We should have things work "out of the box" as much as possible and reasonable. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/357247 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* savecache should not fail if we are shutting downWilliam Hubbs2011-03-06
| | | | | | | | Since mount-ro needs to run unconditionally, we need to have savecache report that it ran successfully when the system is shutting down. X-Gentoo-Bug: 356393 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=356393
* remove references to the migration guideWilliam Hubbs2011-03-05
| | | | | | The openrc code base is not gentoo specific, so I feel that we should not refer to the migration guide in the comments inside the configuration files.
* allow default rc_sys value to be set at build timeWilliam Hubbs2011-03-05
| | | | | | | | | | | This allows the default value of rc_sys to be set when openrc is compiled. This will allow openrc to be installed, e.g. on vserver guests and will allow them to be rebooted without the need to edit rc.conf. This patch is a combined effort between myself and Robin Johnson. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247
* fix typoWilliam Hubbs2011-03-03
|
* net/ethtool: official interface for changing ethtool params (bug #195479)Robin H. Johnson2011-02-22
| | | | | | | | | | Implement a consistent interface for changing ethtool parameters, as suggested in bug 195479. All variable names are based on the long option to ethtool to set each group of parameters. Multiple entries seperated by newlines are permitted for variable values. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 195479
* Update README.net to note that it represents newnet only.Robin H. Johnson2011-02-22
|
* net/iproute2: Pass required explicit -6 for IPv6 tunnels (#347657)Robin H. Johnson2011-02-21
| | | | | | | | Tunnel modes ipip6 and ip6ip6 require an explicit family selection for the ip tunnel call. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 347657
* net/vlan: update to use modern iproute2 interfaceRobin H. Johnson2011-02-21
| | | | | | | | | | | | This replaces the vlan setup code that previously used the old vconfig binary with a new implementation using the iproute2 interface. vconfig does not handle many of the newer setups. No automatic migration path is provided, as altering the configuration is non-trivial. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Written-by: Guillaume Castagnino <casta@xwing.info> X-Gentoo-Bug: 346365
* new implementation of applet optionWilliam Hubbs2011-02-16
| | | | | | | | | | This reworks the implementation of the --applet option so that it is processed in run_applets() and does not require two calls to the getopts_long() function. It is based on code by Robin Johnson and Chris Richards. X-Gentoo-Bug: 351712 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=351712
* make version option commonWilliam Hubbs2011-02-14
| | | | | This reworks the code for the version option so that it is part of the parser loop and is a common option to all applets.
* Set unicode mode immediately at boot without consolefontSebastian Thorarensen2011-02-14
| | | | | | X-Gentoo-Bug: 354793 X-Gentoo-Bug-URL: http://bugs.gentoo.org/354793 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* local: quote script names to handle spacesMike Frysinger2011-02-14
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: filter valid parisc relocsMike Frysinger2011-02-14
| | | | | | | | Parisc generates a few relocs against internal symbols which are OK. X-Gentoo-Bug: 258913 X-Gentoo-Bug-URL: http://bugs.gentoo.org/258913 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hwclock: fix typo from an earlier style commitMike Frysinger2011-02-14
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix bug #354805Anthony G. Basile2011-02-14
|
* fix typo in iproute2 moduleChristian Wetzig2011-02-12
| | | | | X-Gentoo-Bug: 354511 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=354511
* set timezone if RC_HCTOSYS is not setWilliam Hubbs2011-02-09
| | | | | | | | We need to set the timezone for the system clock even when we allow the kernel to set the time. X-Gentoo-Bug: 248131 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=248131
* fix symlink targetWilliam Hubbs2011-02-07
| | | | | | The target for the symlinks in ${SBINDIR} (the same directory as the rc binary) was "rc". This is not correct; the target should be ${SBINDIR}/rc instead.
* bridge.sh: use correct POSIX test, = not ==Christian2011-02-05
| | | | | X-Gentoo-Bug: 353124 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124
* rework pam, ncurses and termcap include filesWilliam Hubbs2011-02-04
| | | | | | | This allows error checking inside the included files instead of either including the appropriate file or a blank file. Also the blank file named .mk gets removed by this change.
* remove BSD make code to handle including .dependWilliam Hubbs2011-02-04
|
* use make conditional for -cstd flagWilliam Hubbs2011-02-04
| | | | | cc.mk was using ashell call to determine the value of the cstd variable. This reworks that code so it uses a make conditional.
* remove unnecessary shell callsWilliam Hubbs2011-02-04
| | | | | | The main makefile, init.d/Makefile and src/librc/Makefile all contain several shell calls which can be handled as make conditionals. This switches them to conditionals.
* selinux: replace symlinks with wrapper scriptsChris Richards2011-01-31
| | | | | | | | This needs to be done on selinux systems so the proper context can be set for each rc applet. X-Gentoo-Bug: 351712 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=351712
* use immediate evaluation for shell callsWilliam Hubbs2011-01-31
| | | | | | | | This reworks the shell calls in the makefiles to use immediate evaluation and should improve parallel building. X-Gentoo-Bug: 289264 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264
* only support building with GNU MakeWilliam Hubbs2011-01-31
| | | | | | | | Update the documentation to state that openrc only works with gnu make. This needs to be done in order to address the parallel build issue. X-Gentoo-Bug: 289264 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264
* add option to disable setting the system clock on boot for linux systemsWilliam Hubbs2011-01-24
| | | | | | | | | | | This commit adds the clock_hctosys option which is used to skip setting the system clock on boot and can be used with a modern linux kernel which has the CONFIG_RTC_HCTOSYS option set to y. I would like to thank Dimitris Mandalidis for the report and for the patch to baselayout-1 on which my changes to openrc are based. X-Gentoo-Bug: 248131 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=248131
* change local to run programsWilliam Hubbs2011-01-20
| | | | | | | | | | | | | This changes the local service so that it will run programs located in @sysconfdir@/local.d instead of the local_start and local_stop functions from @sysconfdir@/conf.d/local. The advantage for the user is that these programs are not part of the openrc package, so the user does not have to worry about them being overwritten when openrc is upgraded. X-Gentoo-Bug: 351465 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=351465