aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-06librc: fix EACCES errno false-positive crashZac Medico
Use errno != EACCES to fix false-positive for non-root users with grsecurity kernels. Fixes: 37e29442721a ("librc: Add check for crashed state") This fixes #237
2018-07-09rc-functions.sh: Remove addon supportWilliam Hubbs
This is an old relic from Gentoo baselayout-1.x which should not be used any longer.
2018-06-29modules: remove the ability to rename modules on the flyWilliam Hubbs
Kmod doesn't support the -o switch, so if you have been using this your module loads have been failing.
2018-06-29rc-status: initialize uptime pointer to prevent memory corruptionHolger Hoffstätte
This fixes #231.
2018-06-28version 0.39William Hubbs
2018-06-28Update ChangeLogWilliam Hubbs
2018-06-27supervise-daemon.c: clean up memory leaksWilliam Hubbs
2018-06-27librc-daemon.c: fix memory leaksWilliam Hubbs
2018-06-22librc-daemon: convert most snprintf calls to xasprintfWilliam Hubbs
2018-06-20librc-misc: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-20libeinfo: convert remaining snprintf calls to xasprintfWilliam Hubbs
2018-06-20openrc: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19supervise-daemon: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19start-stop-daemon: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19rc-status: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19rc-status: fix gcc 7 warningsWilliam Hubbs
2018-06-19start-stop-daemon: fix gcc 7 warningsWilliam Hubbs
2018-06-19checkpath: fix gcc 7 warningsWilliam Hubbs
2018-06-19fix gcc 7 warnings in pipe routinesWilliam Hubbs
2018-06-19libeinfo: clean up gcc 7 compiler warningsWilliam Hubbs
2018-06-17version 0.38William Hubbs
2018-06-15Update ChangeLogWilliam Hubbs
2018-06-15sh/start-stop-daemon.sh: fix processing of the logger argumentsWilliam Hubbs
2018-06-15Update ChangeLogWilliam Hubbs
2018-06-15start-stop-daemon: add ability to log stdout or stderr to processesWilliam Hubbs
2018-06-14fix a typoWilliam Hubbs
2018-06-13Add helper to spawn process with stdin connected to a pipeMike Gilbert
2018-06-05user-guide.md: small cleanupsWilliam Hubbs
2018-06-05service-script-guide.md: small cleanupsWilliam Hubbs
2018-06-05version 0.37William Hubbs
2018-05-31Update ChangeLogWilliam Hubbs
2018-05-30sh/supervise-daemon.sh: use start_stop_daemon_args if supervise_daemon_args ↵Austin English
is undefined
2018-05-22Logger: only log printable characters and newlinesWilliam Hubbs
X-Gentoo-Bug: 651412 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412
2018-05-22openrc-run.sh: move crashed test outside started testWilliam Hubbs
This is handled inside librc, so we don't need the nesting in this script.
2018-05-22Add mark_service_crashed binaryWilliam Hubbs
2018-05-22rc-misc: add the crashed stateWilliam Hubbs
2018-05-22librc: Add check for crashed stateWilliam Hubbs
In rc_service_state,, call rc_service_daemons_crashed to check for a crashed daemon if the service is started.
2018-05-22librc: Add crashed stateWilliam Hubbs
2018-05-18Remove the _rc_can_find_pids functionWilliam Hubbs
This test to find if we could see pid 1 was being used inconsistently in rc-status and mark_service_crashed to decide whether we could test to see if the daemon for the service was crashed, and it was not part of the librc library. I am removing it from the executables because of inconsistent usage. I will add it to the library if it is needed there.
2018-05-16rc-service: add --ifstarted and --ifstopped optionsWilliam Hubbs
2018-05-15Man: rc-service man page cleanupsWilliam Hubbs
2018-05-15rc-service: add -d/--debug and -D/--nodeps optionsWilliam Hubbs
2018-05-15openrc-run: respect the RC_NODEPS environment variableWilliam Hubbs
2018-05-15Add RC_DEBUG and RC_NODEPS to environment whitelistWilliam Hubbs
These are needed so rc-service can pass debug and nodeps options to openrc-run.
2018-05-14openrc-run: respect the IN_DRYRUN environment variableWilliam Hubbs
This allows rc-service to pass the tryrun option to openrc-run. This is for #225.
2018-05-14rc-misc.c: Add IN_DRYRUN to environment whitelistWilliam Hubbs
This allows rc-service to pass the dryrun option to openrc-run. This is for #225.
2018-05-14rc-service: add a --dry-run optionWilliam Hubbs
This is for #225.
2018-05-11build: standardize installation modesWilliam Hubbs
Gentoo was changing some of our installation modes from 0444 to 0644. There isn't a reason to install things 0444, so we are switching these to 0644 so the Gentoo ebuild doesn't need this extra step.
2018-05-11Revert "savecache: stop saving the dependency tree"William Hubbs
It is safe to save the deptree, but we also need to regenerate it at boot time.
2018-05-10Revert "Logger: only log printable characters and newlines"William Hubbs
This reverts commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf. This seems to create issues shutting down, so I need to look into it further.