Harald Hoyer [Wed, 20 Jun 2012 23:01:07 +0000 (01:01 +0200)]
systemd/module-setup.sh: add old udev systemd services
Harald Hoyer [Wed, 20 Jun 2012 16:34:35 +0000 (18:34 +0200)]
systemd: output all service output to the journal also
Harald Hoyer [Wed, 20 Jun 2012 16:29:42 +0000 (18:29 +0200)]
dracut-shutdown.service: fixed ordering to be before shutdown.target
Harald Hoyer [Wed, 20 Jun 2012 16:28:35 +0000 (18:28 +0200)]
check for arch before installing drivers/s390
Harald Hoyer [Mon, 18 Jun 2012 17:20:39 +0000 (19:20 +0200)]
disable TEST-16-DMSQUASH for now
Harald Hoyer [Mon, 18 Jun 2012 17:28:44 +0000 (19:28 +0200)]
TEST-50-MULTINIC: libnss cleanup
Harald Hoyer [Mon, 18 Jun 2012 17:23:25 +0000 (19:23 +0200)]
TEST-20-NFS: libnss cleanup
Harald Hoyer [Mon, 18 Jun 2012 17:22:35 +0000 (19:22 +0200)]
TEST-50-MULTINIC: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:13:09 +0000 (19:13 +0200)]
TEST-20-NFS: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:20:16 +0000 (19:20 +0200)]
TEST-01-BASIC: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:17:22 +0000 (19:17 +0200)]
add 04watchdog dracut module
Harald Hoyer [Mon, 18 Jun 2012 11:45:13 +0000 (13:45 +0200)]
plymouth: fixed inst_libdir_file() call
https://bugzilla.redhat.com/show_bug.cgi?id=831349
Harald Hoyer [Mon, 18 Jun 2012 11:26:55 +0000 (13:26 +0200)]
iscsi/module-setup.sh: only install s390 driver on s390 arch
Harald Hoyer [Mon, 18 Jun 2012 10:52:39 +0000 (12:52 +0200)]
Set some global variables in dracut-functions.sh
Harald Hoyer [Mon, 18 Jun 2012 10:51:21 +0000 (12:51 +0200)]
fixed instmods() return code and set pipefail globally
Harald Hoyer [Tue, 12 Jun 2012 12:40:43 +0000 (14:40 +0200)]
resolve conflict between cms network rules and default rules
Harald Hoyer [Fri, 15 Jun 2012 09:56:05 +0000 (11:56 +0200)]
Revert "network/ifup.sh: do not default to dhcp, for interfaces without ip=..."
This reverts commit
ede0532c580fdbace548511b07857fb2e004b299.
Harald Hoyer [Fri, 15 Jun 2012 09:55:59 +0000 (11:55 +0200)]
Revert "network/ifup.sh: default to dhcp for BOOTIF"
This reverts commit
bebb12fd0ec3cbb88006e384a9a277391a2f3a37.
Harald Hoyer [Fri, 15 Jun 2012 09:12:46 +0000 (11:12 +0200)]
TEST-50-MULTINIC: install correct nss libs
Harald Hoyer [Fri, 15 Jun 2012 09:12:08 +0000 (11:12 +0200)]
nfs: extend libnss wildcard
Harald Hoyer [Fri, 15 Jun 2012 09:11:30 +0000 (11:11 +0200)]
dracut.sh: unset some variables
Harald Hoyer [Fri, 15 Jun 2012 09:11:10 +0000 (11:11 +0200)]
dracut.sh: output unknown argument
Harald Hoyer [Fri, 15 Jun 2012 07:34:00 +0000 (09:34 +0200)]
dracut-functions.sh: fixup inst_libdir_file() again
Thomas Lange [Thu, 14 Jun 2012 15:42:34 +0000 (17:42 +0200)]
Debian multiarch support
Hi Jon,
here's the diff which works for me. The quotation marks around $@ do
not work for me. Instead of "$@" I must to use $_dir/$@ (or
"$_dir"/$@) but no quotation marks around $@. Could you please review
my patch.
Harald Hoyer [Thu, 14 Jun 2012 11:04:22 +0000 (13:04 +0200)]
add PARTUUID as root=PARTUUID=<partition uuid> parameter
Will Woods [Mon, 11 Jun 2012 17:46:22 +0000 (13:46 -0400)]
ifcfg: fix output for ipv6 static addressing
IPV6 configuration is pretty different than IPV4; write out the correct
set of values to make static IPV6 addressing work.
Will Woods [Mon, 11 Jun 2012 17:46:21 +0000 (13:46 -0400)]
fix ifup for static ipv6
"brd +" is not valid for ipv6. This causes the 'ip addr add' command to
fail with the message "Broadcast can be set only for IPv4 addresses".
So: don't use "brd +" for ipv6.
Harald Hoyer [Tue, 12 Jun 2012 15:35:49 +0000 (11:35 -0400)]
dracut.sh: mkdir $initdir/lib/dracut
Harald Hoyer [Mon, 11 Jun 2012 15:11:49 +0000 (17:11 +0200)]
network/ifup.sh: default to dhcp for BOOTIF
Harald Hoyer [Fri, 8 Jun 2012 10:42:12 +0000 (12:42 +0200)]
mdraid/md-shutdown.sh: check for presence of mdadm
Harald Hoyer [Fri, 8 Jun 2012 10:41:49 +0000 (12:41 +0200)]
dm: check for presence of dmsetup
Harald Hoyer [Fri, 8 Jun 2012 08:41:59 +0000 (10:41 +0200)]
dracut.sh: mkdir of $libdirs at then end
Harald Hoyer [Fri, 8 Jun 2012 08:29:35 +0000 (10:29 +0200)]
s/Unable to process initqueue/Could not boot/g
Harald Hoyer [Fri, 8 Jun 2012 08:28:31 +0000 (10:28 +0200)]
mdraid/md-shutdown.sh: wait until md devices are clean
Harald Hoyer [Thu, 7 Jun 2012 09:31:45 +0000 (11:31 +0200)]
systemd/dracut-initqueue.sh: remove pre-trigger sourcing
Thanks ms77 on #dracut!
Harald Hoyer [Tue, 29 May 2012 14:34:58 +0000 (16:34 +0200)]
network/ifup.sh: do not default to dhcp, for interfaces without ip=...
Don't try to be smarter than the admin configuring the machine.
Does also conflict with other methods trying to setup the interfaces,
like cmsifup.sh from the cms module.
Harald Hoyer [Thu, 7 Jun 2012 08:38:31 +0000 (10:38 +0200)]
systemd: strip down the installation of some unused tools
Harald Hoyer [Wed, 6 Jun 2012 16:20:35 +0000 (18:20 +0200)]
modules are now only handled with /sys/modules and modules.dep
No more "find" and /proc/modules checking. We now rely entirely on
depmod and modules.dep
Harald Hoyer [Wed, 6 Jun 2012 13:12:59 +0000 (15:12 +0200)]
make udevdir systemdutildir systemdsystemunitdir global vars
your distribution should ship those settings in
/etc/dracut.conf.d/01-distro.conf
see dracut.conf.d/fedora.conf.example
Juan RP [Wed, 6 Jun 2012 12:19:59 +0000 (14:19 +0200)]
Avoid annonying warnings when pkg-config is not installed.
Harald Hoyer [Wed, 6 Jun 2012 09:45:30 +0000 (11:45 +0200)]
kernel-modules/module-setup.sh: include omapdrm in the arm modules to include
Harald Hoyer [Tue, 5 Jun 2012 18:23:35 +0000 (20:23 +0200)]
dasd_mod: change rd.dasd to dasd_mod kernel parameter
Harald Hoyer [Mon, 4 Jun 2012 13:23:15 +0000 (15:23 +0200)]
get rid of libdir and usrlibdir
Harald Hoyer [Mon, 4 Jun 2012 12:24:25 +0000 (14:24 +0200)]
version 019
Harald Hoyer [Mon, 4 Jun 2012 12:23:54 +0000 (14:23 +0200)]
NEWS: dracut-019
Harald Hoyer [Mon, 4 Jun 2012 12:00:49 +0000 (14:00 +0200)]
dracut.sh: precopy some essential device nodes
Harald Hoyer [Mon, 4 Jun 2012 11:56:55 +0000 (13:56 +0200)]
systemd/dracut-pre-trigger.sh: fixed rd.udev.{debug|info}
Harald Hoyer [Mon, 4 Jun 2012 11:12:07 +0000 (13:12 +0200)]
systemd/module-setup.sh: package udev in sysinit.target
Harald Hoyer [Mon, 4 Jun 2012 11:11:38 +0000 (13:11 +0200)]
udev-rules: check for systemd-udevd symlink already present
Harald Hoyer [Mon, 4 Jun 2012 10:58:42 +0000 (12:58 +0200)]
use pkg-config to determine the udev directory
Harald Hoyer [Mon, 4 Jun 2012 10:55:32 +0000 (12:55 +0200)]
systemd: use pkg-config to determine the systemd directories
Harald Hoyer [Mon, 4 Jun 2012 09:35:31 +0000 (11:35 +0200)]
test/TEST-16-DMSQUASH: add check for python-imgcreate
Harald Hoyer [Mon, 4 Jun 2012 09:35:02 +0000 (11:35 +0200)]
test/test-functions: check with test_check() if test is suitable
Harald Hoyer [Mon, 4 Jun 2012 09:33:29 +0000 (11:33 +0200)]
dracut.sh: do not rely on the presence of lib64, check with ldd
Cong Wang [Thu, 31 May 2012 14:07:38 +0000 (22:07 +0800)]
Handle multiple underlying devices of a bridge
A bridge device with only one underlying ethernet device is almost
useless, for sure we want to support a bridge with multiple
underlying devices.
This patch adds the support by extending <ethname> in the original
bridge= cmdline to a comma-separated list of ethernet interfaces.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Jesse Keating [Fri, 1 Jun 2012 01:41:25 +0000 (18:41 -0700)]
Don't set an already set attribute (#826357)
Depending on how the dasd_mod module was loaded, our device could have
already been marked as online or offline. We need to make the sysecho
sensitive to this and not fail if the attribute we're trying to set has
already been set.
Harald Hoyer [Mon, 4 Jun 2012 07:58:49 +0000 (09:58 +0200)]
99base/init.sh: kill systemd-udevd instead of udevd
Harald Hoyer [Mon, 4 Jun 2012 07:09:09 +0000 (03:09 -0400)]
base/loginit.sh: revert "quiet" patch
Harald Hoyer [Mon, 4 Jun 2012 07:08:24 +0000 (03:08 -0400)]
systemd: mkdir basic.target.wants
Harald Hoyer [Mon, 4 Jun 2012 07:07:43 +0000 (03:07 -0400)]
TODO: update
Harald Hoyer [Fri, 1 Jun 2012 16:51:47 +0000 (18:51 +0200)]
add README.testsuite
Harald Hoyer [Fri, 1 Jun 2012 15:09:25 +0000 (17:09 +0200)]
fix return value of some installkernel() functions
Harald Hoyer [Thu, 31 May 2012 10:57:23 +0000 (12:57 +0200)]
add filesystem options to fsck_single()
if we have e.g. special btrfs options for "/" and "/usr", we want to use
those for the test mount to determine if the filesystem is corrupted.
Harald Hoyer [Thu, 31 May 2012 09:46:10 +0000 (11:46 +0200)]
crypt: add rd.luks.allow-discards and honor options in crypttab
also fixed the retry loop for rd.luks.key
Harald Hoyer [Thu, 31 May 2012 07:56:24 +0000 (09:56 +0200)]
dracut-shutdown.service: do not unpack old initramfs on shutdown
Do not unpack the initramfs, if the old initramfs still exists.
Harald Hoyer [Thu, 31 May 2012 07:14:17 +0000 (09:14 +0200)]
removed scsi_wait_scan from standard install
Harald Hoyer [Thu, 31 May 2012 07:12:51 +0000 (09:12 +0200)]
dasd_mod/parse-dasd-mod.sh: fixed dasd_mod param generation
Harald Hoyer [Tue, 29 May 2012 15:38:18 +0000 (17:38 +0200)]
network: do not arping with qeth layer3 interfaces
https://bugzilla.redhat.com/show_bug.cgi?id=825783
Harald Hoyer [Tue, 29 May 2012 14:10:46 +0000 (16:10 +0200)]
url-lib/url-lib.sh: disable curl progress bar
https://bugzilla.redhat.com/show_bug.cgi?id=817301
https://bugzilla.redhat.com/show_bug.cgi?id=824883
Will Woods [Tue, 22 May 2012 22:31:07 +0000 (18:31 -0400)]
add anaconda-style option parsing to ip_to_var
Anaconda used arguments of the form:
ip=<ip> gateway=<gw> netmask=<nm>
for static IP configuration. So if we get a value for "ip" that's an IP
address, look for gateway= and netmask= and related args to fill in the
ip config vars.
Will Woods [Tue, 22 May 2012 22:16:12 +0000 (18:16 -0400)]
do emergency_shell in die() if rd.debug=1
If I said 'rd.debug=1' I should get to debug the system before it dies,
right?
Will Woods [Tue, 22 May 2012 22:16:11 +0000 (18:16 -0400)]
don't wait_for_loginit in emergency_shell()
wait_for_loginit ends the log; this is unhelpful if you're using
emergency_shell to do debugging.
Just leave loginit running. It doesn't hurt anything.
Will Woods [Tue, 22 May 2012 21:55:00 +0000 (17:55 -0400)]
dracut-lib.sh: add copytree(), use it where applicable
copytree() recursively copies the contents of SRC into DEST.
If DEST doesn't exist it is created; if it exists the contents of SRC
get merged into it (duplicate files are overwritten).
Cong Wang [Tue, 29 May 2012 09:00:34 +0000 (17:00 +0800)]
Update the documentation of ifname= cmdline
The documentation about ifname= needs to update.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:35 +0000 (17:00 +0800)]
Remove rd.neednet cmdline
rd.neednet could be removed, as we can check /tmp/net.ifaces.
After this patch, kdump can bring up the NIC without
rd.neednet.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:33 +0000 (17:00 +0800)]
Do not use ifenslave
ifenslave is an old tool, and could be dropped,
we can use the /sys interface.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:32 +0000 (17:00 +0800)]
Remove netroot check in cmdline parsing code
Relax the rules for kdump, we don't specify netroot in kdump.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:31 +0000 (17:00 +0800)]
Add doc for birdge= cmdline
Document bridge= cmdline in dracut.cmdline(7).
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:30 +0000 (17:00 +0800)]
Add doc for bond= cmdline
Document bond= cmdline in dracut.cmdline(7).
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:29 +0000 (17:00 +0800)]
Add doc for vlan= cmdline
Document vlan= cmdline in dracut.cmdline(7).
Cc: Dave Young <dyoung@redhat.com>
Cc: Harald Hoyer <harald@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:28 +0000 (17:00 +0800)]
Add vlan support in network module
This patch adds basic vlan support in network module.
The cmdline syntax for vlan is:
vlan=<vlanname>:<phydevice>
for an example:
vlan=eth0.2:eth0
or
vlan=vlan2:eth0
See also patch 2/8.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Harald Hoyer [Tue, 29 May 2012 08:18:20 +0000 (10:18 +0200)]
base/init.sh: use info() instead of vinfo() for version info
Thanks to Cong Wang for the hint
Harald Hoyer [Tue, 29 May 2012 07:17:43 +0000 (09:17 +0200)]
systemd/module-setup.sh: add journalctl and systemctl
Cong Wang [Tue, 29 May 2012 07:17:01 +0000 (09:17 +0200)]
Relax the rules for kdump, we don't specify netroot in kdump.
Juan RP [Mon, 28 May 2012 14:17:28 +0000 (16:17 +0200)]
dmsquash-live: do not hardcode path to mount(8) in generated hook.
In some cases (at least in mine) mount(8) is in /usr/bin/mount and
not in /bin/mount as dmsquash-live-root.sh expects. PATH is set to
/usr/bin:/usr/sbin:/sbin:/bin in that script anyway.
Juan RP [Mon, 28 May 2012 14:14:35 +0000 (16:14 +0200)]
modules.d/99base/init.sh: check for a valid init in case INIT is a symlink.
Obviously we have to test if it's executable with the PATH to NEWROOT.
Harald Hoyer [Tue, 22 May 2012 12:52:36 +0000 (14:52 +0200)]
drop 10rpmversion module and introduce /etc/initrd-release
Harald Hoyer [Tue, 22 May 2012 12:50:19 +0000 (14:50 +0200)]
renamed switch-root.{service,target} -> initrd-switch-root
Harald Hoyer [Tue, 22 May 2012 12:28:34 +0000 (14:28 +0200)]
add dracut-version.sh
Harald Hoyer [Tue, 22 May 2012 09:36:41 +0000 (11:36 +0200)]
ifcfg/write-ifcfg.sh: fixed IFS resetting
Jesse Keating [Fri, 18 May 2012 21:50:20 +0000 (14:50 -0700)]
Normalize dasd argument content for dasd.conf
Also overwrite any existing files, contents from CMSCONFFILE override
any boot arguments.
Jesse Keating [Fri, 18 May 2012 21:06:54 +0000 (14:06 -0700)]
Translate dasd arg contents into proper dasd.conf
This uses a (new) s390utils utility to normalize the range we might get
in a dasd argument and generates a properly formatted output for
dasd.conf.
Jesse Keating [Tue, 15 May 2012 20:42:47 +0000 (13:42 -0700)]
Use the right argument for dasd module options
The legacy argument is DASD=, and the new arguments should be the same
as the arguments for populating dasd.conf. If multiple arguments are
passed we can stack them by inserting a ',' between them.
Dennis Gilmore [Thu, 17 May 2012 06:33:17 +0000 (01:33 -0500)]
ARM: make sure that we get the storage modules into the initramfs
WANG Cong [Fri, 18 May 2012 05:38:17 +0000 (13:38 +0800)]
check ifenslave instead of brctl in parse-bond.sh
This is obviously wrong, ifenslave instead of brctl is needed for bonding.
Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Dave Young [Mon, 21 May 2012 08:37:06 +0000 (16:37 +0800)]
add option --printsize
Add --printsize for measuring module installed size to initramfs
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Wed, 16 May 2012 09:51:26 +0000 (11:51 +0200)]
TEST-01-BASIC: sync after creating the root disk
Vivek Goyal [Tue, 15 May 2012 17:36:11 +0000 (13:36 -0400)]
dracut:fstab-sys: Wait for devices specified using --mount option
dracut allows passing --mount option which mounts the specified devices.
But it does not wait for these devices to show up and mounting will fail
if devices do not show up by the time "mount" was called.
I am writing some patches to support kdump on iscsi target and I noticed
that one of the initqueue script was not called as we found the root
device and broke out of main loop.
There are two possible enancements to this patch.
- Introduce a time limited wait (rd.timeout something along the lines of
rd.retry). That will allow kdump to try to dump to a backup target if
primary targets fails to come up.
- Wait for UUID= and LABEL= to show up too. Right now kdump converts
UUID= and LABEL= to respective devices and passes /dev/* to dracut
--mount option. So I am not introducing the wait for UUID= or LABEL=
in this patch.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Cong Wang [Tue, 15 May 2012 06:19:57 +0000 (14:19 +0800)]
check install files passed by cmdline
We should not trust cmdline passed by users, always
check the install files passed from cmdline. This restores
the old behaviour which was changed by:
commit
c6c6a08850c7e4ee211696895f7ca3864be85052
Author: Harald Hoyer <harald@redhat.com>
Date: Tue Feb 7 18:26:30 2012 +0100
add "install_items" to dracut.conf
Reported-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Harald Hoyer <harald@redhat.com>
Cong Wang [Tue, 15 May 2012 06:19:56 +0000 (14:19 +0800)]
check kernel module existance
This patch adds check of kernel module existance and
propagate errors to upper callers.
In case of break other callers of instmods(), this patch
adds an option '-c' to it, only when "-c" is specified
we fail, otherwise, errors are ignored.
Reported-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Harald Hoyer <harald@redhat.com>