summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix cgroup_cleanup functionopenrc-0.12.1William Hubbs2013-10-02
| | | | | | | | The yesno test for rc_cgroup_cleanup belongs at the point where this function is called from runscript, not in the function itself. X-Gentoo-Bug: 486210 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=486210
* start work on OpenRC 0.12.1William Hubbs2013-10-02
|
* typo fixopenrc-0.12William Hubbs2013-08-14
|
* add note to README about the net.* scripts moving to their own packageWilliam Hubbs2013-08-14
|
* Remove gentoo's net.* scriptsWilliam Hubbs2013-08-13
| | | | | | 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.
* Clarify the documentation about the restart functionWilliam Hubbs2013-08-13
| | | | | | | | | 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
* Fix Permission Denied on reading dmesg in an LXC containerFedja Beader2013-08-06
|
* devfs: Add -lxc keywordAlexander V Vershilov2013-07-31
| | | | | Devfs is not needed for LXC, as LXC mounts all required fs on it's own. Reported by specing.
* tmpfiles: do not signal an error if device nodes already existDirk Sondermann2013-07-27
| | | | | X-Gentoo-Bug: 478336 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478336
* swapfiles: do not try to unmount all tmpfs mountsWilliam Hubbs2013-07-26
| | | | | | | | 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
* Add support for DragonFly BSDGary2013-07-25
|
* rc-cgroup: make sure the tasks file exists before adding the pidWilliam Hubbs2013-07-25
|
* Introduce the tmpfiles.dev serviceWilliam Hubbs2013-07-25
| | | | | | This service handles setting up the tmpfiles entries for the /dev directory for Linux systems which needs to be run in the sysinit runlevel.
* tmpfiles: add --prefix and --exclude-prefix optionsWilliam Hubbs2013-07-25
|
* tmpfiles: make b and c commands set ownership and permissionsWilliam Hubbs2013-07-23
| | | | | The b and c commands in tmpfiles.sh were not setting ownership and permissions for the device nodes.
* rc-status: fix typoAlexander V Vershilov2013-07-19
| | | | | X-Gentoo-Bug: 477318 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477318
* typo fixHank Leininger2013-07-16
| | | | | X-Gentoo-Bug: 477006 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477006
* rc-status: fix -a to show all servicesAlexander V Vershilov2013-07-16
| | | | | | | | 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
* cgroups: change '$$' to 0 for consistencyWilliam Hubbs2013-07-05
|
* Merge branch 'cgroup.systemd'William Hubbs2013-07-05
|\ | | | | | | | | Conflicts: sh/rc-cgroup.sh.in
| * Put a service on into a top hierarchy of each cgroupAlexander V Vershilov2013-07-01
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrcRobin H. Johnson2013-06-24
| |\
* | | Merge branch 'gentoo'William Hubbs2013-06-25
|\| | | | | | | | | | | This syncs the gentoo master branch to github.
| * | efivarfs: Support EFI variable access in 3.10 kernels.Robin H. Johnson2013-06-24
| | | | | | | | | | | | | | | | | | | | | 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>
* | | cgroups: add support for systemd cgroup hierarchyWilliam Hubbs2013-06-25
| |/ |/| | | | | | | | | | | | | 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.
* | efivarfs: Support EFI variable access in 3.10 kernels.Robin H. Johnson2013-06-24
| | | | | | | | | | | | | | 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>
* | Fix quoting in cgroup-release-agentAlexander V Vershilov2013-06-16
| |
* | cgroups: hide messages about non-existent processesAlexander V Vershilov2013-06-16
|/
* runscript.sh: run cgroup_cleanup automatically after stopWilliam Hubbs2013-05-25
|
* rc_cgroup.sh: fix typoAlexander V Vershilov2013-05-25
| | | | This fixes an incorrect variable assignment in cgroup_get_pids
* Fix wrong wording in STYLEAlexander Berntsen2013-05-07
|
* Document busybox applet incompatibilitiesWilliam Hubbs2013-05-07
| | | | | | Reported-by: slong@rathaus.eclipse.co.uk X-Gentoo-Bug: 468396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468396
* fix setfont detection in early startup on LinuxWilliam Hubbs2013-05-05
| | | | | | | 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.
* Add service appletWilliam Hubbs2013-05-02
| | | | | | | | | 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
* fix the build for non-selinux systemsWilliam Hubbs2013-05-01
| | | | | The symlinks should be created only if MKSELINUX=yes, not if it just has a value.
* rc: allow switching runlevels without stopping servicesWilliam Hubbs2013-04-28
| | | | | | | | | | | 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
* fsck: fix typoEugeny Shkrigunov2013-04-27
| | | | | X-Gentoo-Bug: 467158 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
* add cgroup cleanup supportAlexander Vershilov2013-04-25
| | | | | This adds the ability to kill all processes within a service's cgroup when that service is stopped or restarted.
* Fix autodetection of lxcNatanael Copa2013-04-09
| | | | | | | | | 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>
* create loopback serviceWilliam Hubbs2013-04-08
| | | | | The loopback service handles the basic settings for the loopback interface, regardless of the network manager you are using.
* migrate-to-run: fix test for successful migrationWilliam Hubbs2013-04-03
| | | | | | | | | 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>
* localmount: add "no" in front of network file system typesWilliam Hubbs2013-03-22
| | | | | | | | | 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
* runscript: update documentation for the provide functionWilliam Hubbs2013-03-20
| | | | | | | | | 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
* config: move rc_fuser_timeout to rc.confWilliam Hubbs2013-03-12
| | | | | I was told that fuser does exist on *bsd, so this will need to bee supported there. This moves the timeout setting to rc.conf.
* Make fuser command time outWilliam Hubbs2013-03-12
| | | | | | | | | | | | This avoids situations in which fuser hangs because of open files on remote file systems when the remote system goes down. I have also passed this bug on to the maintainers of psmisc since it should really be fixed in fuser. This is based on a patch submitted by evermind@tuxfamily.org Reported-by: evermind@tuxfamily.org X-Gentoo-Bug: 455458 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=455458
* tmpfiles: add support for the new X line typeWilliam Hubbs2013-03-11
| | | | | | | | | | | | tmpfiles now has a new line type, X, which is similar to the x line type used by the cleanup function. This is not supported yet by OpenRc, because we do not have the cleanup function in tmpfiles.sh, so I have added a dummy procedure for it so we don't get complaints about this line type. Reported-by: mgorny@gentoo.org X-Gentoo-Bug: 460880 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=460880
* oldnet: convert netmask to decimal numbers in _netmask2cidrYuta SATOH2013-03-08
| | | | | | | | | | Free BSD's ifconfig outputs a netmask in the form 0xffffff00, which was translating to 0xff.0xff.0xff.0x00,. Now we convert this to decimal numbers before we convert it to cidr notation. Reported-by: 4glitch@gmail.com X-Gentoo-Bug: 460268 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=460268
* ipfw: change opts variable to extra_commandsWilliam Hubbs2013-03-06
| | | | | | Reported-by: 4glitch@gmail.com X-Gentoo-Bug: 459694 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=459694
* local.d: update READMEWilliam Hubbs2013-02-25
| | | | | | | | | Remind users that if they put a long-running process in /etc/local.d, they can delay their boot or shutdown processing. Reported-by: toralf.foerster@gmx.de X-Gentoo-Bug: 456650 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=456650
* rc-service: add usage messageAndrew Gregory2013-02-25
| | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>