aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-20librc:look for the pid file in a chroot if definedAlexander Vershilov
X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
2014-10-20runscript.sh: add chroot supportWilliam Hubbs
This adds support for a chroot variable which will be passed to the start-stop-daemon --chroot switch to runscript.sh when starting a daemon. This also needs to be saved so it can be used in locating the pid file when stopping the daemon. X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
2014-10-20Add NEWS fileWilliam Hubbs
2014-10-16add back nfs and nfs4 file systemsWilliam Hubbs
Fix gentoo bug #427996 correctly. We should attempt to mount the file systems, but not try to start the daemons. The previous fix removed mounting the file systems as well as starting the daemons. X-Gentoo-Bug: 508574 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=508574
2014-10-06localmount: unmount aufs branchesRick Farina (ZeroChaos)
2014-09-20typo fixWilliam Hubbs
2014-09-19man: Document start_inactive and in_background_fakeWilliam Hubbs
2014-09-16Revert "sysfs: fix permissions on cgroup mounts"William Hubbs
This reverts commit 7a25491ced95e14b04b8fe6225171564c87fcde0. This was broken; I need to look further into it.
2014-09-16sysfs: fix permissions on cgroup mountsWilliam Hubbs
2014-09-11Use exception-based approach for cgroup/ulimit setupRoy Marples
Note from William Hubbs: I spoke with Roy about this, and he pointed out that user-defined functions may need the limits applied, so it is better to go with a method that uses exceptions to determine which functions apply the limits. X-Gentoo-Bug: 522408 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=522408
2014-09-11runscript: move verbose mode setting near debug settingWilliam Hubbs
2014-08-29savecache: check permissions on the correct directoryJoe M
2014-08-27tmpfiles.sh: add support for C actionAndrew Gregory
Recursively copies files or directories. Added by systemd in 849958d1.
2014-08-27tmpfiles.sh: add support for + modifierAndrew Gregory
systemd added support for b+, c+, p+, and L+ in 2e78fa79 and 1554afae to remove the target path if it already exists.
2014-08-22cgroups: fix cgroup subsystem mountingWilliam Hubbs
Originally, we aborted all of the cgroup setup if /sys/fs/cgroup/openrc was already mounted. This caused an issue in lxc containers, so we should always allow the subsystems to be mounted. X-Gentoo-Bug: 520606 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=520606
2014-08-17start work on 0.14William Hubbs
2014-08-17mtab: add verbose level deprecation warningsWilliam Hubbs
2014-08-17README: Clarify devfs changesWilliam Hubbs
I was informed that the previous explanation of the devfs changes could be interpreted to mean that we mount a second /dev on top of the one that was mounted by the kernel or initramfs. This change makes it clear that is not the case.
2014-08-16README: add notes about devfs changesWilliam Hubbs
2014-08-16adjust deprecation schedule for mtabWilliam Hubbs
- Quiet the deprecation messages forr now - update the feature removal schedule to reflect that it will be removed in 2.0.
2014-08-14Deprecate the mtab service scriptWilliam Hubbs
The mtab service script is no longer needed on modern Linux systems, so we can remove it in 1.0. However, we need to set a deprecation notice first.
2014-08-13tmpfiles: fix relabel to run restorecon before chown and chmodWilliam Hubbs
2014-08-13tmpfiles: Move relabelling before any other calls for device nodesJason Zaman
Device nodes are normally never device_t so this type does not have many permissions. After the mknod, the device should have its label corrected before any other operations (like chmod).
2014-08-11README: expand information about rc and runscript deprecationWilliam Hubbs
2014-08-11rc.conf: document rc_verboseWilliam Hubbs
2014-08-11Show rc and runscript deprecation warnings in verbose modeWilliam Hubbs
These messages are being changed for this release to show in verbose mode because of the number of times they display.
2014-08-10bootmisc: do not run the clean_run function in an LXC containerWilliam Hubbs
2014-08-10hwclock: fix comments about the usage of clock_hctosysWilliam Hubbs
The clock_hctosys variable should be set to YES if you are not using NTP to synchronize your system time; it doesn't have anything to do with the kernel configuration.
2014-08-09sysctl.linux.in: use the --system optionWilliam Hubbs
According to the sysctl man page, the --system option causes sysctl to process all system configuration files, which include the following: /run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf X-Gentoo-Bug: 484796 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796
2014-08-08devfs: several small clarificationsWilliam Hubbs
- Rename the static_dev switch in conf.d/devfs to skip_mount_dev since this is a better description of what the switch does. - Clarify the error messages in the devfs service script based on the new name of the switch.
2014-08-07tmpfiles.sh: do not use installJason Zaman
install is in /usr which causes problems if /usr is not mounted. Instead, checkpath and "mkdir -p" can do everything required and are both available before /usr is mounted. Since checkpath also handles selinux labels correctly, _restorecon after is not required. X-Gentoo-Bug: 503408 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503408
2014-07-28checkpath: apply ownership to all paths given on command lineWilliam Hubbs
The stat structure was not being initialized correctly in do_check. This was causing the owner adjustment to be skipped if the first path had the correct owner. Also, the "correcting owner" message should always be printed when the owner is being changed. X-Gentoo-Bug: 518042 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=518042
2014-07-25checkpath: style fixWilliam Hubbs
2014-07-24hwclock: always set the kernel's timezoneWilliam Hubbs
The hwclock service should set the time zone regardless of the setting of the clock_hctosys variable. This needs to be done to prevent issues when the system time is being synchronized using ntp. X-Gentoo-Bug: 434410 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=434410
2014-07-19src/librc/librc-daemon.c: style fixWilliam Hubbs
2014-07-19src/rc/Makefile: typo fixWilliam Hubbs
2014-07-17rc-status: fix infinite loop when using stacked runlevelsWilliam Hubbs
Remove the recursive call in print_stacked_services which was causing an infinite loop when using stacked runlevels. I would like to thank Doug Freed and Jason Zaman for assisting with tracking this down. X-Gentoo-Bug: 514972 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=514972
2014-07-16devfs: fix restorecon ebegin message to match sysJason Zaman
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16sysfs: restorecon after mounting /sysJason Zaman
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16move the selinux_setup function into rc-selinuxJason Zaman
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16checkpath: style fixesWilliam Hubbs
2014-07-16style fixesWilliam Hubbs
2014-07-16Rename SELinux source filesWilliam Hubbs
The name rc-selinux-util.* is a bit long, so I renamed the source files to rc-selinux.* X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16checkpath: restore the SELinux contextJason Zaman
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16devfs: fix SELinux contextsJason Zaman
SELinux contexts in /dev need to be fixed after it is mounted X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16tmpfiles: set the proper SELinux contextJason Zaman
Restore the label on the created file / dir based on the policy fcontexts. X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-15Add SELinux support to the build systemWilliam Hubbs
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-14sysfs.in: fix indentationWilliam Hubbs
2014-07-13checkpath: fix logic for the writable optionWilliam Hubbs
The -W option does not need an argument of its own; it can take the first path after all other options are processed on the command line. Also, move the processing for the -W option out of the switch so it will be in the same loop as the other processing.
2014-07-13man/openrc-run.8: more updates and clarifications for checkpathWilliam Hubbs
X-Gentoo-Bug: 500606 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606