Age | Commit message (Collapse) | Author |
|
The interface changed slightly, from "-p <file>" to
"-p<file>", compared with procps.
Reported-by: Boris <projekte@public-files.de>
Suggested-by: Eric Belanger <eric@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This avoids hangs due to '0' not being found and the system attempting to
look it up over ldap.
Suggested-by: Laurent Rahuel <laurent.rahuel@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
This makes sure the correct keymap is set before asking users for input
and it avoids (to the extent possible) fonts getting garbled when the font
is set.
Fixes: FS#29646 and FS#25599
Reported-by: Mathieu Pasquet <mathieui@mathieui.net>
Reported-by: <marcin2006@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is deprecated by netcfg, so no need to keep documenting it. It stil
works as before, but we don't want to encourage its use.
Requested-by: Jouke Witteveen <j.witteveen@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
We should point to the manpage rather than rc.conf.
Fixes: FS#29494
Reported-by: Jason St. John <jstjohn@purdue.edu>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
If LANG is never set by /etc/locale.conf or /etc/rc.conf, ensure that we
fall back on LANG=C.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
We don't care about the side effects of the subshell created by the
pipe since everything is localized within this function. Use the more
"canonical" syntax. This should stop the recurring bug reports that we
seem to get from people who think they understand Bash syntax, e.g.
FS#27203
FS#28331
FS#29145
FS#28582
FS#27098
FS#29496
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Both the old and the new location works at the moment, but we want to remove the
symlink, so change to the new location.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This should have been done together with cb1ddfc15431f2e6498c93cd4da53e14f1147659.
Mea culpa.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Reported-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This will be enabled in the next release once we can coordinate with systemd.
I'd also like to document the other formats (tmpfiles, sysctl) at the same time.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This is the standard location with the new bash-completinos package.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
There is no reason not to use a keyfile, and allowing literal passphrases
in crypttab has caused issues with the parsing in the past. Furthermore,
it is not supported by any other crypttab implementation (to the best of my
knowledge). The use of keyfiles have been the recomendation in /etc/crypttab
for as long as I can remember.
We are looking at refactoring the encryption support, and I think it makes
sense to drop support for this when we move to the new implementation.
Cc: Thomas Bächler <thomas@archlinux.org>
Cc: Matthew Monaco <matt@0x01b.net>
Cc: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
No functional change, just improve readability.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
dm-mod and dm-crypt will be autoloaded when needed (at least on kernels
newer than 2.6.36).
The rtc modules should be compiled in, as they have been in the official
kernels for some time.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
We haven't had the static binary in nearly 2 years, so simply call this
without a PATH lookup.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Avoid global variables, and make things clearer.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Fixes FS#28947.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
this will avoid filesytem to be mounted at every startup if not binfmt is used
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
Conflicts:
Makefile
|
|
This patch revert patch 042d197b4d989ec64.
NEED_ROOT was introduced to fix bug FS#24095. But in fact it doesn't solve it
because nobody use it. The idea was to allow initscripts developper to have
a check runned by every scripts which tell if scripts need to be run as root
(most of them) or not (and the script check itself which part of him have to be
run as root). All this to display a cute error message.
I think this complexity is superfluous and let part of initscript will fail if
rights are not enough.
I must confess that we should have marked this bug as wontfix rather than do that.
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
This patch mount kernel binfmt_misc filesystem at boot and allow loading of
a default configuration inspired from systemd binfmt.d way.
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
Modify our path collection loop to accept the remaining argv as paths to
config files. This overrides the default lookup for config files in
/etc, /lib, and /run so that single config files can be parsed at a time
Credits to Dave Reisner in 11ac21c1cf74
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
|
|
Behave as described in the manpage.
This makes sure that we don't need to write to /etc unnecessarily
in case of updates to zoneinfo.
The reason for keeping a copy in /etc was if /usr was on a separate
unmounted partition, but this is no longer supported.
Reported-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
* Move the list of man page files to a variable to avoid code
duplication. Also, use generic code in the install target and extract
man pages from the newly introduced variable.
* Use generic (wildcard) rules for man page generation instead of having
one rule per source/target file.
* Use "$(DESTDIR)" instead of "${DESTDIR}" everywhere.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Most targets used in our Makefile don't refer to files. Use the ".PHONY"
special target to mark these. Doing this prevents us from file name
conflicts and improves performance a bit.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
|
|
The whole point of using numeric IDs is to avoid resolution in the
passwd/group databases. If we encounter an ID which is simply numeric,
leave it alone.
Looks like I broke this in a4558c4c trying to be a bit too clever.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Modify our path collection loop to accept the remaining argv as paths to
config files. This overrides the default lookup for config files in
/etc, /lib, and /run so that single config files can be parsed at a time
(e.g. during package installation).
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
This should hopefully fix problems with umount hanging on shutdown.
FWIW, this is also what systemd does.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Avoid unnecessary output about sending a SIGTERM to the active PID.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
This avoids passing an empty array to umount
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
fixes FS#28458
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
This reverts commit fd54cc63cd6853b839d8a0d15ff7c8506743ac5a.
The correct return codes of "mount -a" are:
0 all mounts succeeded
64 some mounts succeeded and some failed
32 all mounts failed
We want to show "FAILED" on all return codes except for 0.
There is a bug in the new mount where "ignored" is taken to be
"failed", which gives some false negative. This will be fixed in
util-linux.
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
kmod has a modprobe.d man page not modprobe.conf
Signed-off-by: Jonathan Frazier <eyeswide@gmail.com>
|
|
Invoke `grep -q` and check its return value instead of checking whether
grep(1) produces non-empty output.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
* Add whitespace to arithmetic expressions.
* Use boolean logic for semantically boolean variables.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Indent code using tabs (instead of spaces) in all source files.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
This one adds support for the "/fastboot" file, as well as the
"fastboot" kernel command line parameter. If either of them is
specified, file system checks are skipped. The only exception is the
existence of "/forcefsck" or the "forcefsck" kernel parameter which have
precedence over fastboot.
Implements FS#26154.
Reported-by: Mark <mark@voidzero.net>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
|
|
kmod doesn't read from /proc/modules to get attributes like module init
state, and won't act up when /proc isn't mounted or if /proc/modules
doesn't exist.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Detect -v as a parameter to status and avoid dumping everything to
/dev/null. Use this to restore error output to modprobe on loading
user-specified modules.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Hello,
in the manpage of rc.conf there was a typo that I fixed with this patch.
Greetings,
Christoph Vigano
|
|
The commit message was wrong about the semantics of the Age parameter,
revert to the way it was before.
We leave /run/daemons as a 'd' as it does not make sense to delete its
contents (it is on a tmpfs).
This reverts commit 3efdfe82da085888354f27565fd9c6fab3c8b5a8.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
The Arch default was 30 but upstream default was 120. This caused problems when
udev-177-3 introduced a 30 second timeout for broken kernel drivers.
We don't want to do this kind of fiddling in initscripts, if there is a need for
overriding the timeout this should be added upstream to udev.conf. My feeling is
that this is a bad idea, as there are now at least three different kinds of timeouts
at play in udev, and if they are set to something incompatible it will cause unneccesary
problems.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|