Harald Hoyer [Fri, 22 Jun 2012 12:50:06 +0000 (14:50 +0200)]
Add qemu kernel modules, if we detect a qemu instance
Regardless of the host-only setting, add all know kernel driver for qemu
instances to support changing the virtual hardware.
Harald Hoyer [Fri, 22 Jun 2012 06:59:22 +0000 (08:59 +0200)]
dracut-functions.sh: cp with --reflink=auto and --sparse=auto
cp will use COW data copy most of the time. So, it's even better than
hardlink, because we don't have to care about hardlinks, when modifying
files in post.
Harald Hoyer [Fri, 22 Jun 2012 06:58:39 +0000 (08:58 +0200)]
dracut-functions.sh: mksubdirs(): check for dir existence first
Harald Hoyer [Fri, 22 Jun 2012 06:57:20 +0000 (08:57 +0200)]
dracut-functions.sh: replace strstr()
the new strstr() is faster, when compared
Harald Hoyer [Thu, 21 Jun 2012 12:10:41 +0000 (14:10 +0200)]
systemd: add ConditionPathExists=/etc/initrd-release to services
Cong Wang [Thu, 21 Jun 2012 03:44:35 +0000 (11:44 +0800)]
network: support vlan tagged bonding
This patch adds support of vlan tagged bonding, for example,
bond0.2. In case of regression, I also tested bond0 and eth0.2,
all work fine.
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 [Thu, 21 Jun 2012 08:50:36 +0000 (10:50 +0200)]
systemd/dracut-pre-pivot.sh: copy service files to /run/systemd/system
and remove the last info, so that the journal is not restarted again.
Harald Hoyer [Thu, 21 Jun 2012 08:50:01 +0000 (10:50 +0200)]
systemd: remove old udev services
Harald Hoyer [Thu, 21 Jun 2012 07:24:44 +0000 (09:24 +0200)]
fixed i18n for systemd and include more config files in host-only
Harald Hoyer [Thu, 21 Jun 2012 01:36:58 +0000 (03:36 +0200)]
systemd: remove unneeded systemd services
Harald Hoyer [Wed, 20 Jun 2012 23:57:11 +0000 (01:57 +0200)]
dracut-functions.sh: use "ln -r" instead of shell functions
Harald Hoyer [Wed, 20 Jun 2012 23:20:11 +0000 (01:20 +0200)]
dracut.spec: require systemd >= 44-15
Harald Hoyer [Wed, 20 Jun 2012 23:09:02 +0000 (01:09 +0200)]
dracut.conf.d/fedora.conf.example: make systemd default
Harald Hoyer [Wed, 20 Jun 2012 23:10:13 +0000 (01:10 +0200)]
base/dracut-lib.sh: for systemd start emergency.service
do not spawn the shell, start the emergency.service for systemd
Harald Hoyer [Wed, 20 Jun 2012 23:09:38 +0000 (01:09 +0200)]
base/dracut-lib.sh: change output of info() and warn() for systemd
Harald Hoyer [Wed, 20 Jun 2012 23:08:29 +0000 (01:08 +0200)]
systemd: fixed I/O of services
Harald Hoyer [Wed, 20 Jun 2012 23:08:03 +0000 (01:08 +0200)]
systemd: fixed ordering of services
Harald Hoyer [Wed, 20 Jun 2012 23:07:08 +0000 (01:07 +0200)]
systemd/dracut-pre-udev.service: fixed description
Harald Hoyer [Wed, 20 Jun 2012 23:06:30 +0000 (01:06 +0200)]
systemd/dracut-pre-pivot.sh: remove trailing space
Harald Hoyer [Wed, 20 Jun 2012 23:05:15 +0000 (01:05 +0200)]
systemd/dracut-cmdline: make dracut-cmdline a service
convert dracut-cmdline from hook to service after the journal
Harald Hoyer [Wed, 20 Jun 2012 23:04:15 +0000 (01:04 +0200)]
systemd/dracut-pre-pivot.sh: stop old udev services
Harald Hoyer [Wed, 20 Jun 2012 23:03:22 +0000 (01:03 +0200)]
systemd: do not flock for console
Harald Hoyer [Wed, 20 Jun 2012 23:02:48 +0000 (01:02 +0200)]
systemd: do not redirect to /dev/console
Harald Hoyer [Wed, 20 Jun 2012 23:01:51 +0000 (01:01 +0200)]
systemd: fix emergency.service and rescue.service
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>