summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* typo fixesopenrc-0.11.6William Hubbs2012-11-30
|
* netmount: make "net" the default network option for nowWilliam Hubbs2012-11-29
| | | | | | | | | | | Currently, we have the net virtual, so we should use it as the default in this instance so that netmount comes up after it thinks the network is up. However, this is technically eroneous, because there is no way to know from the init system that we really have network connectivity. Reported-by: cheepeero@gmx.net X-Gentoo-Bug: 445116 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=445116
* localmount: only skip unmounting /usr if it was premountedWilliam Hubbs2012-11-29
| | | | | | | | | | Add a test when localmount is started to determine if /usr is mounted from inside an initramfs for Linux systems. If it is not, we can unmount it when localmount stops. On *bsd systems, we always unmount /usr if it is separate. Reported-by: ryao@gentoo.org
* migrate-to-run: Remove old RC_SVCDIR after unmounting tmpfsWilliam Hubbs2012-11-29
| | | | | | reporrrrted-by: netfab@gmail.com X-Gentoo-Bug: 443996 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=443996
* Start work on 0.11.6William Hubbs2012-11-29
|
* firewalld: fix firewall-cmd dependencyopenrc-0.11.5William Hubbs2012-11-10
| | | | This should be "program" instead of "program start".
* tmpfiles: fix bashismWilliam Hubbs2012-11-10
| | | | reported-by: <pesa@gentoo.org>
* oldnet: add firewalld supportDoug Goldstein2012-11-10
|
* start work on openrc-0.11.5William Hubbs2012-11-10
|
* tmpfilesd: Doing both create+remove at the same time is valid.openrc-0.11.4Robin H. Johnson2012-11-05
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* increment version for hot fix for tmpfilesWilliam Hubbs2012-11-05
|
* increment versionopenrc-0.11.3William Hubbs2012-11-02
| | | | | This sets up for the release of openrc-0.11.3. The release will be tagged when it is ready.
* Tmpfiles: create and delete entries once in the boot runlevel.William Hubbs2012-10-31
| | | | | | | | | | | | | | | | Initially, we were creating tmpfiles entries in the sysinit runlevel and again in the boot runlevel. Systemd runs the --create and --remove options in one service called systemd-tmpfiles-setup after the local file systems are mounted. Now we have a service called tmpfiles.setup which emulates this. This also closes the bug mentioned below, since we were originally writing to files that were on read-only file systems and that were not available. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439012 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012
* Expand the documentation for service configuration variablesWilliam Hubbs2012-10-30
| | | | | | | The original documentation for these variables did not give an example of what to do if the service had a name that had illegal characters in it, so this commit adds an example. There was no bug report; this was suggested by Tobias Klausmann.
* Oldnet: make carrier timeout documentation consistentWilliam Hubbs2012-10-28
|
* Checkpath: print the path when correcting the ownerWilliam Hubbs2012-10-28
| | | | | | | | | | Checkpath was printing the path it was working with unless it was correcting the owner. In this case, it was printing "checkpath", which is not very useful. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439014 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439014
* netmount: drop need net from dependenciesWilliam Hubbs2012-10-28
| | | | | | Reported-by: <mattsch@gmail.com> X-Gentoo-Bug: 439658 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439658
* mountinfo: respect the -q command line optionWilliam Hubbs2012-10-28
| | | | | | | | | | Previously, we were setting the quiet flag before the command line was parsed. Since the flag is only used once, we can just read the environment variable which is set by the parsing process. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439010 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=439010
* oldnet: document the carrier_timeout optionWilliam Hubbs2012-10-28
|
* oldnet: make the default carrier timeout 0William Hubbs2012-10-22
| | | | | | | | | Some types of interfaces do not have a carrier, so it doesn't make sense to automatically wait for one. Reported-by: <rose@rz.uni-potsdam.de> X-Gentoo-Bug: 438970 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438970
* release openrc-0.11.2openrc-0.11.2William Hubbs2012-10-22
|
* fix typo in rc-status.8Andrew Gregory2012-10-22
| | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* tmpfilesd: parse arguments with spacesAndrew Gregory2012-10-22
| | | | | | | | systemd allows the final arg in tmpfiles to contain spaces. Using the read() call to set the variables includes all trailing components in $arg so it doesn't get cut off. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* tmpfiles: return success from _f/_F on empty $argAndrew Gregory2012-10-21
| | | | | | | '[ -n "$arg" ] && _w' causes _f/_F to return the failure from the test when $arg is empty. Inverting the test causes the test and _f/_F to return success. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* tmpfiles: do not process systemd.confWilliam Hubbs2012-10-21
| | | | | | | This file contains definitions specific to systemd, so we should not process it. Reported-by: <andrew.gregory.8@gmail.com>
* release openrc-0.11.1openrc-0.11.1William Hubbs2012-10-19
|
* tmfiles: change need dev to use dev.William Hubbs2012-10-19
| | | | | This is being changed to use for the reason I stated in the previous commit. There is no guarantee that someone is using a device manager.
* devfs: Remove references to specific device managersWilliam Hubbs2012-10-19
| | | | | | | | | | | | | | | There were references in the devfs script to mdev, udev and udev-mount. These all provide the virtuals dev and dev-mount; that is how we should refer to them. I believe in the discussion I had with Tony and Robin about this, we were going to change the "use" line to "need". However, after thinking that over, I'm not comfortable doing so because someone could be running a static /dev with no device manager. Reported-by: <tokiclover@gmail.com> X-Gentoo-Bug: 438932 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438932
* Fix bashism in tmpfilesd scriptsWilliam Hubbs2012-10-19
| | | | Reported-by: <pesa@gentoo.org>
* release openrc-0.11openrc-0.11William Hubbs2012-10-18
|
* Spacing fixesWilliam Hubbs2012-10-17
|
* tests: fix the pathsWilliam Hubbs2012-10-17
| | | | | | When the test suite is being run, we need our local directories in PATH and LD_LIBRARY_PATH before the system directories. This makes sure we run our tests using the currently built tree.
* functions.sh: do not hard code path in e* wrapper functionsWilliam Hubbs2012-10-17
| | | | | | We should use the "command" shell builtin to execute a binary from within the wrapper with the same name. Hard coding the path to the binary makes our test suite fail.
* Oldnet: bonding: set miimon correctlyLorand Kelemen2012-10-17
| | | | | | | Miimon needs to be activated before downdelay is set. X-Gentoo-Bug: 421757 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=421757
* Oldnet: the loopback interface does not need sysfsWilliam Hubbs2012-10-16
|
* Migrate /var/run and /var/lock to symlinksWilliam Hubbs2012-10-16
| | | | | | Now that we have full support for tmpfiles.d in OpenRC, we can migrate /var/run and /var/lock to symbolic links to /run and /run/lock respectively.
* Revert "Prepare for real "restart" support"Christian Ruppert2012-10-16
| | | | | | This reverts commit c5bb6829d00a4034f7294aa4af79d5d114572ac1. That was meant for my local devel branch :)
* Add documentation for subsuming supportWalter2012-10-16
| | | | | X-Gentoo-Bug: 428604 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=428604
* Add Vim modelineChristian Ruppert2012-10-16
|
* Prepare for real "restart" supportChristian Ruppert2012-10-12
|
* net/bonding: Sanity-check sysfs usageRobin H. Johnson2012-10-11
| | | | | | | | If sysfs is not available, you might still be able to create bond interfaces, but only in very specific configurations, and you must have the ifenslave binary instead to call ioctls. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/bonding: subsume functionality for NFS bootingRobin H. Johnson2012-10-11
| | | | | | | | | | | If the kernel is NFS-booting, it is critical that we don't down the slave interfaces when we activate the bond. To do so will break the root filesystem when networking is temporarily lost. Reported-by: Walter <walter@pratyeka.org> X-Gentoo-Bug: 428604 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=428604 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net/{bridge,iproute2}: Stricter iproute2 ip link syntax & promisc handlingRobin H. Johnson2012-10-10
| | | | | | | | | | | | | The 'dev' argument is only optional for ethX devices, for others it is mandatory, so we should always include it. Also tweak when promisc mode is applied to bridges. Patches submitted by Denis Kaganovich <mahatma@bspu.unibel.by>. X-Gentoo-Bug: #431204 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=431204 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* checkpath: fix bool valuesWilliam Hubbs2012-10-09
| | | | | | Use true/false for bool values instead of 0/1. Reported-by: <vapier@gentoo.org>
* checkpath: change the owner/group only when requested to do soWilliam Hubbs2012-10-09
| | | | | | | | | Fix checkpath so that it only changes the owner/group if -o is on the command line. Reported-by: <flameeyes@gentoo.org> X-Gentoo-Bug: 437560 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=437560
* Fix default runlevel symlink pathsAndrew Gregory2012-10-05
| | | | | | | | | runlevels/Makefile currently uses ${PREFIX} when creating the initial runlevel symlinks, but the init files are installed to ${INITDIR}, which results in broken symlinks if ${SYSCONFDIR} is set to something other than ${PREFIX}/etc Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* Remove non-standard reboot option from inittabAndrew Gregory2012-10-05
| | | | | | | Gentoo adds a "-k" option to the reboot command in inittab. This is a Gentoo-specific option, so it is being removed. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* set the RC_UNAME environment variable when updating dependenciesWilliam Hubbs2012-10-04
| | | | | | | This is needed because the network script uses this variable in the depend() function but it wasn't exported when this was run. Reported-by: <aaly90@gmail.com>
* sysfs: add -lxc keywordWilliam Hubbs2012-10-02
| | | | | | | | The sysfs filesystem should not be mounted inside a linux container. Reported-by: permeakra@gmail.com X-Gentoo-Bug: 425790 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=425790
* dmesg should not run in a linux containerWilliam Hubbs2012-10-02
| | | | | | reported-by: <Walter@pratyeka.org> X-Gentoo-Bug: 436266 X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=436266