Age | Commit message (Collapse) | Author |
|
Add a title, adjust the headings and update the example that referred to
"net.lo" to refer to "loopback".
|
|
This fixes #162.
|
|
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/
|
|
This removes the @VARBASE@ substitution since it is always translated to
/var.
|
|
|
|
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 fixes #188.
|
|
This works like the other --if options. If the service is crashed, run
the command.
This fixes #154.
|
|
This function should only be called once and it does not take any
arguments.
X-Gentoo-Bug: 639166
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=639166
|
|
|
|
rc_deptree_update_needed would return early as soon as it found
any file newer than the existing dependency cache. Unfortunately,
the first file found may not be the newest one there; so the
clock skew workaround in rc-misc:_rc_deptree_load would be given
a timestamp that was still too old.
This fix forces a full scan of all relevant files, so as to
ensure that we return a timestamp that will allow the clock skew
fix to operate. The runtime cost is no worse than the case where
the cache is up to date (ie. we must check every possible file).
This fixes #161.
|
|
This is for #184.
|
|
Add the following variables to expose more arguments that can be passed
to start-stop-daemon or supervise-daemon:
- directory will be passed to --chdir
- error_log will be passed to --stderr
- output_log will be passed to --stdout
- umask will be passed to umask
This is for #184.
|
|
X-Gentoo-Bug: 639218
X-Gentoo-Bug-URL: https://bugs.gentoo.org/639218
|
|
This is neceessary to allow cgroups to be mounted in an lxc/lxd
container.
Fixes https://github.com/openrc/openrc/issues/187
|
|
This is for #186.
|
|
This avoids trying to kill everything.
X-Gentoo-Bug: 631958
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=631958
|
|
Add the ability to force-kill a service if it does not go down
successfully. Also, adjust the default wait time for an s6 service to go
down to 60 seconds.
|
|
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.
|
|
Ignore namespaces if there are errors reading either the pid namespace
for the current process or the process we aare testing.
This fixes https://github.com/openrc/openrc/issues/180.
|
|
X-Gentoo-Bug: 636574
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=636574
|
|
|
|
This makes ps show which service the supervisor is monitoring.
|
|
|
|
|
|
|
|
|
|
|
|
The unsupervised status is to be used when a supervisor of a supervised
service dies but leaves the service daemon itself running.
|
|
This allows us to detect when the supervisor dies unexpectedly because
in that case child_pid will still exist.
|
|
This allows the equivalent of "unsetting" a value for a service.
|
|
|
|
- do not sleep for the full 90 seconds if processes are dead
- re-arrange the order of signals we attempt to send to the processes
|
|
This is to be used if the service is being supervised and the
supervisor is somehow killed.
Currently, this is very linux specific, but I will expand to other
platforms, patches are welcome.
|
|
X-Gentoo-Bug: 635334
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=635334
|
|
|
|
|
|
X-Gentoo-Bug: 634634
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=634634
|