platform/upstream/dracut.git
14 years agoVersion 006 006
Harald Hoyer [Thu, 17 Jun 2010 08:42:41 +0000 (10:42 +0200)]
Version 006

14 years agodracut.spec: moved znet to dracut-network
Harald Hoyer [Thu, 17 Jun 2010 08:45:39 +0000 (10:45 +0200)]
dracut.spec: moved znet to dracut-network

14 years agodracut, dracut-functions: better vercmp
Amadeusz Żołnowski [Fri, 11 Jun 2010 19:10:34 +0000 (21:10 +0200)]
dracut, dracut-functions: better vercmp

credits go to V. Lowther

14 years agonetwork: strip pxelinux hardware type field from BOOTIF
Harald Hoyer [Fri, 11 Jun 2010 11:16:36 +0000 (13:16 +0200)]
network: strip pxelinux hardware type field from BOOTIF

14 years agocrypt: install more aes modules
Harald Hoyer [Fri, 11 Jun 2010 10:52:02 +0000 (12:52 +0200)]
crypt: install more aes modules

14 years agonetwork: depend on ifcfg, if /etc/sysconfig/network-scripts exist
Harald Hoyer [Thu, 10 Jun 2010 11:52:31 +0000 (13:52 +0200)]
network: depend on ifcfg, if /etc/sysconfig/network-scripts exist

14 years agolvm: install lvm mirror and snaphot libs
Harald Hoyer [Thu, 10 Jun 2010 11:51:40 +0000 (13:51 +0200)]
lvm: install lvm mirror and snaphot libs

14 years agodracut-functions: fun. vercmp optimized; credits go to Victor Lowther
Amadeusz Żołnowski [Wed, 9 Jun 2010 15:29:36 +0000 (17:29 +0200)]
dracut-functions: fun. vercmp optimized; credits go to Victor Lowther

14 years agoiscsi: add support for multiple netroot=iscsi:
Harald Hoyer [Wed, 9 Jun 2010 14:41:10 +0000 (16:41 +0200)]
iscsi: add support for multiple netroot=iscsi:

The whole netdisk concept should be reviewed though!

14 years agoplymouth/cryptroot-ask.sh: beautify password prompt
Harald Hoyer [Wed, 9 Jun 2010 09:56:06 +0000 (11:56 +0200)]
plymouth/cryptroot-ask.sh: beautify password prompt

14 years agoselinux: move selinux to a separate module
Harald Hoyer [Wed, 9 Jun 2010 09:22:22 +0000 (11:22 +0200)]
selinux: move selinux to a separate module

14 years ago90crypt: 'crypto_LUKS' identifier corrected
Amadeusz Żołnowski [Wed, 9 Jun 2010 08:40:31 +0000 (10:40 +0200)]
90crypt: 'crypto_LUKS' identifier corrected

14 years ago95uswsusp: Gentoo path for 'resume' binary
Amadeusz Żołnowski [Wed, 9 Jun 2010 08:38:36 +0000 (10:38 +0200)]
95uswsusp: Gentoo path for 'resume' binary

14 years agoSupport old version of module-init-tools
Amadeusz Żołnowski [Wed, 9 Jun 2010 08:36:05 +0000 (10:36 +0200)]
Support old version of module-init-tools

modprobe included in version prior to 3.7 of module-init-tools doesn't
have -d | --dirname option which allows to give a prefix other than
'/' for kernel modules path. Dracut assumes existence of that
option and uses it even with default '/'. The patch passes -d option
only if it's different from default and also checks module-init-tools
version if user changes the prefix by --kmoddir Dracut option.

14 years agoHave cryptroot-ask load dm_crypt if needed.
Victor Lowther [Wed, 2 Jun 2010 12:07:55 +0000 (07:07 -0500)]
Have cryptroot-ask load dm_crypt if needed.

14 years agoJust look for cryptroot instead of /sbin/cryptroot
Victor Lowther [Wed, 2 Jun 2010 12:07:55 +0000 (07:07 -0500)]
Just look for cryptroot instead of /sbin/cryptroot

We know what the path is and what it contains in the initrd, and
not everyone puts cryptroot in /sbin

14 years agoArch handles loading modules from udev in a somewhat customized manner.
Victor Lowther [Wed, 2 Jun 2010 12:07:56 +0000 (07:07 -0500)]
Arch handles loading modules from udev in a somewhat customized manner.

14 years agomultipath: remove multipath udev rules, if no multipath.conf was found
Harald Hoyer [Thu, 27 May 2010 12:34:02 +0000 (14:34 +0200)]
multipath: remove multipath udev rules, if no multipath.conf was found

14 years agomultipath: simplify and install wwids (rhbz 595719)
Harald Hoyer [Wed, 26 May 2010 15:44:07 +0000 (17:44 +0200)]
multipath: simplify and install wwids (rhbz 595719)

install /etc/multipath/wwids

With the proper 40-multipath.rules and new udev device-mapper mechanism,
we don't need the multipath scan anymore.

rhbz#595719

14 years agodracut-functions: beautified warnings
Harald Hoyer [Wed, 26 May 2010 15:43:18 +0000 (17:43 +0200)]
dracut-functions: beautified warnings

14 years agodracut-functions: check if specific dracut module is missing
Harald Hoyer [Wed, 26 May 2010 15:42:57 +0000 (17:42 +0200)]
dracut-functions: check if specific dracut module is missing

14 years agoselinux-loadpolicy.sh: exit for "selinux=0"
Harald Hoyer [Wed, 19 May 2010 08:01:33 +0000 (10:01 +0200)]
selinux-loadpolicy.sh: exit for "selinux=0"

14 years agoMakefile: make more clean
Harald Hoyer [Wed, 19 May 2010 07:55:48 +0000 (09:55 +0200)]
Makefile: make more clean

14 years agochmod 0755 *.sh
Harald Hoyer [Wed, 19 May 2010 07:40:48 +0000 (09:40 +0200)]
chmod 0755 *.sh

14 years ago95znet: removed 55-ccw.rules and ccw_init
Harald Hoyer [Wed, 19 May 2010 07:39:07 +0000 (09:39 +0200)]
95znet: removed 55-ccw.rules and ccw_init

14 years agoget rid of rdnetdebug
Harald Hoyer [Wed, 19 May 2010 07:37:20 +0000 (09:37 +0200)]
get rid of rdnetdebug

set PS4 and output to /dev/initlog.pipe

14 years ago95fcoe/fcoe-up: wait_for_if_up
Harald Hoyer [Wed, 19 May 2010 07:36:11 +0000 (09:36 +0200)]
95fcoe/fcoe-up: wait_for_if_up

14 years agoTEST-50-MULTINIC: do not provide a cdrom in the testcase
Harald Hoyer [Wed, 19 May 2010 07:35:01 +0000 (09:35 +0200)]
TEST-50-MULTINIC: do not provide a cdrom in the testcase

14 years ago40network/ifup: be more verbose
Harald Hoyer [Wed, 19 May 2010 07:33:58 +0000 (09:33 +0200)]
40network/ifup: be more verbose

14 years ago40network/dhclient-script: be more verbose
Harald Hoyer [Wed, 19 May 2010 07:33:20 +0000 (09:33 +0200)]
40network/dhclient-script: be more verbose

14 years ago40network/parse-ip-opts.sh: add "ip=auto6" to valid options
Harald Hoyer [Wed, 19 May 2010 06:28:19 +0000 (08:28 +0200)]
40network/parse-ip-opts.sh: add "ip=auto6" to valid options

14 years ago90mdraid dracut-functions: fix md raid hostonly detection
Andy Lutomirski [Wed, 19 May 2010 06:13:12 +0000 (08:13 +0200)]
90mdraid dracut-functions: fix md raid hostonly detection

check_block_and_slaves looks at slaves but not parents.

14 years agodracut.spec: clean up the requirements
Harald Hoyer [Fri, 7 May 2010 09:04:23 +0000 (11:04 +0200)]
dracut.spec: clean up the requirements

14 years agodracut: get rid of the "file" command
Harald Hoyer [Fri, 7 May 2010 09:03:55 +0000 (11:03 +0200)]
dracut: get rid of the "file" command

14 years agoplymouth/plymouth-populate-initrd: get rid of awk
Harald Hoyer [Fri, 7 May 2010 09:02:31 +0000 (11:02 +0200)]
plymouth/plymouth-populate-initrd: get rid of awk

14 years agouse "grep" directly without "nm" to drop binutils requirement
Harald Hoyer [Fri, 7 May 2010 08:44:30 +0000 (10:44 +0200)]
use "grep" directly without "nm" to drop binutils requirement

14 years agodracut.spec: remove elfutils-libelf requirement
Harald Hoyer [Fri, 7 May 2010 08:16:03 +0000 (10:16 +0200)]
dracut.spec: remove elfutils-libelf requirement

14 years agoplymouth: only display luksname and device for multiple luks
Harald Hoyer [Thu, 6 May 2010 15:31:46 +0000 (17:31 +0200)]
plymouth: only display luksname and device for multiple luks

https://bugzilla.redhat.com/show_bug.cgi?id=561092

14 years agodracut.8: fix rd_LVM_LV description
Alexander Todorov [Thu, 6 May 2010 14:58:51 +0000 (16:58 +0200)]
dracut.8: fix rd_LVM_LV description

14 years agofcoe: add /sbin/vconfig and the 8021q kernel module
Harald Hoyer [Thu, 6 May 2010 14:23:46 +0000 (16:23 +0200)]
fcoe: add /sbin/vconfig and the 8021q kernel module

14 years agoznet: renamed rd_CCW to rd_ZNET
Harald Hoyer [Wed, 5 May 2010 10:54:04 +0000 (12:54 +0200)]
znet: renamed rd_CCW to rd_ZNET

but parse old rd_CCW anyway

14 years agoznet: use ccw-init and ccw rules from s390utils in dracut
Dan Horák [Wed, 5 May 2010 10:51:46 +0000 (12:51 +0200)]
znet: use ccw-init and ccw rules from s390utils in dracut

14 years agodracut.conf: use "+=" as default for config variables
Harald Hoyer [Mon, 3 May 2010 09:35:10 +0000 (11:35 +0200)]
dracut.conf: use "+=" as default for config variables

14 years agodracut-functions: use udevadm to get ID_FS_*
Harald Hoyer [Mon, 3 May 2010 09:34:30 +0000 (11:34 +0200)]
dracut-functions: use udevadm to get ID_FS_*

14 years agokernel-modules: add more hardcoded modules
Harald Hoyer [Mon, 3 May 2010 09:33:52 +0000 (11:33 +0200)]
kernel-modules: add more hardcoded modules

14 years agobtfrs: load btrfs module and updated NEWS
Harald Hoyer [Fri, 16 Apr 2010 16:10:47 +0000 (18:10 +0200)]
btfrs: load btrfs module and updated NEWS

14 years agoNeeds btrfsctl, not btrfs module
Matt [Fri, 16 Apr 2010 16:03:08 +0000 (18:03 +0200)]
Needs btrfsctl, not btrfs module

14 years agotest/NBD: check for nbd kernel module first
Harald Hoyer [Fri, 16 Apr 2010 15:54:29 +0000 (17:54 +0200)]
test/NBD: check for nbd kernel module first

14 years agoNEWS: update
Harald Hoyer [Fri, 16 Apr 2010 15:13:15 +0000 (17:13 +0200)]
NEWS: update

14 years agotest/MULTINIC: kill server after passing all tests
Harald Hoyer [Fri, 16 Apr 2010 15:09:31 +0000 (17:09 +0200)]
test/MULTINIC: kill server after passing all tests

14 years agodracut.spec: removed e2fsprogs requirement
Harald Hoyer [Fri, 16 Apr 2010 15:03:34 +0000 (17:03 +0200)]
dracut.spec: removed e2fsprogs requirement

14 years agotest/TEST-50-MULTINIC: install sd_mod and ata_piix kernel modules
Harald Hoyer [Fri, 16 Apr 2010 15:00:28 +0000 (17:00 +0200)]
test/TEST-50-MULTINIC: install sd_mod and ata_piix kernel modules

14 years agotest/TEST-50-MULTINIC: install all nfsidmap libs for server
Harald Hoyer [Fri, 16 Apr 2010 14:59:53 +0000 (16:59 +0200)]
test/TEST-50-MULTINIC: install all nfsidmap libs for server

14 years agotest/TEST-50-MULTINIC: kill server after failed test
Harald Hoyer [Fri, 16 Apr 2010 14:59:11 +0000 (16:59 +0200)]
test/TEST-50-MULTINIC: kill server after failed test

14 years agoNBD: kill server after failed test
Harald Hoyer [Fri, 16 Apr 2010 14:58:16 +0000 (16:58 +0200)]
NBD: kill server after failed test

14 years agotest/nfs: correct return code and cleanup
Harald Hoyer [Fri, 16 Apr 2010 14:56:18 +0000 (16:56 +0200)]
test/nfs: correct return code and cleanup

14 years agoadd rd_retry kernel command line parameter
Harald Hoyer [Fri, 16 Apr 2010 14:55:14 +0000 (16:55 +0200)]
add rd_retry kernel command line parameter

rd_retry=<seconds to retry in the main loop>

speeds up internal test suite

14 years agotest: change testsuite to local tcp rather than udp multicast
Harald Hoyer [Fri, 16 Apr 2010 14:52:22 +0000 (16:52 +0200)]
test: change testsuite to local tcp rather than udp multicast

multicast needs an ethernet device and correct firewall rules
the loopback interface suites better as we only have 2 machines

14 years agorun-qemu: add /usr/libexec/qemu-kvm to search
Harald Hoyer [Fri, 16 Apr 2010 14:49:52 +0000 (16:49 +0200)]
run-qemu: add /usr/libexec/qemu-kvm to search

14 years agoTEST-12-RAID-DEG/create-root: filter MD_UUID only
Harald Hoyer [Fri, 16 Apr 2010 14:48:08 +0000 (16:48 +0200)]
TEST-12-RAID-DEG/create-root: filter MD_UUID only

14 years agologinit: turn off debugging
Harald Hoyer [Fri, 16 Apr 2010 14:47:28 +0000 (16:47 +0200)]
loginit: turn off debugging

14 years agoinit: do not redirect to -
Harald Hoyer [Fri, 16 Apr 2010 14:45:53 +0000 (16:45 +0200)]
init: do not redirect to -

14 years agoinit: fix cdrom polling loop
Harald Hoyer [Fri, 16 Apr 2010 14:45:25 +0000 (16:45 +0200)]
init: fix cdrom polling loop

14 years agomdraid: try to start container childs manually with "mdadm -R"
Harald Hoyer [Fri, 16 Apr 2010 14:44:24 +0000 (16:44 +0200)]
mdraid: try to start container childs manually with "mdadm -R"

14 years agodracut-lib: turn of shell debug mode in strstr and getarg(s)
Harald Hoyer [Fri, 16 Apr 2010 14:43:34 +0000 (16:43 +0200)]
dracut-lib: turn of shell debug mode in strstr and getarg(s)

14 years agoudev-rules: be more careful about md devices and blkid runs
Harald Hoyer [Fri, 16 Apr 2010 14:42:54 +0000 (16:42 +0200)]
udev-rules: be more careful about md devices and blkid runs

14 years agonfs: add missing nfsidmap libs
Harald Hoyer [Fri, 16 Apr 2010 14:42:27 +0000 (16:42 +0200)]
nfs: add missing nfsidmap libs

14 years agonetwork: correct rules for multiple nics
Harald Hoyer [Fri, 16 Apr 2010 14:41:24 +0000 (16:41 +0200)]
network: correct rules for multiple nics

14 years agonetwork: removed bogus udev rules
Harald Hoyer [Fri, 16 Apr 2010 14:40:59 +0000 (16:40 +0200)]
network: removed bogus udev rules

14 years agonfs: fixed nsswitch.conf parsing
Harald Hoyer [Thu, 15 Apr 2010 14:26:06 +0000 (16:26 +0200)]
nfs: fixed nsswitch.conf parsing

based on a patch of Ian Dall.
https://bugzilla.redhat.com/show_bug.cgi?id=578060

14 years agoUse pigz for gzipping if available.
Ville Skyttä [Thu, 18 Mar 2010 19:41:22 +0000 (21:41 +0200)]
Use pigz for gzipping if available.

14 years agodracut.spec: add btrfs module
Harald Hoyer [Thu, 15 Apr 2010 12:38:38 +0000 (14:38 +0200)]
dracut.spec: add btrfs module

14 years agokernel-modules: only remove ocfs2, if all filesystems are installed
Harald Hoyer [Thu, 15 Apr 2010 10:47:52 +0000 (12:47 +0200)]
kernel-modules: only remove ocfs2, if all filesystems are installed

14 years agokernel-modules: hardcode sr_mod
Harald Hoyer [Thu, 15 Apr 2010 10:47:26 +0000 (12:47 +0200)]
kernel-modules: hardcode sr_mod

14 years agoAUTHORS: updated
Harald Hoyer [Thu, 15 Apr 2010 09:54:28 +0000 (11:54 +0200)]
AUTHORS: updated

14 years agodracut: add_drivers from the command line should add up to the conffile
Harald Hoyer [Wed, 14 Apr 2010 17:32:44 +0000 (19:32 +0200)]
dracut: add_drivers from the command line should add up to the conffile

14 years agomanpage addition for kernel drivers
Harald Hoyer [Wed, 14 Apr 2010 15:58:56 +0000 (17:58 +0200)]
manpage addition for kernel drivers

The kernel modules have to be specified without the ".ko" suffix.

14 years agoadd missing paragraph for --add-drivers
Harald Hoyer [Wed, 14 Apr 2010 15:50:39 +0000 (17:50 +0200)]
add missing paragraph for --add-drivers

14 years agoinit: trigger with --action=add
Harald Hoyer [Wed, 14 Apr 2010 14:36:30 +0000 (16:36 +0200)]
init: trigger with --action=add

14 years agoteach dmsquash-live-root to use rootflags
Joey Boggs [Fri, 26 Mar 2010 14:01:16 +0000 (10:01 -0400)]
teach dmsquash-live-root to use rootflags

14 years agoadd module btrfs
Harald Hoyer [Tue, 13 Apr 2010 12:03:05 +0000 (14:03 +0200)]
add module btrfs

14 years agoinit: add hacky cdrom polling mechanism
Harald Hoyer [Tue, 13 Apr 2010 11:50:33 +0000 (13:50 +0200)]
init: add hacky cdrom polling mechanism

14 years agodmraid: parse different error messages
Harald Hoyer [Tue, 13 Apr 2010 10:54:12 +0000 (12:54 +0200)]
dmraid: parse different error messages

14 years agodracut.8: add information, which parameter can be specified multiple times
Harald Hoyer [Wed, 7 Apr 2010 13:55:14 +0000 (15:55 +0200)]
dracut.8: add information, which parameter can be specified multiple times

14 years agodracut.8: fixed LUKS paragraph
Harald Hoyer [Wed, 7 Apr 2010 09:17:46 +0000 (11:17 +0200)]
dracut.8: fixed LUKS paragraph

14 years agoupdated NEWS, moved tag 005 005
Harald Hoyer [Fri, 19 Mar 2010 16:35:47 +0000 (17:35 +0100)]
updated NEWS, moved tag 005

14 years agoversion 005
Harald Hoyer [Fri, 19 Mar 2010 14:18:26 +0000 (15:18 +0100)]
version 005

14 years agodracut.spec: rpmlint cosmetics
Harald Hoyer [Fri, 19 Mar 2010 14:16:48 +0000 (15:16 +0100)]
dracut.spec: rpmlint cosmetics

14 years agodracut.spec: change description and summaries
Harald Hoyer [Fri, 19 Mar 2010 14:15:17 +0000 (15:15 +0100)]
dracut.spec: change description and summaries

14 years agodracut.spec: remove libselinux, libsepol requirement
Harald Hoyer [Fri, 19 Mar 2010 14:13:32 +0000 (15:13 +0100)]
dracut.spec: remove libselinux, libsepol requirement

14 years agodracut.spec: remove dracut-kernel subpackage
Harald Hoyer [Fri, 19 Mar 2010 14:11:41 +0000 (15:11 +0100)]
dracut.spec: remove dracut-kernel subpackage

14 years agolvm/lvm_scan.sh: silence lvm version check
Harald Hoyer [Fri, 19 Mar 2010 14:08:54 +0000 (15:08 +0100)]
lvm/lvm_scan.sh: silence lvm version check

14 years agofcoe: soft install fcoe bins
Harald Hoyer [Fri, 19 Mar 2010 15:49:41 +0000 (16:49 +0100)]
fcoe: soft install fcoe bins

14 years agoAdd dcb support to dracut's FCoE support (rh563794)
Hans de Goede [Mon, 15 Mar 2010 10:21:29 +0000 (11:21 +0100)]
Add dcb support to dracut's FCoE support (rh563794)

Note that there are still some patches queued upstream for fcoe-utils to
enable it to work with the new lldpad and to add support to fipvlan to
bring up FCoE connections without requiring fcoemon to run.

The invocations of the various tools as in this patch should be final though,
see the discussion in:
http://bugzilla.redhat.com/show_bug.cgi?id=563794

This is the second revision of this patch, which no longer adds /etc/fcoe
to the initrd as that is not needed.

14 years agolvm_scan: use '--ignoremonitoring' rather than '--monitor n'
Mike Snitzer [Wed, 10 Mar 2010 19:24:18 +0000 (14:24 -0500)]
lvm_scan: use '--ignoremonitoring' rather than '--monitor n'

lvchange and vgchange '--monitor n' will not prevent lvm from
attempting to dlopen the libdevmapper-event library.

dracut git commit 47ab3b6c5e introduced the use of '--monitor n' but
'--ignoremonitoring' is needed now that the libdevmapper-event library
isn't copied into the initramfs (ever since 0fae59d6eb3)

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
14 years agokernel-modules/installkernel: force install some modules even in
Harald Hoyer [Wed, 17 Mar 2010 10:14:45 +0000 (11:14 +0100)]
kernel-modules/installkernel: force install some modules even in
hostonly mode

14 years agosilence xen-detect detection
Luca Berra [Sun, 7 Mar 2010 12:52:08 +0000 (13:52 +0100)]
silence xen-detect detection

Signed-off-by: Luca Berra <bluca@comedia.it>
14 years agodebian: add dracut-gencmdline
Philippe Seewer [Fri, 5 Mar 2010 14:01:18 +0000 (15:01 +0100)]
debian: add dracut-gencmdline

14 years agodebian: Add manpage for dracut-catimages
Philippe Seewer [Fri, 5 Mar 2010 13:58:59 +0000 (14:58 +0100)]
debian: Add manpage for dracut-catimages

14 years agodebian: add dracut.conf.d
Philippe Seewer [Fri, 5 Mar 2010 13:55:37 +0000 (14:55 +0100)]
debian: add dracut.conf.d