aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-14Typo: emtpy -> emptyChristian Ruppert
Reported-by: Walter <walter@pratyeka.org> X-Gentoo-Bug: 430146 X-Gentoo-Bug-URL: https://bugs.gentoo.org/430146
2012-09-12Silence the right get_pid() callChristian Ruppert
2012-09-12Silence get_pid(), OpenRC will give the process some time to create the PID ↵Christian Ruppert
file and the first get__pid() call may fail.
2012-09-10netmount: add checks for rpc.idmapd for nfs4 filesystemsWilliam Hubbs
Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 427996 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=427996
2012-09-09add RC_PREFIX environment variableWilliam Hubbs
This will be used by init scripts which want to be able to run in a Gentoo Prefix installation. RC_PREFIX will contain the prefix offset.
2012-09-09dmesg: add -prefix keywordWilliam Hubbs
Dmesg should not run on prefix systems. Reported-by: <heroxbd@gentoo.org>
2012-09-07savecache: make sure $RC_LIBEXECDIR is writableWilliam Hubbs
This is needed in case of a read-only root filesystem such as a diskless client. Reported-by: <walter@pratyeka.org> X-Gentoo-Bug: 430382 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=430382
2012-09-07oldnet/iproute2.sh: fix carrier detectionWilliam Hubbs
We were not testing for carrier correctly when testing for ipv6 tentative addresses. Reported-by: <ast@domdv.de> X-Gentoo-Bug: 433012 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=433012
2012-08-31Fix UPREFIX for Gentoo Prefix installationsWilliam Hubbs
Make sure UPREFIX in our make files gets set correctly when MKPREFIX=yes. In this situation, UPREFIX should be ${PREFIX}/usr. Reported-by: <heroxdb@gentoo.org> X-Gentoo-Bug: 415899 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=415899
2012-08-31fix typoWilliam Hubbs
2012-08-31add MKPREFIX flag to build systemWilliam Hubbs
This allows building OpenRC for a Gentoo Prefix installation.
2012-08-25do not provide a virtual for the loopbackWilliam Hubbs
The loopback interface is active on all systems, so there is no need to provide a virtual for it.
2012-08-24newnet: provide net if configuring more than the loopback interfaceWilliam Hubbs
2012-08-19Do not silence errorsChristian Ruppert
2012-08-18Fix quiet usageChristian Ruppert
EINFO_QUIET will always been unset when we first do unsetenv("EINFO_QUIET") and later query it again anyway..
2012-08-18Use do_umount's return value instead of eoutdent's.Christian Ruppert
2012-08-17swapfiles: make sure /proc/swaps existsWilliam Hubbs
If CONFIG_SWAP is turned off in the kernel, this file may not exist. In that case, we should not try to read from it. reported-by: <walter@pratyeka.org> X-Gentoo-Bug: 430378 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=430378
2012-08-16sh/tmpfiles: fix quoting for optional argumentsRobin H. Johnson
Some optional arguments were missing quotes in the tests, so produced spurious warnings. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-07-26Bring Back prefix supportWilliam Hubbs
We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
2012-07-20Bug #427152: Port of VLAN code to sysfs/iproue2 from vconfig lost the ↵Robin H. Johnson
ability to create different vlans with the same ID but different interfaces on a single system. Implement it now. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-07-15remove unnecessary header lineWilliam Hubbs
2012-07-15small style changes to encswapWilliam Hubbs
This drops some unnecessary continue statements and changes command command substitution to use $() instead of ``.
2012-07-15Fix savecore init script to execute after dumpon, but before encswapRichard Yao
This ensures that any kernel crash dumps are available when savecore runs. It also prevents encswap from corrupting them.
2012-07-15Import encswap init script from FreeBSDRichard Yao
The FreeBSD encswap init script has been adapted to function in OpenRC. It should function identically to its FreeBSD counterpart.
2012-07-10fix the upstream default network stackWilliam Hubbs
The OpenRC upstream default network stack was changed, but there was no reason to change it. Now since we have the MKNET build switch, it is easy for the gentoo ebuild to install oldnet by default. The upstream default is newnet.
2012-07-10add the MKNET variable to select a network stackWilliam Hubbs
The MKNET variable can be used to select the network stack you want to build and install with OpenRC. The current default is the gentoo "oldnet" stack. If you want to install the OpenRC newnet stack, use MKNET=newnet on the make command line.
2012-07-09Revert "add the appropriate network scripts to the boot runlevel"William Hubbs
This reverts commit add965706a3a239a7eb6750d6fc14090eb70dd12. This commit was broken so I need to revert it.
2012-07-09fix reference to dmesg man pageWilliam Hubbs
Correct the reference in conf.d/dmesg from dmesg(8) to dmesg(1). reported-by: <toralf.foerster@gmx.de> X-Gentoo-Bug: 425370 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=425370
2012-07-09fix typoWilliam Hubbs
2012-07-08add the appropriate network scripts to the boot runlevelWilliam Hubbs
2012-07-08make oldnet the default for nowWilliam Hubbs
2012-07-08Revert "Deprecate the network and staticroute scripts"William Hubbs
This reverts commit 5994e55937cbbb71b1c22ad829b77a1bcd8c3793. There are situations where these scripts can be useful, so I am bringing them back. Also, I want to start discussions about simplifying the OpenRC network stack.
2012-07-04net: fix typoBjörn Baumbach
2012-07-03cgroups: allow users to turn off creation of controller cgroupsWilliam Hubbs
This adds a switch to not create the one-cgroup-per-controller setup of cgroups. reported-by: davidweb@klaftenegger.de X-Gentoo-Bug: 423317 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423317
2012-07-02fix handling of /run for vserverWilliam Hubbs
Mount can't be used in vservers, but /run is still needed. So we create the directory and clear it out instead of mounting a tmpfs in that situation. reported-by: <patrick@gentoo.org> X-Gentoo-Bug: 423739 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423739
2012-06-07fix consolefont documentation to reflect the default stateWilliam Hubbs
conf.d/consolefont was written as though the consolefont service was active by default. It is not, so this has been fixed. reported-by: Ikonta@yandex.ru X-Gentoo-Bug: 420037 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=420037
2012-06-07net/udhcpc: use -x hostname:NAME option instead of -h nameWilliam Hubbs
reported-by: bug@mejor.pl X-Gentoo-Bug: 417617 X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617
2012-06-06net: clarify how to prefer ifconfig over iproute2William Hubbs
reported-by: <vsync@quadium.net> X-Gentoo-Bug: 417899 X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=417899
2012-05-27termencoding should not run on lxcWilliam Hubbs
reported-by: Alexey Shvetsov <alexxy@gentoo.org>
2012-05-23rc: fix inverted string compare logicMike Frysinger
X-Gentoo-Bug: 417227 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=417227 Reported-by: sphakka <marcoep@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-22Release openrc-0.10William Hubbs
2012-05-16rc: fix thinko in applet collapseMike Frysinger
We want to lookup the service based on the applet name. Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-17local is only allowed in functionsChristian Ruppert
2012-05-14move rc_svcdir to /run/openrc on Linux systemsWilliam Hubbs
If you are not using linux, this should not affect you. If you are using linux, from this point forward, openrc requires the /run directory to be a mounted tmpfs. If it is, you can run @LIBEXECDIR@/sh/migrate-to-run.sh as root to migrate your dependency tree and state information to the new location. If it is not, you must create the /run directory as root with permissions 755 then reboot your system. reported-by: Maxim Kammerer <mk@dee.su> X-Gentoo-Bug: 401059 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401059
2012-05-13do not umount /usr on linux systemsWilliam Hubbs
We can't really umount /usr on linux systems because /usr is a special case if it is a separate filesystem which is handled by an initramfs. reported-by: tamiko+GENTOO@kyomu.43-1.org X-Gentoo-Bug: 415523 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=415523
2012-05-06rc: collapse the applet if statements into a single array walkMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06add a new ARRAY_SIZE macro and use itMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06split out librc-independent helpers into a dedicated header fileMike Frysinger
Many of these helpers are not special to librc, so split them out so they can be used in all source trees (including libeinfo). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-03net: Be sure to install the ip6rd module.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-05-02clarify the message about /proc being already mountedWilliam Hubbs
This message was being taken by some users as an error, so I have removed the part about "skipping..." Hopefully this will make the message less alarming.