| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The RNG can't actually be seeded from a shell script, due to the
reliance on ioctls. For this reason, the seedrng project provides a
basic script meant to be copy and pasted into projects like void-runit
and tweaked as needed: <https://git.zx2c4.com/seedrng/about/>.
This commit imports it into void-runit and wires up the init scripts to
call it. This also is a significant improvement over the current init
script, which fails to remove seed files that have already been used, or
to ratchet them forward.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vlogger(8) is a alternative to logger(1), by default it sends messages
from stdin to syslog.
The main reason to replace logger(1) is, that logger only connects once to
the syslog socket in default mode and puts all messages into the void if
syslog is not running at the time.
logger(1) has a new `--socket-errors=on` mode which would work, but some
void uses don't use syslog at all and in this case the log service would
constantly restart.
As a bonus vlogger(8) looks for /etc/vlogger and if its executable it
just executes it and is replaced by it.
This can be used to avoid syslog and just write all logs to files with
svlogd(8) as example, without having to edit all log services.
|
|
|
|
|
|
|
|
|
|
|
| |
cp -a copies the attributes of build user
which may be different from the user on target
in cross compile environment
Fixes errors like
/runit-services/etc/sv/sulogin/run is owned by uid 1000, which is the same as the user running bitbake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Tweaks for mdoclint.
Closes: #51 [via git-merge-pr]
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
add a script to handle more crypttab options
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
The real files are created in stage 1, this way a read-only rootfs can
be used to reboot/halt properly the system.
|
| |
|
|
|
|
|
|
|
|
|
| |
- /etc/runit/functions: contains common functions to be used in core-services.
- /etc/runit/core-services: directory containing one-time tasks run in stage 1.
- Added LXC container detection to disable some core services.
This accidentally also fixes the issue of unicode not working in the active
TTY from stage 1.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
I did not use ignite because it needs bash, and I don't really want it.
|