aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-03libeinfo: add separate variable to suppress eerror messagesWilliam Hubbs
Add an EERROR_QUIET environment variable which works like EINFO_QUIET but for the eerror functions. This will allow library consumers to choose whether to suppress eerror messages separately from einfo and ewarn messages. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
2013-09-01init.d: update ignore patternsWilliam Hubbs
Remove net.lo* from the ignore pattern since these scripts are no longer part of OpenRC and add loopback and tmpfiles.dev.
2013-08-28libeinfo: suppress output for eerror* functionsWilliam Hubbs
This makes the eerror* functions honor the EINFO_QUIET environment variable like the einfo* and ewarn* functions. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
2013-08-27Revert "Libeinfo: do not suppress ewarn() messages"William Hubbs
This reverts commit 4ee62c7903c65557c493f51d6703264a816156cd. The previously referenced commit broke consistency because ewarnx() was respecting the EINFO_QUIET environment setting, but after this commit, ewarn() was not. Also, due to discussion on the below referenced bugs, I think we do want to suppress warnings when EINFO_QUIET=yes. X-Gentoo-Bug: 482396 X-Gentoo-Bug: 439174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439174
2013-08-26start-stop-daemon: remove redundant test of the quiet valueWilliam Hubbs
The einfo() function tests for the EINFO_QUIET environment variable directly, and this is the variable that is set by the --quiet flag, so there was no reason for this test to exist.
2013-08-26start-stop-daemon: fix --quiet switchWilliam Hubbs
The --quiet switch wasn't really quiet, because we changed it to report errors. I am changing it back due to discussions on the listed bugs. X-Gentoo-Bug: 482396 X-Gentoo-Bug: 439174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439174
2013-08-24increment versionWilliam Hubbs
2013-08-24man/runscript.8: minor grammar fixesWilliam Hubbs
2013-08-15fix typo on runscript man pageWilliam Hubbs
The example code had an invalid checkpath option (--dir instead of --directory) and a mode that does not make sense for directories (664 instead of 775). X-Gentoo-Bug: 481034 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=481034
2013-08-14typo fixWilliam Hubbs
2013-08-14add note to README about the net.* scripts moving to their own packageWilliam Hubbs
2013-08-13Remove gentoo's net.* scriptsWilliam Hubbs
It has been determined that it will be best for gentoo's net.* scripts to be in a separate package to allow independent development. This package will be called netifrc and maintained by Gentoo.
2013-08-13Clarify the documentation about the restart functionWilliam Hubbs
Restart has never been able to be overridden in OpenRc, but there is a way to make your service script behave differently when restart is being executed. X-Gentoo-Bug: 480866 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480866
2013-08-06Fix Permission Denied on reading dmesg in an LXC containerFedja Beader
2013-07-31devfs: Add -lxc keywordAlexander V Vershilov
Devfs is not needed for LXC, as LXC mounts all required fs on it's own. Reported by specing.
2013-07-27tmpfiles: do not signal an error if device nodes already existDirk Sondermann
X-Gentoo-Bug: 478336 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478336
2013-07-26swapfiles: do not try to unmount all tmpfs mountsWilliam Hubbs
This is handled in the swap script, so it should not be done here as well. X-Gentoo-Bug: 477534 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477534
2013-07-25Add support for DragonFly BSDGary
2013-07-25rc-cgroup: make sure the tasks file exists before adding the pidWilliam Hubbs
2013-07-25Introduce the tmpfiles.dev serviceWilliam Hubbs
This service handles setting up the tmpfiles entries for the /dev directory for Linux systems which needs to be run in the sysinit runlevel.
2013-07-25tmpfiles: add --prefix and --exclude-prefix optionsWilliam Hubbs
2013-07-23tmpfiles: make b and c commands set ownership and permissionsWilliam Hubbs
The b and c commands in tmpfiles.sh were not setting ownership and permissions for the device nodes.
2013-07-19rc-status: fix typoAlexander V Vershilov
X-Gentoo-Bug: 477318 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477318
2013-07-16typo fixHank Leininger
X-Gentoo-Bug: 477006 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477006
2013-07-16rc-status: fix -a to show all servicesAlexander V Vershilov
We need to unset rc_svcname so that all of the services are added to the list to display. X-Gentoo-Bug: 409787 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=409787
2013-07-05cgroups: change '$$' to 0 for consistencyWilliam Hubbs
2013-07-05Merge branch 'cgroup.systemd'William Hubbs
Conflicts: sh/rc-cgroup.sh.in
2013-07-01Put a service on into a top hierarchy of each cgroupAlexander V Vershilov
This change will fix unwanted cgroup inheriting from user cgroups, and fixes issues with systemd cgroup tracking by logind. However this fix can lead to incorrect work for some user cgroup controllers - so more advanced solution, that coveres such cases will be created later. Thanks to Fabio Erculiani (lxnay) for testing and general idea.
2013-06-25Merge branch 'gentoo'William Hubbs
This syncs the gentoo master branch to github.
2013-06-25cgroups: add support for systemd cgroup hierarchyWilliam Hubbs
The systemd cgroup hierarchy support is being added so we can run logind outside of systemd. This is needed because software that was using consolekit is now migrating to logind. We do not create this hierarchy, we just add services to it if it exists.
2013-06-24Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrcRobin H. Johnson
2013-06-24efivarfs: Support EFI variable access in 3.10 kernels.Robin H. Johnson
In the 3.10 kernel, EFI variables are now provided by a dedicated filesystem that needs to be mounted. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2013-06-24efivarfs: Support EFI variable access in 3.10 kernels.Robin H. Johnson
In the 3.10 kernel, EFI variables are now provided by a dedicated filesystem that needs to be mounted. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2013-06-16Fix quoting in cgroup-release-agentAlexander V Vershilov
2013-06-16cgroups: hide messages about non-existent processesAlexander V Vershilov
2013-05-25runscript.sh: run cgroup_cleanup automatically after stopWilliam Hubbs
2013-05-25rc_cgroup.sh: fix typoAlexander V Vershilov
This fixes an incorrect variable assignment in cgroup_get_pids
2013-05-07Fix wrong wording in STYLEAlexander Berntsen
2013-05-07Document busybox applet incompatibilitiesWilliam Hubbs
Reported-by: slong@rathaus.eclipse.co.uk X-Gentoo-Bug: 468396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468396
2013-05-05fix setfont detection in early startup on LinuxWilliam Hubbs
Most of the time, setfont is an external command (part of the kbd package), but it can also be a builtin if busybox is being used. This corrects the test in early startup to work for both cases. I would like to thank Steve L. for pointing this out.
2013-05-02Add service appletWilliam Hubbs
The service applet is equivalent to rc-service. This was added so that we will be more compatible with Debian and Fedora. Reported-by: cardoe@gentoo.org X-Gentoo-Bug: 468168 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468168
2013-05-01fix the build for non-selinux systemsWilliam Hubbs
The symlinks should be created only if MKSELINUX=yes, not if it just has a value.
2013-04-28rc: allow switching runlevels without stopping servicesWilliam Hubbs
OpenRC, by default, stops all services that are not listed in a runlevel when rc is used to switch runlevels. This adds a -n/--no-stop command line option to rc which tells it to skip stopping the services which are not in the runlevel. Reported-by: gentoo@thoth.purplefrog.com X-Gentoo-Bug: 372585 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=372585
2013-04-27fsck: fix typoEugeny Shkrigunov
X-Gentoo-Bug: 467158 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
2013-04-25add cgroup cleanup supportAlexander Vershilov
This adds the ability to kill all processes within a service's cgroup when that service is stopped or restarted.
2013-04-09Fix autodetection of lxcNatanael Copa
The /proc/1/environ contains various \0 terminated strings. The current code will only work when the search string is in the first of those. To fix this we look for strings in entire buffer. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
2013-04-08create loopback serviceWilliam Hubbs
The loopback service handles the basic settings for the loopback interface, regardless of the network manager you are using.
2013-04-03migrate-to-run: fix test for successful migrationWilliam Hubbs
This script originally tested the file system type for the source location of the data we were migrating to determine if the migration was complete. Now we test the destination, and if the softlevel file is there the migration was successful. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com>
2013-03-22localmount: add "no" in front of network file system typesWilliam Hubbs
On Linux, this was not an issue, but we may have been attempting to mount network file systems twice on *bsd. Reported-by: powerman-asdf@yandex.ru x-Gentoo-Bug: 462210 x-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=462210
2013-03-20runscript: update documentation for the provide functionWilliam Hubbs
Explain that virtual services take precedence over real services and recommend that virtual services have different names from real services. Reported-by: me@2gw.net X-Gentoo-Bug: 461818 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=461818