]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
16 years agodracut.spec: update
Harald Hoyer [Tue, 27 Oct 2009 15:01:46 +0000 (16:01 +0100)] 
dracut.spec: update

16 years agoTEST-14-IMSM/create-root.sh: wait until md0 is ready synced
Harald Hoyer [Tue, 27 Oct 2009 14:11:35 +0000 (15:11 +0100)] 
TEST-14-IMSM/create-root.sh: wait until md0 is ready synced

16 years ago90dmraid,90lvm: device mapper upstream rules got renamed
Harald Hoyer [Tue, 27 Oct 2009 09:28:17 +0000 (10:28 +0100)] 
90dmraid,90lvm: device mapper upstream rules got renamed

16 years agojoin $dsrc and $dracutbasedir
Harald Hoyer [Tue, 27 Oct 2009 08:28:53 +0000 (09:28 +0100)] 
join $dsrc and $dracutbasedir

16 years agospecfile update
Harald Hoyer [Mon, 26 Oct 2009 18:12:27 +0000 (19:12 +0100)] 
specfile update

16 years agoAdd dm_mod loader
Philippe Seewer [Fri, 16 Oct 2009 09:00:04 +0000 (11:00 +0200)] 
Add dm_mod loader

Some kernel configurations might build base dm support as a module.
Add module dm which ensures that dm_mod is there and loaded.

16 years agotest: Add compatibility for different kernel configs
Philippe Seewer [Fri, 16 Oct 2009 09:00:03 +0000 (11:00 +0200)] 
test: Add compatibility for different kernel configs

Some distros, including debian unstable with 2.6.30, still shop
style ide drivers and/or have important filesystems like ext3 as
modules.

This patch ensures that all test cases work on these configurations
by including the necessary modules and adding a simple udev rule
file that provides /dev/sd* symlinks for the case where old style
ide drivers are still in use.

16 years agoAdd old style ide drivers if available
Philippe Seewer [Fri, 16 Oct 2009 09:00:02 +0000 (11:00 +0200)] 
Add old style ide drivers if available

Some distros, including debian unstable with 2.6.30, still ship
old style ide drivers. These should be installed as well.

Sadly there are no symbols to use for nm, so a simple =ide needs
to suffice.

16 years agodracut.spec: reverse switch_root logic
Harald Hoyer [Mon, 26 Oct 2009 14:36:23 +0000 (15:36 +0100)] 
dracut.spec: reverse switch_root logic

16 years agotest/TEST-20-NFS: kill server if pid file present on run()
Harald Hoyer [Mon, 26 Oct 2009 14:35:42 +0000 (15:35 +0100)] 
test/TEST-20-NFS: kill server if pid file present on run()

16 years agodmsquash-live-root requires grep
Warren Togami [Tue, 13 Oct 2009 20:23:56 +0000 (16:23 -0400)] 
dmsquash-live-root requires grep

16 years agoRevert to per-device resolv.conf by Seewer's suggestion.
Warren Togami [Tue, 13 Oct 2009 18:19:49 +0000 (14:19 -0400)] 
Revert to per-device resolv.conf by Seewer's suggestion.

16 years agoBetter check if writing ifcfg files is necessary.
Warren Togami [Tue, 13 Oct 2009 17:20:07 +0000 (13:20 -0400)] 
Better check if writing ifcfg files is necessary.

16 years agotest: add rdinfo
Harald Hoyer [Fri, 9 Oct 2009 11:57:35 +0000 (13:57 +0200)] 
test: add rdinfo

16 years agodracut-lib: fixed wait_for_if_up()
Harald Hoyer [Fri, 9 Oct 2009 11:18:59 +0000 (13:18 +0200)] 
dracut-lib: fixed wait_for_if_up()

16 years agotest/*/hard-off.sh: do not powerdown on rdshell
Harald Hoyer [Fri, 9 Oct 2009 11:18:05 +0000 (13:18 +0200)] 
test/*/hard-off.sh: do not powerdown on rdshell

16 years agorun-qemu: specify PATH
Harald Hoyer [Fri, 9 Oct 2009 11:17:45 +0000 (13:17 +0200)] 
run-qemu: specify PATH

16 years agodmraid: only install libdmraid-events-isw.so
Harald Hoyer [Fri, 9 Oct 2009 11:16:02 +0000 (13:16 +0200)] 
dmraid: only install libdmraid-events-isw.so

the symlink will trigger install of the real lib file

16 years agodracut: if called with "-l" read only local dracut.conf
Harald Hoyer [Fri, 9 Oct 2009 11:15:32 +0000 (13:15 +0200)] 
dracut: if called with "-l" read only local dracut.conf

16 years agodmraid: do not fail if /usr/lib/libdmraid-events-isw.so is not present
Harald Hoyer [Fri, 9 Oct 2009 08:16:08 +0000 (10:16 +0200)] 
dmraid: do not fail if /usr/lib/libdmraid-events-isw.so is not present

16 years agoccw: s/layer1/layer2/g
Harald Hoyer [Thu, 8 Oct 2009 16:19:11 +0000 (18:19 +0200)] 
ccw: s/layer1/layer2/g

16 years agoadd s390 network support
Harald Hoyer [Thu, 8 Oct 2009 16:10:02 +0000 (18:10 +0200)] 
add s390 network support

16 years agodracut.8: correct typo
Harald Hoyer [Thu, 8 Oct 2009 16:09:37 +0000 (18:09 +0200)] 
dracut.8: correct typo

16 years agonetwork/parse-bridge: check for bridge parameter not ip
Harald Hoyer [Thu, 8 Oct 2009 16:08:34 +0000 (18:08 +0200)] 
network/parse-bridge: check for bridge parameter not ip

16 years agoadd zfcp support for s390
Harald Hoyer [Thu, 8 Oct 2009 12:19:23 +0000 (14:19 +0200)] 
add zfcp support for s390

16 years agodasd: rename dasd= to rd_DASD=
Harald Hoyer [Thu, 8 Oct 2009 12:18:36 +0000 (14:18 +0200)] 
dasd: rename dasd= to rd_DASD=

16 years agodracut: exit traps with original exitcode
Harald Hoyer [Thu, 8 Oct 2009 12:17:48 +0000 (14:17 +0200)] 
dracut: exit traps with original exitcode

16 years agoplymouth: suppress "find" errors
Harald Hoyer [Thu, 8 Oct 2009 12:14:23 +0000 (14:14 +0200)] 
plymouth: suppress "find" errors

16 years agobase/init: make link /dev/fd, mount devpts,tmpfs with correct dev parm
Harald Hoyer [Thu, 8 Oct 2009 12:13:08 +0000 (14:13 +0200)] 
base/init: make link /dev/fd, mount devpts,tmpfs with correct dev parm

16 years agoFix comment typo
Warren Togami [Wed, 7 Oct 2009 20:23:52 +0000 (16:23 -0400)] 
Fix comment typo

16 years agodracut.8: fixed typos
Harald Hoyer [Wed, 7 Oct 2009 14:53:59 +0000 (16:53 +0200)] 
dracut.8: fixed typos

16 years agobase/init: kill loginit after one second of waiting
Harald Hoyer [Wed, 7 Oct 2009 12:03:19 +0000 (14:03 +0200)] 
base/init: kill loginit after one second of waiting

16 years agodmsquash-live: run dmsquash-live-root after udev settle
Harald Hoyer [Wed, 7 Oct 2009 10:49:52 +0000 (12:49 +0200)] 
dmsquash-live: run dmsquash-live-root after udev settle

16 years agodo not use init= arg as first argument
Harald Hoyer [Wed, 7 Oct 2009 10:48:47 +0000 (12:48 +0200)] 
do not use init= arg as first argument

16 years agoAUTHORS: generated by git-shortlog
Harald Hoyer [Wed, 7 Oct 2009 08:11:55 +0000 (10:11 +0200)] 
AUTHORS: generated by git-shortlog

add AUTHORS target to Makefile

only list main authors in man page

16 years agoadd .mailmap
Harald Hoyer [Wed, 7 Oct 2009 08:03:47 +0000 (10:03 +0200)] 
add .mailmap

16 years agotest: run all tests with rdinitdebug by default
Harald Hoyer [Tue, 6 Oct 2009 16:39:40 +0000 (18:39 +0200)] 
test: run all tests with rdinitdebug by default

16 years ago99base/initqueue: make operations more atomic
Harald Hoyer [Tue, 6 Oct 2009 16:09:40 +0000 (18:09 +0200)] 
99base/initqueue: make operations more atomic

16 years agoTEST-50-MULTINIC/test.sh: add selinux=0
Harald Hoyer [Tue, 6 Oct 2009 16:09:18 +0000 (18:09 +0200)] 
TEST-50-MULTINIC/test.sh: add selinux=0

16 years agotest: add "failme" parameter for failing tests
Harald Hoyer [Tue, 6 Oct 2009 16:11:02 +0000 (18:11 +0200)] 
test: add "failme" parameter for failing tests

16 years agotest/*/hard-off.sh: poweroff, if failme specified
Harald Hoyer [Tue, 6 Oct 2009 14:37:20 +0000 (16:37 +0200)] 
test/*/hard-off.sh: poweroff, if failme specified

16 years agodracut.spec: update changelog and filelists
Harald Hoyer [Tue, 6 Oct 2009 13:24:31 +0000 (15:24 +0200)] 
dracut.spec: update changelog and filelists

16 years agoMove write-ifcfg to its own module
Philippe Seewer [Thu, 17 Sep 2009 15:16:48 +0000 (17:16 +0200)] 
Move write-ifcfg to its own module

ifcfg config style is redhat specific, this should be in its own
module.

16 years agoAdd multinic test suite
Philippe Seewer [Thu, 17 Sep 2009 15:16:47 +0000 (17:16 +0200)] 
Add multinic test suite

This is a start a test suite for the multinic support of dracut

16 years agoAdd DAD to dhclient-script
Philippe Seewer [Thu, 17 Sep 2009 15:16:46 +0000 (17:16 +0200)] 
Add DAD to dhclient-script

The manpage for dhclient-script says:

Before actually configuring the address, dhclient-script should
somehow ARP for it and exit with a nonzero status if it receives a
reply.

By using arping in dracut this is very easy, since arping has a
specific option to do just that.

16 years agoAdd simple STP timeout handler
Philippe Seewer [Thu, 17 Sep 2009 15:16:45 +0000 (17:16 +0200)] 
Add simple STP timeout handler

This patch adds STP timeout error handling with arping. It's rather
simple since it only cares about the primary interface and blindly
assumes that if no gateway is available the root server is on the
same subnet.

16 years agoGet rid of hostname utility
Philippe Seewer [Thu, 17 Sep 2009 15:16:44 +0000 (17:16 +0200)] 
Get rid of hostname utility

dracut doesn't really need a utility to set the hostname. It only
saves a few ks of space, but every bit is good.

16 years agoBe a bit more optimistic when setting mtus
Seewer Philippe [Tue, 6 Oct 2009 13:09:34 +0000 (15:09 +0200)] 
Be a bit more optimistic when setting mtus

The usual approach to setting mtus is to set the interface down,
set the mtu then set the interface back up again. Modern hardware
and/or drivers may support setting this on the fly, so we try
this and fall back to the old behaviour it it doesn't work.

In addition this patch only allows mtus greater than 576, this is
taken from debian/ubuntu dhclient-script.

16 years agonetwork: wait for interfaces to come up, before proceeding
Harald Hoyer [Tue, 6 Oct 2009 13:07:52 +0000 (15:07 +0200)] 
network: wait for interfaces to come up, before proceeding

16 years agobase: add missing loginit
Harald Hoyer [Tue, 6 Oct 2009 12:43:53 +0000 (14:43 +0200)] 
base: add missing loginit

16 years agodracut.8: removed switch_root relicts and changed URL
Michal Schmidt [Tue, 6 Oct 2009 08:30:43 +0000 (10:30 +0200)] 
dracut.8: removed switch_root relicts and changed URL

16 years agoupdated NEWS
Harald Hoyer [Thu, 1 Oct 2009 17:59:43 +0000 (19:59 +0200)] 
updated NEWS

16 years agodracut-gencmdline: fixed rd_NO_LUKS case
Harald Hoyer [Thu, 1 Oct 2009 17:52:48 +0000 (19:52 +0200)] 
dracut-gencmdline: fixed rd_NO_LUKS case

16 years agofixed UUID= and LABEL= handling
Harald Hoyer [Thu, 1 Oct 2009 17:28:55 +0000 (19:28 +0200)] 
fixed UUID= and LABEL= handling

16 years agoupdated NEWS
Harald Hoyer [Thu, 1 Oct 2009 16:57:23 +0000 (18:57 +0200)] 
updated NEWS

16 years agodmsquash: use info() and die() rather than echo
Harald Hoyer [Thu, 1 Oct 2009 16:43:35 +0000 (18:43 +0200)] 
dmsquash: use info() and die() rather than echo

16 years agodracut: strip kernel modules which have no x bit set
Harald Hoyer [Thu, 1 Oct 2009 16:41:04 +0000 (18:41 +0200)] 
dracut: strip kernel modules which have no x bit set

16 years agobase: add logger for rdinitdebug
Harald Hoyer [Thu, 1 Oct 2009 16:11:24 +0000 (18:11 +0200)] 
base: add logger for rdinitdebug

initlog logs to /init.log /dev/kmsg and /dev/console

16 years agoiscsi/iscsiroot: remove redirection on rdnetdebug
Harald Hoyer [Thu, 1 Oct 2009 13:21:32 +0000 (15:21 +0200)] 
iscsi/iscsiroot: remove redirection on rdnetdebug

iscsiroot is now executed in the initqueue

16 years agobase/init: stop udev exec queue before killing it
Harald Hoyer [Thu, 1 Oct 2009 13:17:59 +0000 (15:17 +0200)] 
base/init: stop udev exec queue before killing it

16 years agosyslog: use initqueue to start syslog
Harald Hoyer [Thu, 1 Oct 2009 12:41:05 +0000 (14:41 +0200)] 
syslog: use initqueue to start syslog

16 years agonfs/nfsroot: do not redirect output on rdnetdebug
Harald Hoyer [Thu, 1 Oct 2009 12:35:38 +0000 (14:35 +0200)] 
nfs/nfsroot: do not redirect output on rdnetdebug

nfsroot is now in the initqueue

16 years agobase/dracut-lib: add setdebug
Harald Hoyer [Thu, 1 Oct 2009 12:32:52 +0000 (14:32 +0200)] 
base/dracut-lib: add setdebug

do not clutter rdinitdebug output with getarg and getargs debug

16 years agonbd/nbdroot: add better check if nbd0 is ready to be mounted
Harald Hoyer [Thu, 1 Oct 2009 12:32:01 +0000 (14:32 +0200)] 
nbd/nbdroot: add better check if nbd0 is ready to be mounted

16 years agonetwork/netroot: remove flock
Harald Hoyer [Thu, 1 Oct 2009 12:01:14 +0000 (14:01 +0200)] 
network/netroot: remove flock

netroot is now in the initqueue

16 years agonetwork/netroot: do not redirect output on rdnetdebug
Harald Hoyer [Thu, 1 Oct 2009 11:59:34 +0000 (13:59 +0200)] 
network/netroot: do not redirect output on rdnetdebug

netroot is now in the initqueue

16 years agonbd/nbdroot: do not redirect debug output on rdnetdebug
Harald Hoyer [Thu, 1 Oct 2009 11:51:16 +0000 (13:51 +0200)] 
nbd/nbdroot: do not redirect debug output on rdnetdebug

nbdroot is now in the initqueue and rdinitdebug should cover that

16 years agonbd/nbdroot: use udevsettle to wait for /dev/nbd0
Harald Hoyer [Thu, 1 Oct 2009 11:48:41 +0000 (13:48 +0200)] 
nbd/nbdroot: use udevsettle to wait for /dev/nbd0

nbdroot is now in the initqueue, so we can use udevsettle

16 years agomdraid: do not cleanup on auto assembly with mdadm.conf
Harald Hoyer [Thu, 1 Oct 2009 09:45:54 +0000 (11:45 +0200)] 
mdraid: do not cleanup on auto assembly with mdadm.conf

16 years agonbd: finish on /dev/root rather than on nbd0
Harald Hoyer [Wed, 30 Sep 2009 19:47:45 +0000 (21:47 +0200)] 
nbd: finish on /dev/root rather than on nbd0

16 years agonfs: specify nfs version 3 explicitly and retry with nfs version 2
Harald Hoyer [Wed, 30 Sep 2009 15:38:43 +0000 (17:38 +0200)] 
nfs: specify nfs version 3 explicitly and retry with nfs version 2

16 years agonetwork: move netroot to initqueue
Harald Hoyer [Wed, 30 Sep 2009 15:24:52 +0000 (17:24 +0200)] 
network: move netroot to initqueue

Schedule netroot for the initqueue inside ifup and dhclient.

16 years agodracut-functions: let inst*() honor and handle symlinks correctly
Harald Hoyer [Wed, 30 Sep 2009 13:35:33 +0000 (15:35 +0200)] 
dracut-functions: let inst*() honor and handle symlinks correctly

16 years agodracut-functions: inst_simple() with cp -p to preserver timestamps, etc.
Harald Hoyer [Wed, 30 Sep 2009 13:34:12 +0000 (15:34 +0200)] 
dracut-functions: inst_simple() with cp -p to preserver timestamps, etc.

16 years agoinit: start udevd with --resolve-names=never
Harald Hoyer [Wed, 30 Sep 2009 13:04:50 +0000 (15:04 +0200)] 
init: start udevd with --resolve-names=never

16 years agoinit: mount /dev/shm
Harald Hoyer [Wed, 30 Sep 2009 13:04:36 +0000 (15:04 +0200)] 
init: mount /dev/shm

16 years agoMakefile: reorder targets
Harald Hoyer [Wed, 30 Sep 2009 08:18:25 +0000 (10:18 +0200)] 
Makefile: reorder targets

16 years agodracut-gencmdline: check for keyboard & i18n files
Lance Albertson [Tue, 29 Sep 2009 03:30:17 +0000 (20:30 -0700)] 
dracut-gencmdline: check for keyboard & i18n files

16 years agodir symlinks
Lance Albertson [Sun, 27 Sep 2009 04:33:41 +0000 (21:33 -0700)] 
dir symlinks

On amd64 multilib Gentoo, /lib is a symlink to /lib64, and dracut creates
duplicate files in /lib and /lib64 in a resulting cpio image. Other files are
missing in /lib64 but exists in /lib in that image. So /usr/sbin/lvm fails to
run from initrd due to missing libraries.  A possible solution is to create in
the initrd the same /lib symlink as in host system, if /lib is a symlink.

http://bugs.gentoo.org/show_bug.cgi?id=278442#c10

16 years agocustom paths
Lance Albertson [Sun, 27 Sep 2009 04:26:43 +0000 (21:26 -0700)] 
custom paths

Fix Makefile so that it allows us to install the root in a sane location (which
is needed in Gentoo).

16 years agodm/lvm: make usage of new udev event rules optionally
Harald Hoyer [Tue, 29 Sep 2009 16:29:34 +0000 (18:29 +0200)] 
dm/lvm: make usage of new udev event rules optionally

16 years ago95dasd: add dasd_diag_mod module
Harald Hoyer [Tue, 29 Sep 2009 16:20:48 +0000 (18:20 +0200)] 
95dasd: add dasd_diag_mod module

16 years agodracut.8: fixed ifname position
Harald Hoyer [Tue, 29 Sep 2009 15:12:03 +0000 (17:12 +0200)] 
dracut.8: fixed ifname position

16 years ago95dasd: use 'uname -m' instead of 'arch'
Harald Hoyer [Tue, 29 Sep 2009 12:48:56 +0000 (14:48 +0200)] 
95dasd: use 'uname -m' instead of 'arch'

16 years ago95dasd: fixed typo in modules.conf generation
Harald Hoyer [Tue, 29 Sep 2009 12:50:49 +0000 (14:50 +0200)] 
95dasd: fixed typo in modules.conf generation

16 years ago95dasd: do not install zfcp kernel module
Harald Hoyer [Tue, 29 Sep 2009 12:48:06 +0000 (14:48 +0200)] 
95dasd: do not install zfcp kernel module

16 years agorename 95s390 to 95dasd
Harald Hoyer [Tue, 29 Sep 2009 12:47:29 +0000 (14:47 +0200)] 
rename 95s390 to 95dasd

16 years agodmraid: add missing dso
Harald Hoyer [Thu, 24 Sep 2009 00:16:31 +0000 (17:16 -0700)] 
dmraid: add missing dso

16 years agodevicemapper: add dmeventd and new rules for device mapper
Harald Hoyer [Wed, 23 Sep 2009 23:44:57 +0000 (16:44 -0700)] 
devicemapper: add dmeventd and new rules for device mapper

16 years agoRemoving umount appears to be a mistake, it seems to have been OK prior.
Warren Togami [Wed, 23 Sep 2009 19:16:59 +0000 (15:16 -0400)] 
Removing umount appears to be a mistake, it seems to have been OK prior.

16 years agoFix LiveCD boot regression caused by bf55e2c5d3d0c12ad9d5363fb51c29eabc9f0008
Warren Togami [Mon, 21 Sep 2009 22:14:27 +0000 (18:14 -0400)] 
Fix LiveCD boot regression caused by bf55e2c5d3d0c12ad9d5363fb51c29eabc9f0008
FIXME: There is still something wrong with this boot where it wants to use umount, but doing so breaks live boot.

16 years agoselinux: bail out if policy could not be loaded and selinux=0 not
Harald Hoyer [Mon, 21 Sep 2009 15:44:14 +0000 (17:44 +0200)] 
selinux: bail out if policy could not be loaded and selinux=0 not
specified

16 years agodmsquash-live: add initqueue-finished
Harald Hoyer [Sat, 19 Sep 2009 08:51:34 +0000 (10:51 +0200)] 
dmsquash-live: add initqueue-finished

16 years agolvm: add rd_NO_LVMCONF
Harald Hoyer [Fri, 18 Sep 2009 10:28:36 +0000 (12:28 +0200)] 
lvm: add rd_NO_LVMCONF

16 years agomd/dm/lvm: install pre-pivot cleanup hooks only if actually needed
Harald Hoyer [Fri, 18 Sep 2009 09:40:12 +0000 (11:40 +0200)] 
md/dm/lvm: install pre-pivot cleanup hooks only if actually needed

- removed dmraid cleanup
- only call lvm cleanup, if no lvm.conf provided
- copy over lvm.conf by default
- add --nolvmconf --lvmconf parameters

16 years agokernel-modules: force install of scsi_wait_scan in hostonly mode
Harald Hoyer [Fri, 18 Sep 2009 10:19:17 +0000 (12:19 +0200)] 
kernel-modules: force install of scsi_wait_scan in hostonly mode

16 years agodracut-gencmdline: add missing functions
Harald Hoyer [Fri, 18 Sep 2009 07:08:23 +0000 (09:08 +0200)] 
dracut-gencmdline: add missing functions

16 years agoRecognize nodmraid and noiswmd kernel cmdline options
Hans de Goede [Fri, 18 Sep 2009 07:01:09 +0000 (09:01 +0200)] 
Recognize nodmraid and noiswmd kernel cmdline options

Recognize nodmraid and noiswmd kernel cmdline options, for anaconda /
rc.sysinit / mkinitrd compatibility.

16 years agoDo not stop / start udev exec-queue around "mdadm -As --run"
Hans de Goede [Thu, 17 Sep 2009 20:52:53 +0000 (22:52 +0200)] 
Do not stop / start udev exec-queue around "mdadm -As --run"

When assembling containers + embedded arrays from mdadm.conf,
mdadm needs the /dev/md# node for the container to assemble the
arrays within the container. Stopping the udev exec queue, results in
this node not getting created and mdadm failing to online the
arrays within the container.

Not having stop / start udev exec-queue around "mdadm -As --run" should
be safe as the exact same command is run from rc.sysinit without
any queue locking.

16 years agoversion 002 002
Harald Hoyer [Thu, 17 Sep 2009 15:52:00 +0000 (17:52 +0200)] 
version 002