| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Update README.md
|
| |
| |
| | |
list not the link, but inside the linked dir.
|
|\ \
| | |
| | | |
Vlogger
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
fix(urandom): avoid uninitialized read during boot
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Regenerating the stored seed was an attempt to prevent hard shutdowns
from leading to seed reuse.
Unfortunately, this practice depletes any entropy that was added by
the seed.
Furthermore on newer kernels which do not credit entropy added from
userspace, the operation is often an uninitialized read of urandom.
|
|\ \ \ \
| | | | |
| | | | | |
fix(sysctl): behave more like sysctl --system
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Loading of sysctl.d directories should follow the same ordering and
overriding rules as xbps, modules-load, and most importantly,
`sysctl --system`.
This change ensures proper ordering of files loaded by building the
selected files then operating on them, and it allows for masking system
level configuration from /etc and even /run.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
These are used for virtual terminal/serial console on some
hypervisors (Xen) as well as many POWER based machines (the
OPAL firmware emulates these for serial as the OS has no
physical access to that).
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
This implements -w and -d.
Also add -B to create boot-time wtmp entries.
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't store the return value of getopt in a char. Storing in a char
and comparing against -1 breaks on ARM, where char is unsigned.
* The line argument to getline should point at a NULL char *. Otherwise,
getline will treat *line as a pointer to an allocated buffer. With
a little extra work, we could reuse the buffer, but always calling getline
with *line == NULL is safe.
Closes: #2 [via git-merge-pr]
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
If vlogger is symlinked to foo/log/run for some service foo,
it's invoked as ./run with $SERVICEDIR/foo/log as the cwd.
So extract the service name from cwd if argv[0] is ./run.
Also tag is initialized to the generic "vlogger" if it is
not given on the command line and servicename couldn't be extracted
from cwd.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
core-services/01-static-devnodes.sh: Honour modprobe blacklists
|
| | |
|
|\ \
| | |
| | | |
Fix "No devices found" error during shutdown
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes an issue introduced by voidlinux/void-runit#75 whereby
dmsetup returns "No devices found" on shutdown on systems with no
encrypted volumes, which is then interpreted as integral vaules "No",
"devices" and "found", resulting in Illegal number errors.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
core-services/00-pseudofs.sh: Add securityfs mountpoint - Needed for …
|
| |/ |
|
|\ \
| | |
| | | |
Fix another always succeeding test
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
mounted during shutdown (#75)
* deactivate_crypt should not try to close encrypted volumes that are still mounted during shutdown.
When shutting down or rebooting a system with full disk encryption (as per https://wiki.voidlinux.eu/install_LVM_LUKS and https://wiki.voidlinux.eu/install_LVM_LUKS_on_UEFI_GPT), deactivate_crypt will irrespectively try and close all encrypted partitions, including '/'. On some systems, (including my own) this causes lockups on shutdown or reboot.
This commit ensures that only encrypted volumes with nothing mounted are closed (which should only be '/' at that point in shutdown).
* Reduced if statement to a one liner
|