aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-12-08Create detect_container() and detect_vm() functionsWilliam Hubbs
These functions replace rc_sys so that we can detect containers and vms separately. Also, we copy file_regex() to rc-misc.c and open it to all operating systems.
2015-12-05Rename bootlevel variable in _usage.cWilliam Hubbs
In src/rc/_usage.c, we were using bootlevel as the variable to hold the return value of rc_sys. This changes the variable name to systype because this function returns a system type, not a runlevel.
2015-12-05Increment version numberWilliam Hubbs
2015-12-04update ChangeLogWilliam Hubbs
2015-12-03man/openrc-run.8: Clarify documentation on dependencies and keywordsWilliam Hubbs
Provide an example of using the -containers keyword and clarify documentation on some of the dependency functions.
2015-12-03add support for -containers keywordWilliam Hubbs
2015-12-02Use systype variable for rc_sys callWilliam Hubbs
2015-12-02rc.conf.Linux: document the rkt keywordWilliam Hubbs
2015-12-02Add detection for rkt containersWilliam Hubbs
2015-12-02Add detection for docker containersWilliam Hubbs
2015-12-01librc: comsolidate rc_sys_v1 and rc_sys_v2 into rc_sysWilliam Hubbs
These functions were never meant to be used outside of OpenRC, and they were added when we thought we were going to do away with the automatic detection of subsystems. Since the autodetection is not going away, we can combine these functions into rc_sys.
2015-12-01rc-functions.sh: add support for user-defined want dependenciesWilliam Hubbs
2015-11-12Implement "want" dependencyIan Stakenvicius
The want dependency is similar to the use dependency. If a service script, for example called service1, adds "want service2" to its depend function, OpenRC will attempt to start service2, if it exists on the system, when service1 is started. However, service1 will start regardless of the status of service2. X-Gentoo-Bug: 406021 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406021
2015-11-11conf.d/netmount: typo fixWilliam Hubbs
X-Gentoo-Bug: 564846 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564846
2015-11-11Standardize macro tests for gnu hurdBenda Xu
This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92.
2015-11-05librc: rework overriding rc.conf options from the kclWilliam Hubbs
Rename the rc_conf_override function to describe its purpose better, drop one conditional compile by making it available everywhere, and move the call to it after the optional rc.conf.d directory is processed.
2015-11-05librc: Remove redundant code from rc_config_loadWilliam Hubbs
2015-11-05Add rc.conf.d supportWilliam Hubbs
This makes it possible to override settings in rc.conf by adding a directory @SYSCONFDIR@/rc.conf.d and putting files in this directory. The files will be processed in lexical order, and the last setting in these files will be used.
2015-10-29consolefont: add after modules to dependenciesWilliam Hubbs
X-Gentoo-Bug: 559540 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=559540
2015-10-21bootmisc: optionally save the previous dmesg logWilliam Hubbs
X-Gentoo-Bug: 561204 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561204
2015-10-21etc/rc.conf: Clean up documentation for rc_hotplugWilliam Hubbs
X-Gentoo-Bug: 554540 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=554540
2015-10-20Add net-online serviceWilliam Hubbs