summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* release openrc-0.8.3openrc-0.8.3William Hubbs2011-06-19
|
* fix comment in conf.d/consolefontWilliam Hubbs2011-06-19
| | | | | X-Gentoo-Bug: 368277 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=368277
* sysctl: do not make unknown keys fatalMike Frysinger2011-06-18
| | | | | | | | | If unknown keys are found, currently sysctl would add all of its valid settings, but then leave itself marked as "stopped". Since this is not really what we want, make unknown keys a non-fatal error. Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Warn if deprecated commandline options are used for start-stop-daemonChristian Ruppert2011-06-05
|
* fix underquoting of wrapped color stubs of exit statusMike Frysinger2011-06-03
| | | | | | | | X-Gentoo-Bug: 369911 X-Gentoo-Bug-URL: http://bugs.gentoo.org/369911 Reported-by: Steve Dibb <beandog@gentoo.org> Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clean up gitignore filesMike Frysinger2011-06-03
| | | | | | | | | Rather than listing explicit object files, ignore all of them in the whole tree. Also ignore patch/gdb related files throughout. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Don't set hostname on containers.Diego Elio Pettenò2011-06-02
| | | | | | | LXC already provides a means to set the utsname/hostname of the system, so avoid overriding the user's configuration through hostname here. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
* rc-update: sort "show" outputMike Frysinger2011-05-28
| | | | | | X-Gentoo-Bug: 367305 X-Gentoo-Bug-URL: http://bugs.gentoo.org/367305 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cc.mk: move debug.mk out of end MakefilesMike Frysinger2011-05-28
| | | | | | | | | Since we always want debug.mk whenever we include cc.mk, move the include out of the Makefiles and into cc.mk itself. This also fixes an include order bug in rc/Makefile where debug.mk is included before cc.mk and breaks the default CFLAGS setup in cc.mk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cc.mk: enable -g by defaultMike Frysinger2011-05-28
| | | | | | Can do no harm! Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* librc: tweak style: foo () -> foo()Mike Frysinger2011-05-28
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rc: delete now unused local "i" variableMike Frysinger2011-05-28
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix dirname calls in runscriptChristian Ruppert2011-05-23
| | | | | | runscript will try to get the dir and basename of a file/link in case it contains at least one slash. This patch gives a temporary copy of the path to the dirname() function since dirname() can modify its argument.
* fix keymaps config file to show the correct variable nameWilliam Hubbs2011-05-17
| | | | | X-Gentoo-Bug: 367283 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=367283
* only warn about /run if it existsMike Frysinger2011-05-16
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop rc_sys funcs from removal scheduleMike Frysinger2011-05-16
| | | | | | | | | | | | The automagic detection isn't really problematic, and we allow people to easily override this when detection isn't possible. On the other hand, if people haven't configured rc_sys in their rc.conf, the lack of auto detection can easily lead to an unbootable system. Further, we're attempting to have a stable shared library ABI, which dropping funcs from is not feasible. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* net:bonding small style change for readabilityWilliam Hubbs2011-05-16
|
* Do not add slaves to bond interface if they are already addedKfir Lavi2011-05-16
| | | | | | X-Gentoo-Bug: 366653 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=366653 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* net: ccwgroup: forward port changes from baselayout-1Mike Frysinger2011-05-16
| | | | | | | | Quite a bit of work happened in baselayout-1 on the ccwgroup module, but seems it didn't make it into openrc. So forward port all the existing code so we can work with more than just qeth and layer2 options. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* do not run services if openrc did not boot the systemWilliam Hubbs2011-05-11
| | | | | X-Gentoo-Bug: 364159 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=364159
* fix rc_service_extra_commands return valueJames Le Cuirot2011-04-27
| | | | | | | | | If there were no extra commands, rc_service_extra_commands returned a list containing a single empty string. This changes that to return an empty list, which is more consistent with what you would expect. X-Gentoo-Bug: 360013 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360013
* fix list returned by rc_service_extra_commandsWilliam Hubbs2011-04-27
| | | | | | | | | | | | | | This function was returning the setting of the variable $opts, which is not correct. $opts was used in baselayout-1, but it is replaced by $extra_commands and $extra_started_commands in openrc. This does not appear to break backward compatibility since this function does not appear to be used anywhere in the openrc code. Thanks to James Le Cuirot for the original patch. X-Gentoo-Bug: 360013 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360013
* change udhcpc support to busybox udhcpcWilliam Hubbs2011-04-26
| | | | | | | | | | | This updates the udhcpc support to use busybox's udhcpc instead of the stand alone version. I would like to thank jackieku <kjackie@gmail.com> for assisting with this update. X-Gentoo-Bug: 205286 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=205286
* add back the eend command in start/stop for local serviceWilliam Hubbs2011-04-21
| | | | | | | | | | This was added back due to a user request. It will always be on a line of its ownbecause I'm considering adding more verbose info messages to local that show when each service is run if local is run with the -v option. X-Gentoo-Bug: 363343 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363343
* [oldnet] Bug #363959: Improve plug_timeout ifplugd/netplugd code.Robin H. Johnson2011-04-19
| | | | | | | | - Add support for a global plug_timeout setting to match the documentation. - Update the documentation to also show per-interface configuration. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* fix permissions for /run/lockWilliam Hubbs2011-04-19
| | | | | If /run/lock is a directory, set the ownership and permissions for it, whether or not we created the directory.
* Don't unmount /run on shutdownLars Wendler2011-04-18
| | | | | | | This is needed so that udev will stop properly on shutdown. X-Gentoo-Bug: 363971 X-Gentoo-Bug-Url: http://bugs.gentoo.org/show_bug.cgi?id=363971
* Add support for /run directoryAmadeusz Żołnowski2011-04-18
| | | | | | | | This is a new directory for storing volatile runtime data. See https://lwn.net/Articles/436012 X-Gentoo-Bug: 363971 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363971
* make rc_sys system specificWilliam Hubbs2011-04-18
| | | | | | | | This rearranges the configuration files so it is more clear that the rc_sys setting is system specific. X-Gentoo-Bug: 363957 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363957
* Check for /sys/module/usbcore before modprobe usbcoreAnthony G. Basile2011-04-17
| | | | | | | | | | | The use of /proc/bus/usb to mount usbfs has been deprecated, but the option is still available in the kernel. The new approach is to use /sys. We should not modprobe usbcore if either /proc/bus/usb or /sys/module/usbcore exist. X-Gentoo-Bug: 363551 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363551 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* release openrc-0.8.2openrc-0.8.2William Hubbs2011-04-15
|
* revert changes for bug #292894William Hubbs2011-04-15
| | | | | | | | This is being done because these dependency changes caused a regression. We will need to revisit the previously mentioned bug. X-Gentoo-Bug: 363693 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363693
* termencoding should run after bootmiscSebastian Thorarensen2011-04-14
| | | | | | | | This change is necessary so that the unicode flag is not erased by bootmisc. X-Gentoo-Bug: 363611 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363611
* 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
|