Age | Commit message (Collapse) | Author |
|
make the base/controller functions return successfully if cgroups v1/v2
are not configured in the kernel
|
|
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/
|
|
|
|
I do not know of any situation where /etc/hostname is at any other
location. Also, this does not run on prefix.
|
|
This removes a reference to @SYSCONFDIR@.
|
|
For *BSD,the sysctl*.conf files are always in /etc.
|
|
Remove references to @SYSCONFDIR@ since these can be calculated at
runtime.
Also style fixes.
|
|
clean up local definitions. Also remove @SYSCONFDIR@ substitutions since
they can be calculated at runtime.
|
|
The script should wait till the ping host is available or timeout reached
Closes : #179
Closes : #191
|
|
This is an improved test because it doesn't require the ip executable to be
in a specific path.
|
|
https://unix.stackexchange.com/questions/252002/help-testing-special-file-in-sys-class-net
This is for #189
|
|
This is for #178.
|
|
Fixes https://bugs.gentoo.org/629228
Fixes #189
Fixes #185
Fixes #178
|
|
This is neceessary to allow cgroups to be mounted in an lxc/lxd
container.
Fixes https://github.com/openrc/openrc/issues/187
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
This fixes #150
|
|
In hybrid mode, we should not try to mount cgroup2 if it is not
available in the kernel.
This fixes #164.
|
|
This is for #94.
|
|
This fixes #134.
|
|
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.
|
|
This is for #143.
|
|
This fixes #139 and fixes #128.
and fixes #124.
|
|
X-Gentoo-Bug:376977
X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
|
|
X-Gentoo-Bug: 618888
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=618888
|
|
File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib
This fixes #125.
|
|
|
|
|
|
killprocs always succeeds and savecache is not required by mount-ro, so
we can just start after both of these have run.
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
The agetty service is an alternate way to manage gettys with agetty
under Linux which is separate from an external init system.
|
|
This is for #112.
|
|
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.
|
|
|
|
|
|
- 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.
|
|
|
|
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.
|
|
|
|
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.
|
|
The openntmpfiles package is designed so that it can be used on systems
independently of whether openrc is used.
|
|
This is related to #103.
|
|
X-Gentoo-Bug: 573760
X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573760
|
|
X-Gentoo-Bug: 598621
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=598621
|
|
Busybox does not support the 'scope' argument on 'ip address add' or 'ip
route add', this is documented in BUSYBOX.md, but is no longer actually
needed, as the kernel does get it right without manual specification,
and the ifconfig variant already relies on the kernel to get it right.
This is part of #103.
X-Gentoo-Bug: 487208
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487208
|