Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-15 | openrc-run: respect the RC_NODEPS environment variable | William Hubbs | |
2018-05-15 | Add RC_DEBUG and RC_NODEPS to environment whitelist | William Hubbs | |
These are needed so rc-service can pass debug and nodeps options to openrc-run. | |||
2018-05-14 | openrc-run: respect the IN_DRYRUN environment variable | William Hubbs | |
This allows rc-service to pass the tryrun option to openrc-run. This is for #225. | |||
2018-05-14 | rc-misc.c: Add IN_DRYRUN to environment whitelist | William Hubbs | |
This allows rc-service to pass the dryrun option to openrc-run. This is for #225. | |||
2018-05-14 | rc-service: add a --dry-run option | William Hubbs | |
This is for #225. | |||
2018-05-11 | build: standardize installation modes | William 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-11 | Revert "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-10 | Revert "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. | |||
2018-05-09 | Logger: only log printable characters and newlines | William Hubbs | |
X-Gentoo-Bug: 651412 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412 | |||
2018-05-07 | Remove localmount from dependencies for linux-only services | William Hubbs | |
This removes localmount from the dependencies of the consolefont, keymaps, numlock and procfs services. These services are Linux only and the default modern linux system has / and /usr on the same file system. This also fixes the following issue. X-Gentoo-Bug: 651998 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651998 | |||
2018-05-02 | start-stop-daemon: don't fail stopping if pidfile is gone | Andrey Utkin | |
If pidfile does not exist when we are stopping the daemon, assume it is already stopped, and report success. hostapd is an example of a daemon which removes its pidfile when it is exiting. If this daemon terminates prematurely, that is, without s-s-d involvement, then openrc fails to restart it, because s-s-d "stop" command fails when pidfile is missing. X-Gentoo-Bug: 646274 X-Gentoo-Bug-URL: https://bugs.gentoo.org/646274 | |||
2018-05-01 | Add _POSIX_C_SOURCE definition to Linux build | William Hubbs | |
We need this to allow builds on uclibc-ng based systems. X-Gentoo-Bug: 650908 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650908 | |||
2018-04-24 | typo fix | William Hubbs | |
2018-03-21 | rc-update: fix typo | Scall | |
2018-03-16 | init.d/modules: add code from modules-load service | William Hubbs | |
There is no reason for these to be separate services. I did add a provide so that we don't break backward compatibility. | |||
2018-03-16 | net-online: always start after net | William Hubbs | |
X-Gentoo-Bug: 650600 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650600 | |||
2018-03-14 | agetty.in: allow status to be displayed | William Hubbs | |
2018-03-14 | supervise-daemon: fix off-by-one error | William Hubbs | |
2018-03-14 | Use _BSD_SOURCE on FreeBSD | William Hubbs | |
2018-03-14 | typo fix | William Hubbs | |
2018-03-13 | Remove _XOPEN_SOURCE macros from builds | William Hubbs | |
2018-03-13 | Add _POSIX_C_SOURCE macro to FreeBSD build | William Hubbs | |
2018-03-12 | man: document default retry specification for supervise-daemon | William Hubbs | |
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 | |