Harald Hoyer [Tue, 8 Sep 2009 13:29:30 +0000 (15:29 +0200)]
dmraid: only install 64-md-raid.rules if no vol_id present
Harald Hoyer [Tue, 8 Sep 2009 11:43:21 +0000 (13:43 +0200)]
TEST-14-IMSM: no test for a isw raid array
Harald Hoyer [Tue, 8 Sep 2009 11:42:31 +0000 (13:42 +0200)]
65-md-incremental-imsm: add additional check for md-non-containers
Harald Hoyer [Mon, 7 Sep 2009 15:40:04 +0000 (17:40 +0200)]
added initqueue-settled and refactored code
Harald Hoyer [Mon, 7 Sep 2009 15:53:37 +0000 (17:53 +0200)]
mdraid-cleanup: do not stop mdraid container
Harald Hoyer [Mon, 7 Sep 2009 15:10:19 +0000 (17:10 +0200)]
add scp to debug module
Harald Hoyer [Mon, 7 Sep 2009 12:11:18 +0000 (14:11 +0200)]
mdraid_start.sh: fixed raid activation
Harald Hoyer [Mon, 7 Sep 2009 09:41:38 +0000 (11:41 +0200)]
TEST-12-RAID-DEG: check with root=LABEL=root
Harald Hoyer [Mon, 7 Sep 2009 09:40:20 +0000 (11:40 +0200)]
95udev-rules: fixed c&p bug which did not install 61-persistent-storage.rules
Harald Hoyer [Thu, 3 Sep 2009 15:11:57 +0000 (17:11 +0200)]
{crypt,dmraid,lvm,mdraid}: cleanup with pre-pivot 30 and 31
Harald Hoyer [Thu, 3 Sep 2009 15:11:03 +0000 (17:11 +0200)]
mdraid: add grep for convenience
Harald Hoyer [Wed, 2 Sep 2009 13:42:16 +0000 (15:42 +0200)]
version 001
Harald Hoyer [Wed, 2 Sep 2009 13:26:02 +0000 (15:26 +0200)]
reordered blkid/vol_id rules
Peter Rajnoha [Wed, 2 Sep 2009 11:35:17 +0000 (13:35 +0200)]
LVM/DM rules in dracut
I've looked at the LVM rules used in dracut just recently
and it needs fixing - we should react to change events only
for DM devices, so we have to skip vol_id/blkid call on ADD:
KERNEL=="dm-[0-9]*", ACTION=="add", GOTO="lvm_end"
Also, MD devices have their own rules, where vol_id/blkid
is called and where the symlinks are created (when looking
into raw initrd, this is in 64-md-raid.rules).
Also, if those rules are meant to be for DM devices only,
maybe we should skip symlink creation for the other devices
there, to keep the rules clean and straightforward. I think
we shouldn't create/recreate symlinks for non-dm devices in
LVM/DM rules (..should be in appropriate rules for that type
of device):
KERNEL!="dm-[0-9]*", GOTO="lvm_end"
Victor Lowther [Wed, 2 Sep 2009 12:40:28 +0000 (07:40 -0500)]
Merge commit 'origin/master'
Victor Lowther [Wed, 2 Sep 2009 12:37:33 +0000 (07:37 -0500)]
Made hostonly checking for fcoe fail for now.
Having it unconditionally pass pulls in all the networking cruft even
for systems that do not need it, and that sorta defeats the purpose of
hostonly mode.
Harald Hoyer [Tue, 1 Sep 2009 13:59:31 +0000 (15:59 +0200)]
90*/*cleanup.sh: fixed redirection to /dev/null
Harald Hoyer [Tue, 1 Sep 2009 13:41:08 +0000 (15:41 +0200)]
dracut-lib: try to set UDEVVERSION, if not set
Harald Hoyer [Mon, 31 Aug 2009 14:38:22 +0000 (16:38 +0200)]
plymouth: in the generic case, only install text and details themes
Harald Hoyer [Mon, 31 Aug 2009 14:24:50 +0000 (16:24 +0200)]
release any raid/crypt/lvm device assembled, but not in use
Harald Hoyer [Mon, 31 Aug 2009 14:17:27 +0000 (16:17 +0200)]
selinux-loadpolicy.sh: redirect output of selinux load_policy
Harald Hoyer [Mon, 31 Aug 2009 12:54:13 +0000 (14:54 +0200)]
dracut-functions: do not try to clear logfile, if not writable
Harald Hoyer [Mon, 31 Aug 2009 12:58:44 +0000 (14:58 +0200)]
dracut-function: add check for volume group members
see https://bugzilla.redhat.com/show_bug.cgi?id=506189
not all members of a linear volume group are listed in /sys slaves
Harald Hoyer [Mon, 31 Aug 2009 10:30:59 +0000 (12:30 +0200)]
split dracut in network / non-network
Harald Hoyer [Mon, 31 Aug 2009 10:05:58 +0000 (12:05 +0200)]
dracut.spec: removed s390 conditionals
Harald Hoyer [Mon, 31 Aug 2009 09:59:45 +0000 (11:59 +0200)]
dracut.spec: fixed gittag
Harald Hoyer [Mon, 31 Aug 2009 09:59:04 +0000 (11:59 +0200)]
fixed gitrpm
Harald Hoyer [Mon, 31 Aug 2009 09:44:26 +0000 (11:44 +0200)]
new test/TEST-13-ENC-RAID-LVM
Harald Hoyer [Mon, 31 Aug 2009 09:44:01 +0000 (11:44 +0200)]
TEST-12-RAID-DEG/test.sh: add rdinfo
Harald Hoyer [Mon, 31 Aug 2009 09:43:41 +0000 (11:43 +0200)]
65-md-incremental-imsm.rules: also check on "change"
Harald Hoyer [Mon, 31 Aug 2009 09:43:04 +0000 (11:43 +0200)]
lvm.rules: blkid for cciss devices
Harald Hoyer [Mon, 31 Aug 2009 09:41:36 +0000 (11:41 +0200)]
add udevsettle function and settle after raid/lvm/crypto activities
Harald Hoyer [Mon, 31 Aug 2009 09:40:05 +0000 (11:40 +0200)]
mdraid_start: check if raid is already active before trying to run it
Harald Hoyer [Mon, 31 Aug 2009 09:39:39 +0000 (11:39 +0200)]
dracut.spec: require policycoreutils
Harald Hoyer [Mon, 31 Aug 2009 09:39:21 +0000 (11:39 +0200)]
add hostonly to dracut.conf
Warren Togami [Mon, 31 Aug 2009 23:34:27 +0000 (19:34 -0400)]
Write netboot config for passing to OS as requested in https://bugzilla.redhat.com/show_bug.cgi?id=515771#c18
Harald Hoyer [Fri, 28 Aug 2009 11:28:19 +0000 (13:28 +0200)]
instmods(): fixed "instmods =drivers/md"
Hans de Goede [Tue, 25 Aug 2009 19:58:18 +0000 (21:58 +0200)]
Add fcoe booting support
Supported cmdline formats:
fcoe=<networkdevice>:<dcb|nodcb>
fcoe=<macaddress>:<dcb|nodcb>
Note currently only nodcb is supported, the dcb option is reserved for
future use.
Note letters in the macaddress must be lowercase!
Examples:
fcoe=eth0:nodcb
fcoe=4A:3F:4C:04:F8:D7:nodcb
Harald Hoyer [Fri, 28 Aug 2009 10:53:03 +0000 (12:53 +0200)]
dracut.8: document rootfstype and rootflags
Harald Hoyer [Thu, 27 Aug 2009 11:06:46 +0000 (13:06 +0200)]
network/installkernel: it's eth_type_trans and not eth_type_transfer
Harald Hoyer [Thu, 27 Aug 2009 10:52:24 +0000 (12:52 +0200)]
should_source_module(): refined check
Do not bail out early if no install exists.
Check also for installkernel.
Victor Lowther [Sat, 22 Aug 2009 17:04:11 +0000 (12:04 -0500)]
Oops, clean up broken get_fs_type implementation.
While we are at it, make a couple of other fixups.
Victor Lowther [Sat, 22 Aug 2009 03:11:36 +0000 (22:11 -0500)]
Add accurate --hostonly checking for 95iscsi
Victor Lowther [Fri, 21 Aug 2009 03:21:33 +0000 (22:21 -0500)]
Minor fixups to kernel module loading
Also rewrite filter_kernel_modules to make it a little easier to read.
Victor Lowther [Thu, 20 Aug 2009 20:52:45 +0000 (15:52 -0500)]
Abstract out hostonly vs. generic module installation differences.
This introduces filter_kernel_modules, which should be used to install
all kernel modules that match whatever criteria you want.
If running in --hostonly, filter_kernel_modules will only consider
modules that are loaded in the kernel, otherwise it will consider
all the modules installed on the system for the appropriate kernel.
This drastically reduces initramfs generation time when using --hostonly
by eliminating lots of unneeded filesystem activity.
Victor Lowther [Thu, 20 Aug 2009 19:14:21 +0000 (14:14 -0500)]
Some updates to the README files
Victor Lowther [Thu, 20 Aug 2009 12:28:04 +0000 (07:28 -0500)]
Abstract out vol_id vs. blkid usage.
vol_id seems to be going away, and blkid can be used as a drop-in replacement
for it.
Victor Lowther [Thu, 20 Aug 2009 03:20:12 +0000 (22:20 -0500)]
Speed up loading block drivers when running with --hostonly
Instead of grovelling through all the modules available for the
kernel looking for block devices, only look at the modules that are
actually loaded. This speeds things up by a rather large amount
when generating the initramfs with --hostonly.
While we are at it, only load the filesystem module that will actually
be used for the root filesystem when running in --hostonly instead
of all the filesystem modules that happen to be loaded at the time.
Victor Lowther [Wed, 19 Aug 2009 20:51:54 +0000 (15:51 -0500)]
Abstract out vol_id vs. blkid usage
Since different distros may or may not use vol_id in udev, and blkid
is generally replacing vol_id, abstract them out into a function which
tries to use vol_id first and blkid second, on the assumption that
blkid can take over for vol_id if vol_id is no longer there.
Harald Hoyer [Wed, 19 Aug 2009 15:11:29 +0000 (17:11 +0200)]
{crypt,dmraid,,lvm,mdraid}/check use blkid if no vol_id found
Harald Hoyer [Wed, 19 Aug 2009 15:10:38 +0000 (17:10 +0200)]
Makefile: add hostimage target for a hostonly image
call it with root priviledges
Harald Hoyer [Wed, 19 Aug 2009 15:09:53 +0000 (17:09 +0200)]
nbd/check: moved host-only checks and added ";"
Harald Hoyer [Wed, 19 Aug 2009 15:08:57 +0000 (17:08 +0200)]
dracut-functions: check for existance of slave devices before opening it
Harald Hoyer [Wed, 19 Aug 2009 09:12:42 +0000 (11:12 +0200)]
udev-rules: install vol_id
Harald Hoyer [Wed, 19 Aug 2009 08:59:37 +0000 (10:59 +0200)]
rsyslogd-start.sh: read correct filters file
Marc Grimme [Wed, 19 Aug 2009 08:40:02 +0000 (10:40 +0200)]
Syslog support for dracut
This module provides syslog functionality in the initrd.
This is especially interesting when complex configuration being
used to provide access to the device the rootfs resides on.
When this module is installed into the ramfs it is triggered by
the udev event from the nic being setup (online).
Then if syslog is configured it is started and will forward all
kernel messages to the given syslog server.
The syslog implementation is detected automatically by finding the
apropriate binary with the following order:
rsyslogd
syslogd
syslog-ng
Then if detected the syslog.conf is generated and syslog is started.
Bootparameters:
syslogserver=ip Where to syslog to
sysloglevel=level What level has to be logged
syslogtype=rsyslog|syslog|syslogng
Don't auto detect syslog but set it
Jeremy Katz [Tue, 18 Aug 2009 17:59:19 +0000 (13:59 -0400)]
Fix syntax error in conditional
Fix a typo in the conditionals. Not sure how I didn't notice these
before
Victor Lowther [Sun, 16 Aug 2009 23:22:21 +0000 (18:22 -0500)]
Modify nbd hostonly checking to use check_block_and_slaves.
This allows hostonly nbd checking to work in more exotic situations,
such as mdraid/dmraid/lvm/crypt on top of nbd.
Victor Lowther [Sun, 16 Aug 2009 16:02:07 +0000 (11:02 -0500)]
Modified lvm hostonly checking to use dracut-functions
Victor Lowther [Sun, 16 Aug 2009 15:35:15 +0000 (10:35 -0500)]
Make mdraid checking use common functionality in dracut-functions
Victor Lowther [Sun, 16 Aug 2009 15:32:48 +0000 (10:32 -0500)]
Make dmraid checking use common functionality in dracut-functions
Victor Lowther [Sun, 16 Aug 2009 15:29:21 +0000 (10:29 -0500)]
Move common rootfs finding and backing store tree checking to dracut-functions
Victor Lowther [Sun, 16 Aug 2009 13:18:58 +0000 (08:18 -0500)]
Minor spacing fixups in dracut-finctions
Victor Lowther [Sun, 16 Aug 2009 13:16:49 +0000 (08:16 -0500)]
The network check script sources , so it must use /bin/bash
Victor Lowther [Sat, 15 Aug 2009 21:54:20 +0000 (16:54 -0500)]
Make the lvm check script really check to see if root is on an lvm device
somehow when run in hostonly mode.
Victor Lowther [Sun, 16 Aug 2009 20:29:27 +0000 (15:29 -0500)]
make mdraid check script really check to see of the rootfs is on an
mdraid block device when run in hostonly mode.
Victor Lowther [Sat, 15 Aug 2009 21:46:34 +0000 (16:46 -0500)]
Make hostonly check for dmraid only pass if root is really on
a dmraid volume somehow.
Victor Lowther [Sat, 15 Aug 2009 21:25:07 +0000 (16:25 -0500)]
Make hostonly checking in 90crypt only pass if root is really on an
encrypted block device somewhere along the chain.
Victor Lowther [Sat, 15 Aug 2009 19:17:19 +0000 (14:17 -0500)]
Split kernel module loading into smaller chunks.
This prepares to more tightly integrate dracut-gencmdline with the
rest of the dracut scripts
Victor Lowther [Sat, 15 Aug 2009 15:56:36 +0000 (10:56 -0500)]
More quotation fixups in dracut-functions
Victor Lowther [Sat, 15 Aug 2009 12:55:59 +0000 (07:55 -0500)]
Simplify dracut_install a bit, an make a minor fixup to check_module_deps
Victor Lowther [Sat, 15 Aug 2009 12:38:26 +0000 (07:38 -0500)]
Some quotation cleanups in dracut-functions.
Quotes are generally not needed in when assigning one variable to another,
and are also not needed inside [[ ]] comaprisons, as word splitting and
pathname expansion are not performed in these cases.
Victor Lowther [Sat, 15 Aug 2009 03:54:38 +0000 (22:54 -0500)]
Get rid of redundant NONL stuff in dracut-gencmdline
Victor Lowther [Sat, 15 Aug 2009 03:51:25 +0000 (22:51 -0500)]
Update dracut-catimages to make it much more robust in the face of
image filenames with spaces, carriage returns, and other such nasty
characters in them. Bash arrays are very useful for these sorts of things.
Victor Lowther [Sat, 15 Aug 2009 03:32:27 +0000 (22:32 -0500)]
No need to quote variable expansion in [[ ]]
Victor Lowther [Sat, 15 Aug 2009 03:31:04 +0000 (22:31 -0500)]
Bashify drivers_dir check
Harald Hoyer [Fri, 14 Aug 2009 16:02:51 +0000 (18:02 +0200)]
dracut.spec add NEWS to dracut and dracut-tools
Harald Hoyer [Fri, 14 Aug 2009 15:59:43 +0000 (17:59 +0200)]
version 0.9
Harald Hoyer [Fri, 14 Aug 2009 15:47:07 +0000 (17:47 +0200)]
rpmversion: dash does not want as I do
Harald Hoyer [Fri, 14 Aug 2009 15:37:00 +0000 (17:37 +0200)]
rpmversion: fixed rpm query
Harald Hoyer [Fri, 14 Aug 2009 15:25:37 +0000 (17:25 +0200)]
TEST-10-RAID: new mdadm is picky about partitions
Michael Ploujnikov [Thu, 13 Aug 2009 13:40:44 +0000 (09:40 -0400)]
update the rdbreak breakpoint list
Harald Hoyer [Fri, 14 Aug 2009 14:30:38 +0000 (16:30 +0200)]
dracut.spec: add more plymouth themes
Harald Hoyer [Fri, 14 Aug 2009 14:29:20 +0000 (16:29 +0200)]
dracut.spec: requieres dash
how could we forget to add that?? :-)
Harald Hoyer [Fri, 14 Aug 2009 14:24:58 +0000 (16:24 +0200)]
new module 10rpmversion
outputs rpm version of dracut
Harald Hoyer [Fri, 14 Aug 2009 14:20:33 +0000 (16:20 +0200)]
removed 90dmsetup
Harald Hoyer [Fri, 14 Aug 2009 14:20:07 +0000 (16:20 +0200)]
udev-rules: hardcode helper binaries
Harald Hoyer [Fri, 14 Aug 2009 14:19:06 +0000 (16:19 +0200)]
nfs: only install libnfsidmap_nsswitch.so of all libnfsidmap_*.so
Harald Hoyer [Fri, 14 Aug 2009 14:18:27 +0000 (16:18 +0200)]
dmsquash-live: install the "real" eject
eject might be a symlink to consolehelper
Harald Hoyer [Fri, 14 Aug 2009 14:18:05 +0000 (16:18 +0200)]
dracut: set ownership to root.root for all files
Harald Hoyer [Fri, 14 Aug 2009 07:44:03 +0000 (09:44 +0200)]
dracut-gencmdline: fix LUKS_UUID and MD_UUID output
Harald Hoyer [Fri, 14 Aug 2009 14:12:02 +0000 (16:12 +0200)]
network: exclude kernel modules, which need iw_handler_get_spy
Harald Hoyer [Fri, 14 Aug 2009 14:11:35 +0000 (16:11 +0200)]
cryptroot-ask.sh: fix rd_LUKS_UUID handling
Harald Hoyer [Fri, 14 Aug 2009 14:10:28 +0000 (16:10 +0200)]
10redhat-i18n: remove unnecessary files
Harald Hoyer [Fri, 14 Aug 2009 14:05:18 +0000 (16:05 +0200)]
add rdinfo command line parameter
print informational output though "quiet" is set
Harald Hoyer [Thu, 13 Aug 2009 12:22:54 +0000 (14:22 +0200)]
inst_simple(): add -p flag to cp
Harald Hoyer [Fri, 7 Aug 2009 10:08:31 +0000 (12:08 +0200)]
plymouth: make the daemon attach to the session/terminal
https://bugzilla.redhat.com/show_bug.cgi?id=516104
it can be so simple :-)
Harald Hoyer [Fri, 7 Aug 2009 10:08:04 +0000 (12:08 +0200)]
dracut.spec: require versioned util-linux-ng instead of switch_root
Warren Togami [Thu, 6 Aug 2009 15:07:43 +0000 (11:07 -0400)]
Remove ugly hack
Harald Hoyer [Thu, 6 Aug 2009 13:01:38 +0000 (15:01 +0200)]
version 0.8