aboutsummaryrefslogtreecommitdiff
path: root/init.d
AgeCommit message (Collapse)Author
2018-02-27cgroups: fix indentationWilliam Hubbs
2018-02-26cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1William Hubbs
2018-02-23improve cgroup configuration checksWilliam Hubbs
make the base/controller functions return successfully if cgroups v1/v2 are not configured in the kernel
2018-01-05net-online: only process symbolic links in /sys/class/net3PO
The /sys/class/net directory contains files which are not symlinks if the system has bonded devices [1]. We should ignore these files. This fixes #196. [1] https://elkano.org/blog/manage-interface-bondings-sysfs-interface/
2017-12-14procfs: remove the @sysconfdir@ referenceWilliam Hubbs
2017-12-14hostname: replace @SYSCONFDIR@ references with /etcWilliam Hubbs
I do not know of any situation where /etc/hostname is at any other location. Also, this does not run on prefix.
2017-12-14hwclock: use shell variables for configuration file pathWilliam Hubbs
This removes a reference to @SYSCONFDIR@.
2017-12-14sysctl: hard code paths for sysctl files on *bsdWilliam Hubbs
For *BSD,the sysctl*.conf files are always in /etc.
2017-12-14local: misc cleanupsWilliam Hubbs
Remove references to @SYSCONFDIR@ since these can be calculated at runtime. Also style fixes.
2017-12-14devfs: cleanupWilliam Hubbs
clean up local definitions. Also remove @SYSCONFDIR@ substitutions since they can be calculated at runtime.
2017-12-12net-online: wait for ping_test_hostbell07
The script should wait till the ping host is available or timeout reached Closes : #179 Closes : #191
2017-12-12network: use 'command -v ip' to test for the ip executableWilliam Hubbs
This is an improved test because it doesn't require the ip executable to be in a specific path.
2017-12-12Do not use file tests in net-onlineWilliam Hubbs
https://unix.stackexchange.com/questions/252002/help-testing-special-file-in-sys-class-net This is for #189
2017-12-11net-online: clean up quoting and test for existenceWilliam Hubbs
This is for #178.
2017-12-11Gracefully handle unreadable /sys/class/net/dev/ nodesMarcel Greter
Fixes https://bugs.gentoo.org/629228 Fixes #189 Fixes #185 Fixes #178
2017-11-28split cgroups mounting out of sysfsWilliam Hubbs
This is neceessary to allow cgroups to be mounted in an lxc/lxd container. Fixes https://github.com/openrc/openrc/issues/187
2017-11-14strongly encourage Linux users to not make /etc/mtab a flat fileWilliam Hubbs
The OpenRC team does not currently know of any modern linux tools that require /etc/mtab to be a flat file, so this puts users on notice that the mtab service will be removed in the future.
2017-11-14adjust mtab and localmount dependenciesWilliam Hubbs
localmount had mtab in its "use" dependencies; however, it makes more sense to add "before localmount" to the mtab service and remove "use mtab" from the localmount service.
2017-10-10typo fixWilliam Hubbs
2017-10-09init.d/sysfs.in: fix reference to RC_LIBEXECDIRWilliam Hubbs
The sysfs init script referred to @LIBEXECDIR@ before this change, but it is better to refer to RC_LIBEXECDIR so that we get rid of a sed substitution.
2017-10-06add option to make agetty startup quietChris Cromer
This fixes #150
2017-09-16sysfs: fix cgroup hybrid modeWilliam Hubbs
In hybrid mode, we should not try to mount cgroup2 if it is not available in the kernel. This fixes #164.
2017-09-14add support for control groups version 2William Hubbs
This is for #94.
2017-06-13init.d/sysfs: mount efivars read onlyWilliam Hubbs
This fixes #134.
2017-06-12init.d/hostname: fix default parameter syntaxNuno Silva
The syntax for expanding a variable with a default value is ${parameter:-word} not ${parameter-word} although the latter still works for a reason I could not explain. This fixes #143.
2017-06-12init.d/hostname: fix indentationNuno Silva
This is for #143.
2017-06-05init.d/bootmisc: use openrc-shutdown instead of halt to write halt recordWilliam Hubbs
This fixes #139 and fixes #128. and fixes #124.
2017-05-30Change killprocs to use kill_all instead of killall5William Hubbs
X-Gentoo-Bug:376977 X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
2017-05-22typo fixWilliam Hubbs
X-Gentoo-Bug: 618888 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=618888
2017-04-10bootmisc: do not remove ld-elf32.so.hintsi.Dark_Templar
File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib This fixes #125.
2017-04-05Fix make install on FreeBSD: don't try to install /etc/init.d/modules twicei.Dark_Templar
2017-03-31init.d/agetty.in: add -prefix keywordWilliam Hubbs
2017-03-31init.d/mount-ro: change dependency on killprocs and savecache to afterWilliam Hubbs
killprocs always succeeds and savecache is not required by mount-ro, so we can just start after both of these have run.
2017-03-28init.d: add agetty to ignore patternsWilliam Hubbs
2017-03-16update dependencies for clock serviceWilliam Hubbs
The clock services had a very long list of "before" dependencies that referred to other services within OpenRC. For ease of maintenance, convert these to "after clock" dependencies in the individual services.
2017-03-14Remove all occurances of 'before *' from dependenciesWilliam Hubbs
Using wildcards in dependencies causes issues when rc_parallel is set to yes because it can lead to deadlocks. All dependencies need to be explicit rather than implicit. This is the first stage of moving this direction.
2017-03-12init.d/sysfs.in: efivarfs tweaksWilliam Hubbs
Since we check for /sys/firmware/efi/efivars, we do not need to check for /sys/firmware/efi Since Failing to mount efivarfs is not critical, we silence the error message from mount.
2017-03-09add agetty serviceWilliam Hubbs
The agetty service is an alternate way to manage gettys with agetty under Linux which is separate from an external init system.
2017-03-08init.d/sysfs: drop modules completely from the dependenciesWilliam Hubbs
This is for #112.
2017-03-07init.d/sysfs: Do not load efivarfs moduleWilliam Hubbs
My understanding is that the kernel can autoload this module. If it doesn't, the module should be built in or loaded from an initramfs. This fixes https://github.com/openrc/openrc/pulls/112.
2017-02-28make sure netmount and localmount start after rootWilliam Hubbs
2017-02-26net-online: typo fixWilliam Hubbs
2017-02-26net-online: updates to make the service more usableWilliam Hubbs
- switch from attempting to ping the default gateway to a host outside the local network, defaulting to google.com. - along with this, change the name of the variable that requests a ping test to include_ping_test so the meaning is more clear.
2016-12-21loopback: drop explicit route for BSD tooDoug Freed
2016-12-17modules: get rid of printing each module on LinuxWilliam Hubbs
Now that we respect the module blacklists, don't print every module we try to load, because it might not end up loaded due to the blacklist, and modprobe doesn't consider that a failure.
2016-12-17localmount: add comment about types variableDoug Freed
2016-12-17Localmount shouldn't mount remote filesystemsAlan Somers
The /etc/init.d/localmount script has a syntax error that causes it to attempt to mount remote filesystems, causing the boot to fail. The script appends a "no" to each remote filesystem type, but it should only be append the "no" to the beginning of the list. This patch fixes localmount on FreeBSD 12.0. A review of the mount(8) manpage on Ubuntu 12.04 suggests that this patch is correct for Linux, too.
2016-12-01split tmpfiles processing into opentmpfilesWilliam Hubbs
The openntmpfiles package is designed so that it can be used on systems independently of whether openrc is used.
2016-11-03init.d/loopback.in: drop the route to the loopback interface on LinuxWilliam Hubbs
This is related to #103.
2016-11-03init.d/mount-ro: do not remount /usr read only if it is premountedWilliam Hubbs
X-Gentoo-Bug: 573760 X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573760