Commits

Show all
Author Commit Message Labels Comments Date
Thomas Bächler
Check whether crypttab contains anything before processing it. This check was removed in the bashification, add it back.
Tags
2011.02.1
Thomas Bächler
Only call activate_vgs a second time if any logical volumes have actually been activated.
Thomas Bächler
Fix crypttab option column processing.
Thomas Bächler
Suppress the output of cryptsetup isLuks. No idea why it would output anything, but it does in case of failure. Suppress the standard error.
Thomas Bächler
Fix run_hook and add_hook definitions. This patch does 3 things: 1) Use declare -fr instead of -r, as -r does not affect functions. 2) Make sure everything is only defined once, as you cannot redefine a read-only function. 3) Fix indentation.
Thomas Bächler
Allow setting the locale during boot and daemon startup. This is configurable by the new rc.conf option DAEMON_LOCALE.
Thomas Bächler
Remove all copyright and license hints. The original version was incorrect and misleading. The new one is confusing and too long. Instead of printing it on boot, we should document license handling in the beginner's guide.
Thomas Bächler
Change copyright and license information The copyright makes no sense, as a variety of people worked on Arch. Remove it. Clarify that software distributed in Arch is often distributed under licenses different than the GPL.
Tags
2011.01-1
Thomas Bächler
Fix isLuks check The check was wrong, every device was treated as LUKS. Also remove the _isluks variable, as now it is not used by the SWAP sanity check anymore.
Thomas Bächler
Change SWAP sanity check to use blkid in favor of cryptsetup This improves the sanity check before overwriting a partition with randomly encrypted swapspace. A device will only be overwritten if blkid finds no valid file system on it, otherwise the process will be aborted.
Dave Reisner
Use modprobe's --all flag instead of looping. Filter blacklisted modules with a parameter expansion and add an extra conditional to modprobe to only act if the resultant expansion has a value. It's important that no quoting takes place here, or else a variable is defined with a null terminator and which will cause the extra conditional to pass and modprobe will error out. Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gund…
Tom Gundersen
PATH: export a standard path in rc.sysinit This is usefull for udev and other processes that do not get a PATH set by /etc/profile. The particular choice of paths to export was taken from systemd, the rationale being that systemd is designed to be compatible with all the major distros and in particular with udev. The paths are also the same as set as standard in /etc/profile With this patch we handle the PATH variable similarly to what …
Gerardo Exequiel Pozzi
Add support for serial console 9600 because is the default speed when no other parameter than console=ttyS0 is used. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Dan McGee
Unify capitalization of 'Udev' Signed-off-by: Dan McGee <dan@archlinux.org>
Heiko Baums
cryptsetup: print name of device being opened Signed-off-by: Tom Gundersen <teg@jklm.no>
Heiko Baums
cryptsetup: abort if LUKS is found on swap partition Variable was not set before use, so the check for LUKS always failed. As noted, this could be dangerous. Signed-off-by: Tom Gundersen <teg@jklm.no>
Heiko Baums
cryptsetup: read keys for non-root LUKS partitions as raw data from block device For LUKS encrypted root partitions it is possible to store a keyfile hidden as raw data onto a USB stick with the dd command. This has the advantage, that the key is saved on a USB stick, but can't be found be just mounting the USB stick. The appropriate line in /etc/crypttab is similar to the kernel parameter in /boot/grub/menu.lst: home/dev/sdaXBLOCKDEVICE:OFFSET:SIZE [teg: fixed whitespace an…
Tom Gundersen
cryptsetup: fix indentation It now follows the vim modeline at the bottom of the file.
Tom Gundersen
lvm: enable/disable monitoring of lvm2 groups Monitoring does not work when /var is mounted ro, so only enable monitoring when we know that /var is rw. Thanks to Thomas Bächler for pointing this out.
Tom Gundersen
lvm: run vgchange in sysinit mode This avoids problems with lack of rw filesystems. Solves: #FS18153.
Tom Gundersen
mount: forbid suid,exec,dev from /proc and /sys
Tom Gundersen
locale: set the sysfs value default_utf8 rather than enabling/disabling utf8 in locale.sh This should go some way towards obsoleting /etc/profiled.d/locales.sh (FS#20911). The remaining, and admittedly main, obstacle is proper inheritance of LANG, which Roman is working on.
Tom Gundersen
udev: do not copy /lib/udev/devices/* to /dev this is done by udev since version 155
Tom Gundersen
udevadm: retry failed udev events after filesystems have been mounted No FS reference, but this is what is done upstream (in udev's systemd service files).
Tom Gundersen
udevadm: trigger events of type subsystems as well as devices The standard type to trigger is devices. This patch makes the type explicit and also triggers events of type subsystems. This is what is done upstream (in udev's systemd service files).
Dave Reisner
rc.sysinit: condense calls to mkdir and chmod
Thomas Bächler
Fix two typos introduced by the latest patch series
Thomas Bächler
Remove a redundant subshell, see FS#20016
Florian Pritz
restrict NETWORK_PERSIST to runlevel 0 and 6 Signed-off-by: Florian Pritz <bluewind@xssn.at>
Victor Lowther
Add a PKGBUILD for building initscripts-git for testing. This builds straight out of a git checkout. Add generated packages to .gitignore
  1. Prev
  2. Next