aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-14rc-misc: Allow EINFO_COLOR through env_filter()Doug Freed
This allows rc-service -C <service> <action> to properly not print color messages. Fixes #93
2016-09-14Fix permission checks for cgroupsWilliam Hubbs
This is needed because containers may give read access to cgroups but not allow the settings to be changed.
2016-09-13man/openrc-run.8: update variable documentationWilliam Hubbs
- document command_args_background and command_user.r - clarify documentation for command_background This fixes #78.
2016-09-13Make use of name vs RC_SVCNAME consistent in supervisor scriptsWilliam Hubbs
This fixes #79.
2016-09-12sh/init.sh: fix the test for cache restorationWilliam Hubbs
This fixes the test for cache restoration since we are no longer caching the dependency tree.
2016-09-12savecache: stop saving the dependency treeWilliam Hubbs
This fixes #85.
2016-09-12init.d/procfs: typo fixWilliam Hubbs
2016-09-08Format code blocks and variable/path notationsfrickler01
Add markdown backticks for commands, variable names and path as well as code blocks for better readability. This fixes #97.
2016-09-08hwclock: fix module load warningWilliam Hubbs
2016-09-08init.d/procfs: fix binfmt_misc module load warningWilliam Hubbs
This reworks the logic so that the warning about configuring the binfmt_misc module is only displayed if the module actually has to be loaded.
2016-09-06sh/openrc-run.sh: read global configuration settings firstWilliam Hubbs
X-Gentoo-Bug: 503134 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503134
2016-09-05init.d/swap: do not unmount all tmpfs file systemsWilliam Hubbs
X-Gentoo-Bug: 568162 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
2016-09-05remove swapfiles serviceWilliam Hubbs
The swapfiles service was basically a copy of the swap service, so this commit consolidates the functionality into the swap service. X-Funtoo-Bug-URL: https://bugs.funtoo.org/browse/FL-2523 X-Gentoo-Bug: 568162 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
2016-08-30Fix typo in RC_UNAME check of modules-loadMartin Väth
The $RC_UNAME "Linux" had been misspelled as "linux". As a consequence, entries in e.g. /etc/modules-load.d failed to load any module succesfully under Linux(!)
2016-08-30another news typo fixWilliam Hubbs
2016-08-26modules-load: handle comments betterDoug Freed
This handles comments without a trailing space after the comment character. Reported-By: josef64
2016-08-25typo fixWilliam Hubbs
2016-08-25Update news fileWilliam Hubbs
Add information on modules-load service and more explanation about dealing with the rc -> openrc and runscript -> openrc-run transitions.
2016-08-25init.d: add modules-load to ignore patternsWilliam Hubbs
2016-08-25modules-load.d: cleanupsWilliam Hubbs
Move list of directories to a local variable and create the fn variable to use for an individual file name rather than using path.
2016-08-25Add modules-load.d supportWilliam Hubbs
2016-08-25openrc-run: make runscript warning respect quiet optionWilliam Hubbs
X-Gentoo-Bug: 591414 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591414
2016-08-24init.d/hostname: do not use localhost as a default hostnameWilliam Hubbs
This allows the operating system default hostname to be used if no hostname is configured.
2016-08-23init.d/hostname: add support for /etc/hostnameWilliam Hubbs
2016-08-19Deprecate automatic loading of modulesWilliam Hubbs
In the hwclock, procfs and sysfs service scripts, we automatically attempt to load the kernel modules we need before we take any action. We shouldn't do this, because there are systems which do not use kernel modules and do not have the kmod package installed. With this change, we continue to load the modules ourselves, but we warn the admin that they need to be added to /etc/conf.d/modules or built into the kernel. In the future, this automatic loading will be dropped. X-Gentoo-Bug: 342313 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=342313
2016-08-15local.d/README: typo fixRaymond Jennings
X-Gentoo-Bug: 591258 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591258
2016-07-31init.d: Add runsvdir to ignore patternsWilliam Hubbs
2016-07-31init.d: initial service adjustments for docker supportWilliam Hubbs
Add -docker keyword to the same scripts that have -lxc keyword.
2016-07-31librc: fix Docker auto detectionWilliam Hubbs
The original auto detection of Docker containers assumed the presence of a container environment variable. However, Docker-1.12 does not implement this, and I'm not sure which versions of docker implemented it. The new test is for the presence of a file named .dockerenv in the root directory.
2016-07-27Add support for runitWilliam Hubbs
X-Gentoo-Bug: 501364 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=501364
2016-07-27init.d/sysctl.in: typo fixWilliam Hubbs
2016-07-26start-stop-daemon: Add SSD_IONICELEVELKenneth Lakin
This is the disk IO counterpart to SSD_NICELEVEL. Modified by William Hubbs to add the variable to the start-stop-daemon man page. This fixes #69.
2016-07-26init.d/loopback: remove unnecessary stop functionWilliam Hubbs
2016-07-26tmpfiles.sh: Support lines with q Q h HMartin Väth
btrfs support is not implemented yet (for q Q v), but at least tmpfiles.sh no longer chokes about tmpfiles.d lines of recent systemd versions This fixes #87.
2016-07-25tmpfiles: Accept filenames as command line argumentsMike Gilbert
This brings us closer to being able to use tmpfiles.sh as a full replacement for systemd-tmpfiles. This closes #83.
2016-07-25tmpfiles: Process command line before gathering config filesMike Gilbert
This is part of #83.
2016-07-25tmpfiles: Make unrecognized options fatalMike Gilbert
This is part of #83.
2016-07-25s6-guide: fix typoJakub Jirutka
This fixes #92.
2016-07-24rc-logger: refuse to cat TMPLOG into itselfDoug Freed
This prevents an infinite loop in case somebody decides to set rc_log_path to match TMPLOG.
2016-07-20etc: remove rc.conf.* file fragmentsWilliam Hubbs
2016-07-20etc: create default rc.confWilliam Hubbs
Before now, /etc/rc.conf was created by the build system from multiple rc.conf.* file fragments and there was no reason for this.
2016-07-19init.d: combine sysctl scriptsWilliam Hubbs
We had separate sysctl scripts for each operating system. However, there is no need to do this since we can detect the operating system at runtime with $RC_UNAME.
2016-07-19conf.d: remove staticroute file fragmentsWilliam Hubbs
2016-07-19conf.d: makestaticroute file staticWilliam Hubbs
2016-07-19conf.d: remove network file fragnentsWilliam Hubbs
2016-07-19conf.d: make network file staticWilliam Hubbs
2016-07-18modules: add support for FreeBSDWilliam Hubbs
This is based on a patch submitted by Joe Maloney <pkgdemonteam@gmail.com>. This fixes #91.
2016-07-18rc-status: add -m/--manual option to show manually started servicesWilliam Hubbs
X-Gentoo-Bug: 585906 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=585906
2016-07-16rc: Rename some static variables to kill warningsDoug Freed
2016-07-14Remove the DEBUG_MEMORY macroWilliam Hubbs
This fixes #43.