about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* vlogger.8: fix mdoc warningsDuncaen2018-06-201-3/+3
|
* vlogger: remove on make cleanDuncaen2018-06-201-1/+1
|
* vlogger: Fix symlinked ./run handling, make sure tag is initialized.Christopher Brannon2018-06-201-6/+25
| | | | | | | | | 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: exit if exec failsDuncaen2018-06-201-1/+4
|
* vlogger: strdup error checkDuncaen2018-06-201-4/+6
|
* vlogger: run /etc/vlogger with the same argv[0]Duncaen2018-06-201-2/+4
|
* vlogger: dont define _* namespaceDuncaen2018-06-201-1/+1
|
* Add vlogger(8)Duncaen2018-06-204-0/+252
| | | | | | | | | | | | | | | | | 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.
* Merge pull request #64 from dne/patch-1Enno Boland2018-06-131-1/+1
|\ | | | | core-services/01-static-devnodes.sh: Honour modprobe blacklists
| * core-services/01-static-devnodes.sh: Honour modprobe blacklistsDaniel Néri2017-02-121-1/+1
| |
* | Merge pull request #76 from Aloz1/crypt_no_devices_found 20171102Enno Boland2017-11-011-1/+1
|\ \ | | | | | | Fix "No devices found" error during shutdown
| * | Fix "No devices found" error during shutdownAloz12017-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Adjust options for cp command during install (#71)Khem Raj2017-10-251-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #67 from coredumb/apparmor_implementationToyam Cox2017-09-271-0/+1
|\ \ | | | | | | core-services/00-pseudofs.sh: Add securityfs mountpoint - Needed for …
| * | core-services/00-pseudofs.sh: Add securityfs mountpoint - Needed for LSM supportOlivier Mauras2017-03-211-0/+1
| |/
* | Merge pull request #61 from ackalker/fix-another-always-succeeding-testToyam Cox2017-09-271-1/+1
|\ \ | | | | | | Fix another always succeeding test
| * | Fix another always succeeding testAlain Kalker2016-09-291-1/+1
| | |
* | | deactivate_crypt should not try to close encrypted volumes that are still ↵ 20170907Aloz12017-09-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | shutdown: Quote command substitutionMatthew Martin2017-07-261-1/+1
| | |
* | | shutdown: Do not use variables in printf format stringMatthew Martin2017-07-261-5/+5
| | |
* | | shutdown: Combine sleeping blocksMatthew Martin2017-07-261-13/+9
| | |
* | | leahizeLeah Neukirchen2017-07-244-8/+8
| | |
* | | shutdown: delete empty /etc/nologin on -c.Leah Neukirchen2017-07-241-0/+3
| |/ |/| | | | | Fixes #73.
* | zzz.8: update author.Leah Neukirchen2017-01-071-2/+2
| |
* | zzz: -Z doesn't take arguments.Leah Neukirchen2017-01-071-1/+1
| |
* | Merge pull request #57 from suiginsoft/masterEnno Boland2016-10-211-1/+1
|\ \ | |/ |/| Make crypt.awk work with other awk(1) variants.
| * Merge branch 'master' of https://github.com/voidlinux/void-runitsuigin2016-10-181-1/+1
| |\ | |/ |/|
* | Fix always succeeding test (#60)Alain Kalker2016-09-291-1/+1
| | | | | | | | `test /bin/agetty` always succeeds because '/bin/agetty' is a non-empty string.
| * Updated fix to crypt.awk so that it works with gawk, mawk, and nawk.suigin2016-09-201-1/+1
| | | | | | | | | | Furthermore, works with bash, dash or mksh set as the default /bin/sh through xbps-alternatives.
| * Merge branch 'master' of https://github.com/voidlinux/void-runitsuigin2016-09-201-0/+2
| |\ | |/ |/|
* | Merge pull request #56 from jantatje/static-kernelEnno Boland2016-09-051-0/+2
|\ \ | | | | | | Do not try to load modules if kernel doesn't support modules.
| * | Do not try to load modules if kernel doesn't support modules.Jan Tatje2016-09-021-0/+2
|/ /
| * Make crypt.awk work with other awk(1) variants.suigin2016-09-031-1/+1
|/ | | | | | | | | | | Change use of the coprocess pipe operator, a GNU extension, to a regular pipe when reading data back from blkid(8). Since we aren't piping data to blkid(8) and then reading it back, we only need a regular pipe and getline here anyway. Without this change, using mawk(1) as the default awk on Void results in failure when parsing /etc/crypttab and dumps us to a rescue shell on boot.
* 00-pseudofs.sh: create /run/lock and /run/log 20160826Duncaen2016-08-251-1/+1
|
* Fix mounting devtmpfs. (#54)Jan Tatje2016-08-221-1/+1
| | | mount was missing the path argument, this breaks booting with custom kernel and initramfs.
* Merge pull request #52 from zqqw/sulogin_optsToyam Cox2016-06-171-1/+2
|\ | | | | sulogin OPTS
| * sulogin OPTSzqqw2016-06-171-1/+2
|/ | | | | | https://forum.voidlinux.eu/t/rescue-mode-sulogin/561/12 Allows rescue mode to be configured to work with a locked root account and sudo. Thanks to Duncaen.
* Add modules-load.8Peter Bui2016-06-022-0/+53
| | | | | | Tweaks for mdoclint. Closes: #51 [via git-merge-pr]
* fix the broken font setting (#47) 20160525chinarulezzz2016-05-251-0/+0
|
* Import and mount ZFS at boot time (#46)Dominik Honnef2016-05-251-0/+16
|
* core-services: load kmods before mounting filesystems (close #39). 20160419Juan RP2016-04-191-0/+0
|
* Merge pull request #45 from renatoaguiar/suspend-hybridJuan RP2016-04-192-4/+9
|\ | | | | zzz: add suspend-hybrid support
| * zzz: add suspend-hybrid supportRenato Aguiar2016-04-182-4/+9
|/
* Manpage tweaksChristian Neukirchen2016-01-044-20/+23
|
* Merge pull request #43 from CMB/hostname 20151111Enno Boland2015-11-111-1/+1
|\ | | | | Don't output newline to /proc file when setting hostname.
| * Don't output newline to /proc file when setting hostname.Christopher Brannon2015-11-111-1/+1
|/ | | | | | This breaks in certain combinations of echo command and standard library, notably musl and bash builtin echo, or coreutils echo + musl.
* Merge pull request #42 from suiginsoft/master 20151108Juan RP2015-11-081-23/+24
|\ | | | | Added support for detached LUKS headers, keyfile offset and keyfile size.
| * Added support for LUKS headers, keyfile offset and size.suigin2015-11-071-23/+24
|/ | | | | Additionally, fixed problem where discard and readonly options were only recognized for plain/swap crypt devices but not LUKS devices.
* Merge pull request #41 from Duncaen/masterJuan RP2015-11-061-1/+1
|\ | | | | agetty-generic: fix strange space substitution
| * agetty-generic: fix strange space substitutionDuncaen2015-11-051-1/+1
|/