aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-24Make deprecation warnings for rc and runscript more visibleWilliam Hubbs
These warnings were inserted in verbose only mode in OpenRC-0.13.A Now, we are making them more visible in preparation for removing these compatibility binaries in the future.
2016-05-23supervise-daemon: log the exit code or signal when a child process diesWilliam Hubbs
2016-05-19supervise-daemon.sh: add support for chroot variableWilliam Hubbs
2016-05-19start-stop-daemon.sh: fix regression in chroot supportWilliam Hubbs
The support for the chroot variable was broken in 0.16, this fixes that breakage.
2016-05-19guide.md: typo fixWilliam Hubbs
This fixes #86.
2016-05-13rc-selinux: access check was backwardsJason Zaman
2016-05-13supervise-daemon: add pam service fileWilliam Hubbs
2016-05-12runlevels/Makefile: add support for runlevel ‘nonetwork’Anthony G. Basile
Traditional System V reserves runlevel 2 for multiuser with no networking. We add support for this which is already defined in the inittab as l2:2:wait:/sbin/rc nonetwork X-Gentoo-Bug: 533828 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=533828 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-05-05killprocs: remove calls to sleepWilliam Hubbs
X-Gentoo-Bug: 487084 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487084
2016-05-04openrc-run: clean up runscript deprecation messageWilliam Hubbs
2016-04-27add daemon supervisorWilliam Hubbs
The supervise-daemon process is meant to be a lightweight supervisor which can monitor and restart a daemon if it crashes.
2016-04-26localmount/netmount: clean up critical mount processingWilliam Hubbs
Fix a typo and do not fail if a path in critical_mounts is not listed as a critical mount does not get mounted.
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