Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-12 | man: document default retry sppecification for start-stop-daemon | William Hubbs | |
2018-03-11 | Clean up cgroups v2 code | William Hubbs | |
Remove the IFS manipulation and simplify the loop that processes the settings. | |||
2018-03-05 | init.d: swap should always be started after root | Scall | |
Otherwise if a swap file is being used, and swap is started before root, swapon may fail because of a read-only filesystem. | |||
2018-03-01 | openrc-run: fix memory size (#213) | Chris Cromer | |
Fixes #212 | |||
2018-03-01 | fix build on FreeBSD | William Hubbs | |
2018-03-01 | version 0.36 | William Hubbs | |
2018-02-28 | Update ChangeLog | William Hubbs | |
2018-02-28 | init.sh: apply SELinux label for /run early in boot | Jason Zaman | |
Some initramfs mount /run which then ends up with the wrong labels. Force relabel all of /run right after its mounted to fix. | |||
2018-02-28 | init-early.sh.Linux.in: apply the selinux label to /dev/console early | Jason Zaman | |
/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. | |||
2018-02-27 | supervise-daemon: make an error message more verbose | William Hubbs | |
2018-02-27 | cgroups: fix indentation | William Hubbs | |
2018-02-26 | cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1 | William Hubbs | |
2018-02-26 | fstabinfo: fix an error message | William Hubbs | |
2018-02-26 | openrc: remove unused #define's. | William Hubbs | |
2018-02-26 | openrc: convert another execl() call to execlp() | William Hubbs | |
2018-02-26 | openrc-init: convert execl calls to execlp | William Hubbs | |
2018-02-24 | kill_all: change execl call to execlp | William Hubbs | |
2018-02-24 | openrc-init: set a default path | William Hubbs | |
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. | |||
2018-02-23 | check whether /sys/fs/cgroup is a mountpoint | Christian Brauner | |
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. | |||
2018-02-23 | improve cgroup configuration checks | William Hubbs | |
make the base/controller functions return successfully if cgroups v1/v2 are not configured in the kernel | |||
2018-02-22 | openrc: force deptree update for sysinit runlevel | William Hubbs | |
2018-02-22 | supervise-daemon: zero out the cmdline buffer when it is allocated | William Hubbs | |
2018-02-21 | start-stop-daemon: compiler warning cleanup | William Hubbs | |
2018-02-21 | openrc-run: clean up a compiler warning | William Hubbs | |
2018-02-21 | supervise-daemon: remove references to PATH_MAX | William Hubbs | |
2018-02-21 | rc.c: remove PATH_MAX references | William Hubbs | |
2018-02-20 | rc-selinux.c: remove references to path_max | William Hubbs | |
2018-02-20 | rc-plubin.c: remove references to PATH_MAX | William Hubbs | |
2018-02-20 | rc-misc.c: remove references to PATH_MAX | William Hubbs | |
2018-02-16 | start-stop-daemon: clean up string handling | William Hubbs | |
2018-02-15 | openrc-run: clean up string handling | William Hubbs | |
- remove references to PATH_MAX - use xasprintf to create strings | |||
2018-02-15 | rc-update: remove reference to PATH_MAX | William Hubbs | |
2018-02-14 | mountinfo: create strings with xasprintf | William Hubbs | |
2018-02-14 | kill_all: create strings with xasprintf | William Hubbs | |
2018-02-10 | helpers.h: silence compiler warnings about xasprintf | William Hubbs | |
2018-02-10 | xasprintf: exit if return value of vsnprintf is invalid | William Hubbs | |
2018-02-09 | helpers.h: add xasprintf function | William Hubbs | |
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. | |||
2018-02-09 | helpers.h: style fix | William Hubbs | |
2018-02-06 | man/openrc-run.8: fix mountinfo args. | Michael Orlitzky | |
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. | |||
2018-02-06 | man/openrc-run.8: add missing "Xo" tags for fstabinfo and mountinfo. | Michael Orlitzky | |
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. | |||
2018-01-24 | service-script-guide.md cleanups | William Hubbs | |
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. | |||
2018-01-24 | typo fix | William Hubbs | |
2018-01-23 | checkpath: use fchown and fchmod to handle ownership and mode changes | William Hubbs | |
This is related to #195. This is an attempt to shorten the window for the first two issues discussed by using a file descriptor which does not follow symbolic links and using the fchmod and fchown calls instead of chown and chmod. with. | |||
2018-01-16 | checkpath: fix lchown error message | William Hubbs | |
X-Gentoo-Bug: 643084 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084 | |||
2018-01-16 | _rc_deptree_load - return NULL if the stat() call is not successful | William Hubbs | |
X-Gentoo-Bug: 643084 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084 | |||
2018-01-12 | Reformat and fix titles in documentation | William Hubbs | |
2018-01-11 | Rename guide.md to user-guide.md to better describe its purpose | William Hubbs | |
2018-01-10 | move developer documentation from guide.md to service-script-guide.md | William Hubbs | |
2018-01-09 | checkpath: use lchown instead of chown | William Hubbs | |
Checkpath should never follow symbolic links when changing ownership of a file. This is for https://github.com/openrc/openrc/issues/195. | |||
2018-01-08 | service-script-guide.md: formatting changes | William Hubbs | |
Add a title, adjust the headings and update the example that referred to "net.lo" to refer to "loopback". |