aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-25localmount/netmount: allow mount points to be marked criticalWilliam Hubbs
In previous releases, we either treated no mount points as critical or all of them. Now both localmount and netmount support a critical_mounts setting. If mount points listed in this setting fail to mount, localmount and netmount will fail.
2016-04-15netmount: fix mounting on LinuxWilliam Hubbs
Before this commit, on Linux, we were always trying to mount file systems marked with _netdev, even when the previous mount command failed. Now, we do not run the second mount if the first fails. X-Gentoo-Bug: 579876 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=579876
2016-04-11start-stop-daemon: Allow group read/write when creating output filesMike Gilbert
This allows for better interaction with inherited ACL entries. This fixes #84. X-Gentoo-Bug: 577362 X-Gentoo-Bug-URL: https://bugs.gentoo.org/577362
2016-02-19binfmt.sh: use read in raw modeDustin C. Hatch
The read builtin in most shells will interpret backslash characters as escapes, and they are lost when reading binfmt files line-by-line. This causes magic strings containing backslashes to be mangled and become invalid, resulting in erroneous 'invalid entry' messages. The -r option to read disables special handling of backslashes and keeps all lines intact. X-Gentoo-Bug: 575114 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=575114
2016-02-12Fix rc_env_allow wildcard usageWilliam Hubbs
Before this commit, using * in rc_env_allow did not work. This fixes #60.
2016-02-09sysfs: mount pstore when availableMike Frysinger
2016-02-09Add a basic OpenRC users guidePatrick Lauer
X-Gentoo-Bug: 513024 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=513024
2016-01-28savecache: stop saving nettreeWilliam Hubbs
Netifrc is no longer part of OpenRC, so we shouldn't save its dep tree as part of savecache. This should have been removed when netifrc was split out. also, it might be related to the following bug. X-Gentoo-Bug: 563720 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=563720
2016-01-28rc-service: add --ifinactive and --ifnotstarted flagsWilliam Hubbs
X-Gentoo-Bug: 523174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523174
2016-01-22add back deprecation warnings lost during refactoringWilliam Hubbs
2016-01-22fix testsWilliam Hubbs
X-Gentoo-Bug: 572602 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
2016-01-21librc: Complain when a real and virtual service have the same nameWilliam Hubbs
2016-01-20openrc-run: in verbose mode, log execution of the shell scriptWilliam Hubbs
This is to show when openrc-run runs the openrc-run.sh script; it is used for debugging.
2016-01-19sh/s6.sh: update s6-svc syntax to be valid for 2.2.0.0+Colin Booth
The s6-svc syntax changed for wait-up, wait-ready, wait-down, and wait-finished. This changes the s6 handling script to use the current valid syntax. This fixes #65.
2016-01-19Fix typoManuel RĂ¼ger
This fixes #70.
2016-01-19conf.d/bootmisc: typo fix: s/dmesc/dmesg/Gokturk Yuksek
This fixes #72.
2016-01-19localmount: Allow users to control whether errors are ignoredWilliam Hubbs
X-Gentoo-Bug: 572138 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572138
2016-01-19rc: remove use of magic constant and allow OpenVZ to drop to shellDoug Freed
OpenVZ has had console support for a long time now; allow them to use it to drop to a shell during interactive boot.
2016-01-19librc: handle rc_sys="prefix" even if we weren't built with a prefixDoug Freed
This probably isn't needed, but it mimics old behavior.
2016-01-19librc: fix handling the nothing special case for rc_sysDoug Freed
2016-01-19librc: move system detection code into rc_sys and use itDoug Freed
This fixes an issue where librc code was calling code that only existed in the rc binary. This reverts commits 8addd79 and 9f6e056 This fixes #75.
2016-01-18Revert "rc: make get_systype similar to the old rc_sys function"William Hubbs
This reverts commit f79a7a7be18d68bf264efc60d82838d03048da6b.
2016-01-18Revert "librc: fix librc-depend functions to call rc_sys"William Hubbs
This reverts commit 73482cf13a338051606788957cbd0031ac850c70.
2016-01-18fix bsd buildWilliam Hubbs
X-Gentoo-Bug: 572068 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572068
2016-01-18rc: make get_systype similar to the old rc_sys functionWilliam Hubbs
2016-01-18librc: fix librc-depend functions to call rc_sysWilliam Hubbs
2016-01-14src/rc/Makefile: fix make depend targetWilliam Hubbs
2016-01-14include rc.h properly in source filesWilliam Hubbs
We were attempting to include rc.h in rc-misc.h instead of the source files where it should be included.
2016-01-14version 0.21William Hubbs
2016-01-14fix selinux buildWilliam Hubbs
X-Gentoo-Bug: 571798 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=571798
2016-01-13fix selinux buildWilliam Hubbs
2016-01-13Add LANG, LC_MESSAGES and TERM to the environment whitelistWilliam Hubbs
2016-01-13fix seg faultWilliam Hubbs
2016-01-13update ChangeLogWilliam Hubbs
2016-01-13allow the user to decide whether fsck aborts for errorsjoe9
X-Gentoo-Bug: 564008 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564008
2016-01-12Remove multicall binary structure from OpenRCWilliam Hubbs
This eliminates the need for the selinux-specific wrapper scrript we were installing in /lib*/rc/{bin,sbin}.
2016-01-05rc: fix compiler warnings cleanupWilliam Hubbs
This reverts commit 981d2b3308edb0d0a68f7bdce4f2c99110de6940 and fixes the warnings that generated.
2016-01-04Clean default env_whitelistWilliam Hubbs
The whitelist of environment variables we pass to service scripts included several unnecessary variables. The default whitelist now includes EERROR_QUIET, EINFO_QUIET, IN_BACKGROUND and IN_HOTPLUG. X-Gentoo-Bug: 569542 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=569542
2016-01-01rc: clean up compiler warningsWilliam Hubbs
The get_systype(), detect_container(), detect_prefix() and detect_vm() functions need to return "char *" instead of "const char *".
2016-01-01add ignore patterns for init.d directoryWilliam Hubbs
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2015-12-14format fixWilliam Hubbs
2015-12-11FEATURE-REMOVAL-SCHEDULE: create section for librc API functionsWilliam Hubbs
2015-12-11netmount: use want dependency to start nfsclientRick Farina (Zero_Chaos)
add in parsing of fstab to determine if nfsclient should be automatically started so that netmount can mount nfs without adding nfsclient to the default runlevel This fixes #71.
2015-12-09Add note about deprecating rc_getline()William Hubbs
2015-12-09Complete support for rc.conf.dWilliam Hubbs
- gendepends.sh needs to read this directory to allow dependencies to be overridden - init.sh for Linux and Bsd need to read it to allow config settings they use to be overridden.
2015-12-08Add note about removing rc_sys() from librcWilliam Hubbs
2015-12-08Update feature-removal-schedule wrt mtab serviceWilliam Hubbs
2015-12-08rc.map: remove references to rc_sys_v{1,2}William Hubbs
2015-12-08Convert rc_sys() calls to detect_container() and detect_vm()William Hubbs