aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* net-online: always start after netHEADmasterWilliam Hubbs2018-03-161-1/+1
| | | | | X-Gentoo-Bug: 650600 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650600
* agetty.in: allow status to be displayedWilliam Hubbs2018-03-141-1/+7
|
* supervise-daemon: fix off-by-one errorWilliam Hubbs2018-03-141-2/+2
|
* Use _BSD_SOURCE on FreeBSDWilliam Hubbs2018-03-141-1/+1
|
* typo fixWilliam Hubbs2018-03-141-1/+1
|
* Remove _XOPEN_SOURCE macros from buildsWilliam Hubbs2018-03-133-3/+3
|
* Add _POSIX_C_SOURCE macro to FreeBSD buildWilliam Hubbs2018-03-131-1/+1
|
* man: document default retry specification for supervise-daemonWilliam Hubbs2018-03-121-0/+1
|
* man: document default retry sppecification for start-stop-daemonWilliam Hubbs2018-03-121-0/+1
|
* Clean up cgroups v2 codeWilliam Hubbs2018-03-111-10/+9
| | | | | Remove the IFS manipulation and simplify the loop that processes the settings.
* init.d: swap should always be started after rootScall2018-03-051-1/+1
| | | | Otherwise if a swap file is being used, and swap is started before root, swapon may fail because of a read-only filesystem.
* openrc-run: fix memory size (#213)Chris Cromer2018-03-011-1/+1
| | | Fixes #212
* fix build on FreeBSDWilliam Hubbs2018-03-011-0/+2
|
* version 0.36William Hubbs2018-03-011-1/+1
|
* Update ChangeLog0.35William Hubbs2018-02-281-395/+767
|
* init.sh: apply SELinux label for /run early in bootJason Zaman2018-02-281-0/+1
| | | | | Some initramfs mount /run which then ends up with the wrong labels. Force relabel all of /run right after its mounted to fix.
* init-early.sh.Linux.in: apply the selinux label to /dev/console earlyJason Zaman2018-02-281-0/+3
| | | | | /dev/console is relabelled later in the devfs init script, but by then we have already missed some of the messages, so fix that label early.
* supervise-daemon: make an error message more verboseWilliam Hubbs2018-02-271-1/+2
|
* cgroups: fix indentationWilliam Hubbs2018-02-271-1/+1
|
* cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1William Hubbs2018-02-262-0/+8
|
* fstabinfo: fix an error messageWilliam Hubbs2018-02-261-1/+1
|
* openrc: remove unused #define's.William Hubbs2018-02-261-3/+0
|
* openrc: convert another execl() call to execlp()William Hubbs2018-02-261-2/+2
|
* openrc-init: convert execl calls to execlpWilliam Hubbs2018-02-261-2/+2
|
* kill_all: change execl call to execlpWilliam Hubbs2018-02-241-1/+1
|
* openrc-init: set a default pathWilliam Hubbs2018-02-241-0/+4
| | | | | The default path provided by the system if one isn't set only includes "/bin:/usr/bin". This adds the default path setting from sysvinit.
* check whether /sys/fs/cgroup is a mountpointChristian Brauner2018-02-231-3/+6
| | | | | | | | | | | | | | | | The current check only tries to detect whether /sys/fs/cgroup exists and whether it is writable or not. But when the init system doesn't mount cgroups then /sys/fs/cgroup will just be an empty directory. When paired with unprivileged containers that mount sysfs this will cause misleading errors to be printed since /sys/fs/cgroup will be owned by user nobody:nogroup in this case. Independent of this specific problem this check will also be misleading when the /sys/fs/cgroup exists and is in fact writable by the init system but isn't actually a mountpoint. Note from William. "grep -qs" doesn't need to redirect output to /dev/null since it is completely silent. This fixes #209.
* improve cgroup configuration checksWilliam Hubbs2018-02-231-7/+6
| | | | | make the base/controller functions return successfully if cgroups v1/v2 are not configured in the kernel
* openrc: force deptree update for sysinit runlevelWilliam Hubbs2018-02-221-0/+3
|
* supervise-daemon: zero out the cmdline buffer when it is allocatedWilliam Hubbs2018-02-221-0/+1
|
* start-stop-daemon: compiler warning cleanupWilliam Hubbs2018-02-211-1/+2
|
* openrc-run: clean up a compiler warningWilliam Hubbs2018-02-211-1/+1
|
* supervise-daemon: remove references to PATH_MAXWilliam Hubbs2018-02-211-46/+56
|
* rc.c: remove PATH_MAX referencesWilliam Hubbs2018-02-211-8/+9
|
* rc-selinux.c: remove references to path_maxWilliam Hubbs2018-02-201-3/+4
|
* rc-plubin.c: remove references to PATH_MAXWilliam Hubbs2018-02-201-2/+3
|
* rc-misc.c: remove references to PATH_MAXWilliam Hubbs2018-02-201-8/+11
|
* start-stop-daemon: clean up string handlingWilliam Hubbs2018-02-161-16/+17
|
* openrc-run: clean up string handlingWilliam Hubbs2018-02-151-24/+37
| | | | | - remove references to PATH_MAX - use xasprintf to create strings
* rc-update: remove reference to PATH_MAXWilliam Hubbs2018-02-151-1/+3
|
* mountinfo: create strings with xasprintfWilliam Hubbs2018-02-141-10/+11
|
* kill_all: create strings with xasprintfWilliam Hubbs2018-02-141-8/+17
|
* helpers.h: silence compiler warnings about xasprintfWilliam Hubbs2018-02-101-1/+3
|
* xasprintf: exit if return value of vsnprintf is invalidWilliam Hubbs2018-02-101-7/+4
|
* helpers.h: add xasprintf functionWilliam Hubbs2018-02-091-0/+49
| | | | | | | | | | | This is our own version of asprintf(). This original code was written by Mike Frysinger, and I was able to modify it to use our memory helper functions. We need a version of this code because it is not available on glibc at least without defining _GNU_SOURCE, and I would rather not do that. This is the first step in improving string handling in OpenRC for #207.
* helpers.h: style fixWilliam Hubbs2018-02-091-2/+4
|
* man/openrc-run.8: fix mountinfo args.Michael Orlitzky2018-02-061-1/+1
| | | | | | | | | | | | | | | The "Ar" tag for the mountinfo command contained a typo (leading space) that resulted in the tag being output verbatim; that is, mountinfo ... .Ar mount1 mount2 rather than e.g. mountinfo ... <mount1> <mount2> This commit deletes the leading space to fix the output. This fixes #204.
* man/openrc-run.8: add missing "Xo" tags for fstabinfo and mountinfo.Michael Orlitzky2018-02-061-0/+2
| | | | | | | | The BUILTINS are all surrounded by Xo...Xc tags, but the opening "Xo" was missing from the two commands fstabinfo and mountinfo. This commit adds them, and thereby fixes the spacing when viewed by man. This is for #204.
* service-script-guide.md cleanupsWilliam Hubbs2018-01-241-12/+12
| | | | | | | Refer to /var/run in the documentation instead of /run, and make it clear at the top of the pidfile section that we use /run under Linux. This is for #202.
* typo fixWilliam Hubbs2018-01-241-1/+1
|