- 13 Mar, 2012 3 commits
-
-
Sébastien Luttringer authored
This patch revert patch 042d197b . 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>
-
Sébastien Luttringer authored
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>
-
Sébastien Luttringer authored
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 11ac21c1 Signed-off-by:
Sébastien Luttringer <seblu@seblu.net>
-
- 11 Mar, 2012 3 commits
-
-
Tom Gundersen authored
-
Dave Reisner authored
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>
-
Dave Reisner authored
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>
-
- 09 Mar, 2012 1 commit
-
-
Tom Gundersen authored
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>
-
- 05 Mar, 2012 3 commits
-
-
Dave Reisner authored
Avoid unnecessary output about sending a SIGTERM to the active PID. Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
Dave Reisner authored
This avoids passing an empty array to umount Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
Dave Reisner authored
fixes FS#28458 Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
- 24 Feb, 2012 3 commits
-
-
Tom Gundersen authored
This reverts commit fd54cc63. 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.
-
Tom Gundersen authored
Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Jonathan Frazier authored
kmod has a modprobe.d man page not modprobe.conf Signed-off-by:
Jonathan Frazier <eyeswide@gmail.com>
-
- 03 Feb, 2012 3 commits
-
-
Lukas Fleischer authored
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>
-
Lukas Fleischer authored
* Add whitespace to arithmetic expressions. * Use boolean logic for semantically boolean variables. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Indent code using tabs (instead of spaces) in all source files. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 30 Jan, 2012 2 commits
-
-
Lukas Fleischer authored
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>
-
Tom Gundersen authored
-
- 23 Jan, 2012 2 commits
-
-
Dave Reisner authored
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>
-
Dave Reisner authored
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>
-
- 21 Jan, 2012 1 commit
-
-
Christoph Vigano authored
Hello, in the manpage of rc.conf there was a typo that I fixed with this patch. Greetings, Christoph Vigano
-
- 18 Jan, 2012 3 commits
-
-
Tom Gundersen authored
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 3efdfe82 . Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
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>
-
Tom Gundersen authored
-
- 14 Jan, 2012 1 commit
-
-
Tom Gundersen authored
This was needed when /etc/mtab was a regular file in order to avoid writing to it when /etc/ was mounted ro. However, now it is not needed. Passing -n should have been a noop, except for the NILFS mount helper. It will only start the daemon if the -n flag is not passed. This fixes FS#22523. Tested-by:
Alexander Lam <lambchop468@gmail.com> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 12 Jan, 2012 2 commits
-
-
Tom Gundersen authored
Udev requires devtmpfs to work, so no point in pretending that the system will work without it. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Dave Reisner authored
tac stupidly writes to a tempfile when the input isn't seekable, which is true in our case as it's reading from a pipe. Since the whole goal here is to avoid using disk, build an array in reverse. For whatever reason, Bash truly sucks at doing this from a execution time standpoint, but that isn't really a concern here. Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
- 11 Jan, 2012 1 commit
-
-
Tom Gundersen authored
Partially-requested-by:
Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 10 Jan, 2012 1 commit
-
-
Tom Gundersen authored
Reported-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 03 Jan, 2012 1 commit
-
-
Tom Gundersen authored
Never use 'd' with non-empty Age, as the age refers to how old files can be before they are deleted, and 'd' never deletes anything. Also, we never want to delete /run/daemons, except for on boot (and then it must be empty since /run is tmpfs), so change that into 'd'. This makes our files diverge from systemd's again (undoing the previous patch), but I submitted the same fix to systemd, so they should eventually converge again. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 02 Jan, 2012 1 commit
-
-
Tom Gundersen authored
This makes the entries shipped by systemd and initscripst the same. No functional change as initscripts ignore the time entries, but it silences some warnings in systemd. These particular rules should eventually be shipped upstream in xorg and not in initscripts+systemd. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 01 Jan, 2012 2 commits
-
-
Tom Gundersen authored
People should refer to the manpage. Reported-by:
Andrea Scarpino <andrea@archlinux.org> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
We were unconditionally copying the zoneinfo file when we should be doing nothing. Reported-by:
Leonid Isaev <lisaev@umail.iu.edu> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 31 Dec, 2011 5 commits
-
-
Tom Gundersen authored
Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
When doing the manpages, this made more sense to me, so change the default. Also, this is apparently what other distros have been doing... Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This attempts to unify the look of the man pages. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
Also fix typo in Makefile making the install of the other manpages fail. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
Taken from systemd, but adapted to be Arch-specific. Some things left commented out as we might want to implement them. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 30 Dec, 2011 2 commits
-
-
Tom Gundersen authored
The manpage was not being installed. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
-