]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
8 years agoNEWS: update for version 044 044
Harald Hoyer [Mon, 23 Nov 2015 10:34:18 +0000 (11:34 +0100)] 
NEWS: update for version 044

8 years agoAUTHORS: update
Harald Hoyer [Wed, 18 Nov 2015 13:43:03 +0000 (14:43 +0100)] 
AUTHORS: update

8 years agodmraid/61-dmraid-imsm.rules: remove double ","
Harald Hoyer [Wed, 25 Nov 2015 13:20:42 +0000 (14:20 +0100)] 
dmraid/61-dmraid-imsm.rules: remove double ","

8 years agolvm: silence errors from "lvm dumpconfig"
Harald Hoyer [Mon, 23 Nov 2015 10:09:47 +0000 (11:09 +0100)] 
lvm: silence errors from "lvm dumpconfig"

if the config option does not exist, we ignore the error anyway

8 years agoman: clarify add_dracutmodules vs dracutmodules
Harald Hoyer [Mon, 23 Nov 2015 09:36:22 +0000 (10:36 +0100)] 
man: clarify add_dracutmodules vs dracutmodules

8 years agoFor rd.hostonly=0 remove all initqueue/finished files also
Harald Hoyer [Fri, 20 Nov 2015 09:21:31 +0000 (10:21 +0100)] 
For rd.hostonly=0 remove all initqueue/finished files also

This helps booting systems with changed configuration

8 years agoMakefile: add efi target
Harald Hoyer [Wed, 18 Nov 2015 13:58:10 +0000 (14:58 +0100)] 
Makefile: add efi target

make an UEFI bootable image

8 years agodracut.sh: only create one TMPDIR
Harald Hoyer [Wed, 18 Nov 2015 13:46:30 +0000 (14:46 +0100)] 
dracut.sh: only create one TMPDIR

use DRACUT_TMPDIR subdirs for everything

8 years agoRevert "systemd: if kdbus is available, include the kernel module"
Harald Hoyer [Wed, 18 Nov 2015 11:46:44 +0000 (12:46 +0100)] 
Revert "systemd: if kdbus is available, include the kernel module"

This reverts commit 90ff5ad67ecab66a8f699c9805729701981ee018.

There will be no kdbus anymore :-/

8 years agoMerge pull request #97 from FGrose/dmsquash-live-root
Harald Hoyer [Mon, 23 Nov 2015 10:07:43 +0000 (11:07 +0100)] 
Merge pull request #97 from FGrose/dmsquash-live-root

dmsquash-live-root:  Persistence without overlay for uncompressed live installations

8 years agoMerge pull request #106 from FGrose/dracut.cmdline
Harald Hoyer [Mon, 23 Nov 2015 09:05:51 +0000 (10:05 +0100)] 
Merge pull request #106 from FGrose/dracut.cmdline

dracut.cmdline:  Update Booting live images section

8 years agodracut.cmdline: Update Booting live images section 106/head
Frederick Grose [Sat, 21 Nov 2015 21:46:18 +0000 (16:46 -0500)] 
dracut.cmdline:  Update Booting live images section

Add descriptions for the rd.live.overlay.readonly,
rd.live.overlay.size, rd.live.overlay.reset,
rd.live.squashimg, and rd.live.overlay=none options.
Mention the Invalid mark on exhausted overlays.
Clarify the rd.writable.fsimg option.
Repunctuate the rd.live.overlay.thin option description.

8 years agodmsquash-live-root: Avoid an overlay for persistent, uncompressed, read-write live... 97/head
Frederick Grose [Fri, 9 Oct 2015 20:56:19 +0000 (16:56 -0400)] 
dmsquash-live-root:  Avoid an overlay for persistent, uncompressed, read-write live installations.

Persistent, uncompressed live installations can avoid overlays with a new rd.live.overlay=none flag.
Non-persistent rd.live.ram boots can also take advantage of persistent home.img filesystems.

8 years agoMerge pull request #105 from antonym/master
Harald Hoyer [Thu, 19 Nov 2015 15:35:29 +0000 (16:35 +0100)] 
Merge pull request #105 from antonym/master

livenet: add livenet-generator

8 years agolivenet: add livenet-generator 105/head
Antony Messerli [Thu, 19 Nov 2015 14:10:03 +0000 (08:10 -0600)] 
livenet: add livenet-generator

Resolves issues where systemd attempts to boot a live URL as an NFS mount.

This patch uses systemd's generator arg[2] to generate an early sysroot.mount
that preempts systemd-fstab-generator.

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

8 years agodracut.sh: for microcode generation, skip gpg files
Harald Hoyer [Wed, 18 Nov 2015 09:58:54 +0000 (10:58 +0100)] 
dracut.sh: for microcode generation, skip gpg files

skip all ".asc" files for the AMD microcode generation

8 years agoTEST-16-DMSQUASH: add code for IO throtteling in qemu
Harald Hoyer [Wed, 18 Nov 2015 09:17:04 +0000 (10:17 +0100)] 
TEST-16-DMSQUASH: add code for IO throtteling in qemu

To test the mediacheck feature, I added commented out code with qemu IO
throtteling.

8 years agodracut.sh: save systemdutildir env
Harald Hoyer [Tue, 17 Nov 2015 08:45:29 +0000 (09:45 +0100)] 
dracut.sh: save systemdutildir env

even, if no systemd is used, we need that variable for systemd-udevd

8 years agoCheck for systemd before installing systemd specific files
Harald Hoyer [Mon, 16 Nov 2015 08:41:26 +0000 (09:41 +0100)] 
Check for systemd before installing systemd specific files

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

8 years agodracut.sh: add back host_modules part
Harald Hoyer [Mon, 16 Nov 2015 08:24:50 +0000 (09:24 +0100)] 
dracut.sh: add back host_modules part

host_modules was removed accidently while remove host_modaliases

8 years agoiscsi/parse-iscsiroot.sh: reload udev rules
Harald Hoyer [Fri, 13 Nov 2015 15:37:48 +0000 (16:37 +0100)] 
iscsi/parse-iscsiroot.sh: reload udev rules

in the DHCP case udev is already running, so reload the rules before
continuing.

8 years agodracut-init.sh: libdir paths need dracut-function.sh
Harald Hoyer [Fri, 13 Nov 2015 13:19:53 +0000 (14:19 +0100)] 
dracut-init.sh: libdir paths need dracut-function.sh

8 years agoCheck rd.zfcp= format in dracut hook:cmdline process stage
Zhiguo Deng [Fri, 16 Oct 2015 02:04:34 +0000 (04:04 +0200)] 
Check rd.zfcp= format in dracut hook:cmdline process stage

When using rd.zfcp= parameter in generic.prm file, wrong format
parameters will prevent the zfcp driver to add the correct SCSI
disk. dracut should die when a wrong rd.zfcp= parameter supplied.

Signed-off-by: Zhiguo Deng <bjzgdeng@linux.vnet.ibm.com>
8 years agodracut.sh: remove the concept of host_modalias
Harald Hoyer [Fri, 13 Nov 2015 12:40:38 +0000 (13:40 +0100)] 
dracut.sh: remove the concept of host_modalias

We can never gather enough information about compiled in modules, so
don't pretend to know and do smart decisions.

8 years agoRevert "Let user specify the action after fail"
dyoung@redhat.com [Mon, 31 Aug 2015 02:43:20 +0000 (10:43 +0800)] 
Revert "Let user specify the action after fail"

This reverts commit 9d787df19674937e8c07bd295b5d282a63829209

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
8 years agoRevert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck"
dyoung@redhat.com [Mon, 31 Aug 2015 02:43:19 +0000 (10:43 +0800)] 
Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck"

This reverts commit 679fa7ed3c0f4c827bfc6885d34f56713fe85c1e.

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
8 years agoRevert "dracut-emergency.service: do not start for "action_on_fail=continue""
dyoung@redhat.com [Mon, 31 Aug 2015 02:43:18 +0000 (10:43 +0800)] 
Revert "dracut-emergency.service: do not start for "action_on_fail=continue""

This reverts commit b78e6ac2c328c76057b17059a761ab44707f9aa0.

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
8 years agoRevert "systemd/emergency.service: do not run for action_on_fail=continue"
dyoung@redhat.com [Mon, 31 Aug 2015 02:43:17 +0000 (10:43 +0800)] 
Revert "systemd/emergency.service: do not run for action_on_fail=continue"

This reverts commit dcae873414ff643e1de790f256e414923e2aef8b.

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
8 years agoRevert "rename kernel command line param action_on_fail to rd.action_on_fail"
dyoung@redhat.com [Mon, 31 Aug 2015 02:43:16 +0000 (10:43 +0800)] 
Revert "rename kernel command line param action_on_fail to rd.action_on_fail"

This reverts commit 391d6057908be2fe78f8084eb1b2adc27c781c0b.

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
8 years agoRevert "Change the implementation of action_on_fail"
dyoung@redhat.com [Mon, 31 Aug 2015 02:43:15 +0000 (10:43 +0800)] 
Revert "Change the implementation of action_on_fail"

This reverts commit d2765b5175663d094737d6819cc3f3df53e7a4cb.

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
8 years agodracut.sh: Support --mount with just mountpoint as parameter
Fabian [Fri, 11 Sep 2015 11:35:57 +0000 (13:35 +0200)] 
dracut.sh: Support --mount with just mountpoint as parameter

Right now the --mount parameter of dracut expects a rather long fstab-like
line. This makes it possible to invoke dracut with e.g. --mount /boot.

8 years agoAdd awk and getopt as dependencies of znetconf
Mei Liu [Tue, 10 Nov 2015 04:34:24 +0000 (12:34 +0800)] 
Add awk and getopt as dependencies of znetconf

znetconf command is part of s390utils-base package. It depends on
awk and getopt.

This patch is used to fix the following error:

dracut:/#
znetconf -c

/usr/sbin/znetconf: line 70: awk: command not found
/usr/sbin/znetconf: line 1138: getopt: command not found

Signed-off-by: Mei Liu <liumbj@linux.vnet.ibm.com>
8 years agoiscsi: only systemctl try-restart iscsid, if systemd is used
Harald Hoyer [Fri, 13 Nov 2015 12:16:10 +0000 (13:16 +0100)] 
iscsi: only systemctl try-restart iscsid, if systemd is used

8 years agoiscsi/iscsiroot.sh: put variables in quotes
Harald Hoyer [Fri, 13 Nov 2015 12:15:05 +0000 (13:15 +0100)] 
iscsi/iscsiroot.sh: put variables in quotes

best practice

8 years agorepro squash
Harald Hoyer [Fri, 13 Nov 2015 12:14:05 +0000 (13:14 +0100)] 
repro squash

8 years agoreduce dracut-functions.sh and add to dracut-init.sh
Harald Hoyer [Fri, 13 Nov 2015 12:06:01 +0000 (13:06 +0100)] 
reduce dracut-functions.sh and add to dracut-init.sh

move all dracut specific functions to dracut-init.sh

8 years agoadd --no-reproducible to turn off reproducible mode
Harald Hoyer [Fri, 13 Nov 2015 10:53:36 +0000 (11:53 +0100)] 
add --no-reproducible to turn off reproducible mode

Also warn about cpio not supporting it and turn it on by default for
fedora.

8 years agodracut-systemd/rootfs-generator.sh: s/RequiresOverridable/Requires
Harald Hoyer [Fri, 13 Nov 2015 09:13:08 +0000 (10:13 +0100)] 
dracut-systemd/rootfs-generator.sh: s/RequiresOverridable/Requires

RequiresOverridable will be deprecated

8 years agonetwork/ifup.sh: skip empty nameserver values
Harald Hoyer [Fri, 9 Oct 2015 09:35:43 +0000 (11:35 +0200)] 
network/ifup.sh: skip empty nameserver values

(cherry picked from commit e65825117377a8e1e730912aa4c0e786122d892a)

8 years agobase/dracut-lib.sh:getargs() don't return 1 for empty values
Harald Hoyer [Fri, 9 Oct 2015 09:30:03 +0000 (11:30 +0200)] 
base/dracut-lib.sh:getargs() don't return 1 for empty values

getargs() is only used with real values and not booleans.

So, return the values only.

(cherry picked from commit d1f7f2ac046c77913d1ca97cf8414d9226ae1286)

8 years agodracut.sh: fixed typo in microcode generation
Harald Hoyer [Fri, 25 Sep 2015 18:10:20 +0000 (14:10 -0400)] 
dracut.sh: fixed typo in microcode generation

(cherry picked from commit a594b4e357bc63dd22ae04346dbca648e0d62744)

8 years agonetwork:wait_for_ifup() handle "NO-CARRIER" output
Harald Hoyer [Fri, 25 Sep 2015 14:14:33 +0000 (10:14 -0400)] 
network:wait_for_ifup() handle "NO-CARRIER" output

if "NO-CARRIER" is one of the flags, we surely have no link yet.

(cherry picked from commit f059985b14f80a41f3b8103b67cb8fae0d3fc2fc)

8 years agodracut.sh: no microcode, if get_ucode_file returns empty file
Harald Hoyer [Thu, 17 Sep 2015 18:03:54 +0000 (20:03 +0200)] 
dracut.sh: no microcode, if get_ucode_file returns empty file

check, if get_ucode_file() returned an empty string.

(cherry picked from commit 327d765512135721a323822a8b10ac1539bd20c6)

8 years agoiscsi/parse-iscsiroot.sh: correct handling if netroot isn't set
Harald Hoyer [Thu, 17 Sep 2015 13:41:12 +0000 (15:41 +0200)] 
iscsi/parse-iscsiroot.sh: correct handling if netroot isn't set

corrects bfe65f913a4bc6bc5fdb7aa75234c229a2ceef8f

(cherry picked from commit 7fd112f20e63def6d274ab445b5eb82138348901)

8 years agodracut.sh: do not create microcode, if no firmware is available
Harald Hoyer [Tue, 15 Sep 2015 14:08:25 +0000 (16:08 +0200)] 
dracut.sh: do not create microcode, if no firmware is available

(cherry picked from commit 13b5c1d09e0e242f1817057501292fe9d7e9ad92)

8 years agodracut.sh: add command line option for install_i18_all
Harald Hoyer [Tue, 15 Sep 2015 14:04:09 +0000 (16:04 +0200)] 
dracut.sh: add command line option for install_i18_all

--no-hostonly-i18n -> install_i18n_all=yes
--hostonly-i18n -> install_i18n_all=no

(cherry picked from commit 34b551a1c4d4513189807ee2a639c9214d887ddb)

8 years agoiscsi/iscsiroot.sh: handle iscsi_firmware in online and timeout queue
Harald Hoyer [Thu, 10 Sep 2015 11:25:13 +0000 (13:25 +0200)] 
iscsi/iscsiroot.sh: handle iscsi_firmware in online and timeout queue

The return code of iscsi_firmware is broken, so set the marker
unconditionally.

(cherry picked from commit fd3eddf06990a617a2f90b0a699947ab3faf2cc2)

8 years agonetwork/netroot.sh: better handling of $netroot and dhcp
Harald Hoyer [Thu, 10 Sep 2015 11:23:32 +0000 (13:23 +0200)] 
network/netroot.sh: better handling of $netroot and dhcp

if $netroot is emtpy, get it from cmdline

check cmdline directly for root=dhcp(6) and netroot=dhcp(6)

(cherry picked from commit 17cee31b115a146bca5519b6ac4b422080d764c7)

8 years agoiscsi/iscsiroot.sh: use all_ifaces_setup()
Harald Hoyer [Thu, 10 Sep 2015 11:21:53 +0000 (13:21 +0200)] 
iscsi/iscsiroot.sh: use all_ifaces_setup()

we want the route and gateway setup

(cherry picked from commit 7cddfbbadbc40a4b6d331be25a3c38ad3a52239b)

8 years agonetwork: add all_ifaces_setup()
Harald Hoyer [Thu, 10 Sep 2015 11:20:18 +0000 (13:20 +0200)] 
network: add all_ifaces_setup()

all_ifaces_up() is true, if all interfaces are up.

all_ifaces_setup() is true, if all interfaces are up and the gateways
and nameserver are setup.

(cherry picked from commit 63e75dc4cdb14e392e38a8973126c9a29b266411)

8 years agonetwork/dhclient-script.sh: fix RENEW
Harald Hoyer [Tue, 8 Sep 2015 09:44:13 +0000 (11:44 +0200)] 
network/dhclient-script.sh: fix RENEW

Remove check, if interface is already up. It is for RENEW.

new_prefix is apparently new_subnet_mask

(cherry picked from commit 52845b168d0909d72b4c2f0b6511ed18877a31e8)

8 years agonetwork: move "ip=ibft" handling to network module
Harald Hoyer [Thu, 3 Sep 2015 10:41:44 +0000 (12:41 +0200)] 
network: move "ip=ibft" handling to network module

(cherry picked from commit b334c83e4abdc1dd87276fa7de4617cd349a5a4f)

8 years agoiscsi/parse-iscsiroot.sh: only set initiator-name, if not empty
Harald Hoyer [Thu, 3 Sep 2015 10:41:06 +0000 (12:41 +0200)] 
iscsi/parse-iscsiroot.sh: only set initiator-name, if not empty

(cherry picked from commit eb87dc91d078ee942ef9c8bbc8e82f4ee4ccf0c6)

8 years agolivenet/livenetroot.sh: fixed error condition
Harald Hoyer [Wed, 2 Sep 2015 07:47:35 +0000 (09:47 +0200)] 
livenet/livenetroot.sh: fixed error condition

copy&paste error

(cherry picked from commit b813b1b3064d4951c5403bb0f96480de9a355d8e)

8 years agonetwork/ifup: do DHCP for BOOTDEV
Harald Hoyer [Tue, 1 Sep 2015 17:05:37 +0000 (19:05 +0200)] 
network/ifup: do DHCP for BOOTDEV

(cherry picked from commit 7316d68353cfd6e08f007d10ea3e32fa4d083487)

8 years agonetwork/net-lib.sh: fix IPv6 route parsing
Harald Hoyer [Tue, 1 Sep 2015 15:25:34 +0000 (17:25 +0200)] 
network/net-lib.sh: fix IPv6 route parsing

(cherry picked from commit a4c47ce0ddc7f7b46c2395709cf83f731f90685b)

8 years agonetwork/net-lib.sh: fix wait_for_if_up()
Harald Hoyer [Tue, 1 Sep 2015 15:22:56 +0000 (17:22 +0200)] 
network/net-lib.sh: fix wait_for_if_up()

wait for <*UP*> and not "state UP"

state can be UNKNOWN

(cherry picked from commit d8572e0bf4d49a8d2ec71726d0fd38d1c73ca3f7)

8 years agonetwork/ifup: fix warning about not bringing interface up
Harald Hoyer [Tue, 1 Sep 2015 15:22:37 +0000 (17:22 +0200)] 
network/ifup: fix warning about not bringing interface up

(cherry picked from commit 70f3c07846e92d11484a1f7b5cb84aacc47489b4)

8 years agocms/cmsifup.sh: do not use ifup -m
Harald Hoyer [Tue, 1 Sep 2015 15:21:53 +0000 (17:21 +0200)] 
cms/cmsifup.sh: do not use ifup -m

we don't want to bring the interface up several times

(cherry picked from commit 0852c38b7a2b893e4f9e5894ba09eebc649f047f)

8 years agonetwork/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp
Harald Hoyer [Tue, 25 Aug 2015 09:37:16 +0000 (11:37 +0200)] 
network/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp

(cherry picked from commit 7c24815034241e490422691b5f18671c4b9812a9)

8 years agonetwork: also mark interfaces up with their MAC
Harald Hoyer [Tue, 25 Aug 2015 09:30:00 +0000 (11:30 +0200)] 
network: also mark interfaces up with their MAC

(cherry picked from commit 53537f4d23091457f644ab8b3edf09c2dca4351c)

8 years agonetwork/ifup.sh: save return value of ifup
Harald Hoyer [Tue, 25 Aug 2015 09:20:30 +0000 (11:20 +0200)] 
network/ifup.sh: save return value of ifup

(cherry picked from commit b4006781e8a59dc69a0dd3836fce137f08b23001)

8 years agoiscsi/parse-iscsiroot.sh: restart iscsid with try-restart
Harald Hoyer [Tue, 25 Aug 2015 09:16:46 +0000 (11:16 +0200)] 
iscsi/parse-iscsiroot.sh: restart iscsid with try-restart

(cherry picked from commit a6befb52eb5eeb87c0c41303fe08e50bd2fde0d3)

8 years agoiscsi/parse-iscsiroot.sh: handle firmware in online queue
Harald Hoyer [Tue, 25 Aug 2015 09:16:29 +0000 (11:16 +0200)] 
iscsi/parse-iscsiroot.sh: handle firmware in online queue

(cherry picked from commit 7f59cbd31817c81fa5aec9f86c33dfe1ce23ec6a)

8 years agonetwork/ifup.sh:do_static(): error out, if IP is already assigned
Harald Hoyer [Wed, 19 Aug 2015 12:00:28 +0000 (14:00 +0200)] 
network/ifup.sh:do_static(): error out, if IP is already assigned

(cherry picked from commit 32770ca79a1f6828ca9fdf4b6841e6a6d4e4754a)

8 years agonetwork/ifup.sh:do_static(): error out, if interface could not be brought up
Harald Hoyer [Wed, 19 Aug 2015 11:59:40 +0000 (13:59 +0200)] 
network/ifup.sh:do_static(): error out, if interface could not be brought up

(cherry picked from commit 77f46adf5e5ab1f6da2e459bb55435d4b70842c5)

8 years agoTEST-15-BTRFS: load btrfs module
Harald Hoyer [Tue, 18 Aug 2015 13:26:23 +0000 (15:26 +0200)] 
TEST-15-BTRFS: load btrfs module

(cherry picked from commit d9b5a98532b6823adb35f7c68766f4df9db8a3c9)

8 years agotest/TEST-04-FULL-SYSTEMD/create-root.sh: modprobe btrfs
Harald Hoyer [Tue, 18 Aug 2015 13:05:11 +0000 (15:05 +0200)] 
test/TEST-04-FULL-SYSTEMD/create-root.sh: modprobe btrfs

why so ever... it used to load automatically

(cherry picked from commit 65977ef1d107c8741d9f2633b8618aa3aee2a49d)

8 years agodmraid: only scan once because of one device
Harald Hoyer [Tue, 18 Aug 2015 13:04:31 +0000 (15:04 +0200)] 
dmraid: only scan once because of one device

(cherry picked from commit 80153acc0f8bbb3829575201e2a0ba3da41268a8)

8 years agonetwork/dhclient: exit arping immediatly, if we get an answer
Harald Hoyer [Tue, 18 Aug 2015 10:41:12 +0000 (12:41 +0200)] 
network/dhclient: exit arping immediatly, if we get an answer

(cherry picked from commit d6bfa7052a620ebdd37f78655462120871c49ebd)

8 years agonetwork/net-lib.sh:ibft unset gateway or dns, if set to 0.0.0.0
Harald Hoyer [Tue, 18 Aug 2015 10:40:01 +0000 (12:40 +0200)] 
network/net-lib.sh:ibft unset gateway or dns, if set to 0.0.0.0

(cherry picked from commit 942d60d8afad4eb8b131a33fe9618e3e8392d33f)

8 years agofcoe: cleanup lldpad
Harald Hoyer [Tue, 18 Aug 2015 10:27:32 +0000 (12:27 +0200)] 
fcoe: cleanup lldpad

Resolves: rhbz#1246217
(cherry picked from commit 69c437dd1c3b877f60ced307068e01619124fef4)

8 years agoudev-rules: install 40-redhat.rules
Harald Hoyer [Tue, 18 Aug 2015 10:25:53 +0000 (12:25 +0200)] 
udev-rules: install 40-redhat.rules

(cherry picked from commit 0c0abf97ccc2306a7089d53a0a1f92e80b2e733c)

8 years agonetwork/parse-ip-opts.sh: bind enx* interface to the MAC
Harald Hoyer [Tue, 18 Aug 2015 10:13:55 +0000 (12:13 +0200)] 
network/parse-ip-opts.sh: bind enx* interface to the MAC

do it automatically for the persistent naming scheme

(cherry picked from commit 2eb3b00133d572183ca022b626d200549ce4ffa8)

8 years agonetwork/ifup.sh: arping for static IPv4 addresses
Harald Hoyer [Tue, 18 Aug 2015 10:07:41 +0000 (12:07 +0200)] 
network/ifup.sh: arping for static IPv4 addresses

(cherry picked from commit 38180271c587f3053710bf38a6cda829d3a7c00f)

8 years agonetwork/ifup.sh: let dhcp client run in the background
Harald Hoyer [Tue, 18 Aug 2015 09:53:31 +0000 (11:53 +0200)] 
network/ifup.sh: let dhcp client run in the background

we need to renew the lease

(cherry picked from commit fb2d643a385f1b02fbac6c2782b0026029c6bde7)

8 years agosystemd/dracut-cmdline.sh: print out cmdline in one line
Harald Hoyer [Tue, 18 Aug 2015 09:52:56 +0000 (11:52 +0200)] 
systemd/dracut-cmdline.sh: print out cmdline in one line

(cherry picked from commit 93a5a3d3ca6738e3f0282c4d3fc8be3f38f150d3)

8 years agoiscsi: handle timeout case better
Harald Hoyer [Tue, 18 Aug 2015 09:50:15 +0000 (11:50 +0200)] 
iscsi: handle timeout case better

(cherry picked from commit bfe65f913a4bc6bc5fdb7aa75234c229a2ceef8f)

8 years agoTEST-30-ISCSI: fix test to run with new iscsi
Harald Hoyer [Sat, 15 Aug 2015 11:22:44 +0000 (13:22 +0200)] 
TEST-30-ISCSI: fix test to run with new iscsi

(cherry picked from commit 836ca3f47eb0b0a4c97ae704b0b9619a00dbfa87)

8 years agoiscsi/module-setup.sh: iscsid need /var/lib/iscsi
Harald Hoyer [Sat, 15 Aug 2015 11:22:07 +0000 (13:22 +0200)] 
iscsi/module-setup.sh: iscsid need /var/lib/iscsi

(cherry picked from commit f74b0a9f38838dddcf6f56daa9f20fc3e86087ca)

8 years agocrypt: install drbg unconditionally in hostonly mode
Harald Hoyer [Thu, 9 Jul 2015 14:14:50 +0000 (16:14 +0200)] 
crypt: install drbg unconditionally in hostonly mode

older kernels had the drbg kernel module and didn't need it

(cherry picked from commit 89948e58fd0f80def0912c18c503912873aa9c48)

8 years agoman page: changed grub.conf to grub2.cfg
Harald Hoyer [Fri, 3 Jul 2015 12:28:55 +0000 (14:28 +0200)] 
man page: changed grub.conf to grub2.cfg

(cherry picked from commit 77c0b308259d3b91c536de9a49c0b99427c5924e)

8 years agomultipath: install all multipath path selector kernel modules
Harald Hoyer [Fri, 3 Jul 2015 12:24:50 +0000 (14:24 +0200)] 
multipath: install all multipath path selector kernel modules

By default, dracut only builds in dm-service-time into the initramfs as
that is the default multipath.conf path selector. If the user changes
the path selector to "round robin" on the fly and runs dracut, multipath
does not find any paths on boot and the user will be dropped into a
shell.

Apparently, in RHEL7 dracut defaults to "hostonly" mode, i.e. modules
not currently in use at the time dracut runs do not get built into
initramfs. This is definitely one case where this doesn't work. A change
to reconfigure multipath probably should not render the system
unbootable.

https://bugzilla.redhat.com/show_bug.cgi?id=1195392
(cherry picked from commit f11d7a81e2eec37ed5b6708ed8cd359f0a5eaa69)

8 years agolivenet: don't attempt to download the image for every interface
Harald Hoyer [Fri, 3 Jul 2015 12:00:33 +0000 (14:00 +0200)] 
livenet: don't attempt to download the image for every interface

https://bugzilla.redhat.com/show_bug.cgi?id=1152485
(cherry picked from commit e5f4bbd804e337a7efaf3a0cb4fc3a37b7e33b47)

8 years agofcoe/fcoe-edd.sh: cleanup the script
Harald Hoyer [Fri, 3 Jul 2015 11:52:32 +0000 (13:52 +0200)] 
fcoe/fcoe-edd.sh: cleanup the script

- check if modprobe was successful
- add a timeout for /sys/firmware/edd
- only remove the module, if it was loaded by the script

(cherry picked from commit 34203d03c0d43aa0aed12988d2719455e80eae54)

8 years agofcoe: EDD parsing patch for i40e
Chris Leech [Fri, 3 Jul 2015 11:44:16 +0000 (13:44 +0200)] 
fcoe: EDD parsing patch for i40e

(cherry picked from commit 4031a2fa642c1db897c1340ad2718301bf873fb3)

8 years agofcoe: start with fcoemon instead of fipvlan
Chris Leech [Fri, 3 Jul 2015 11:40:12 +0000 (13:40 +0200)] 
fcoe: start with fcoemon instead of fipvlan

(cherry picked from commit d02f522089863af2a802cef9e63965349bfcc819)

8 years agonetwork: add options to tweak timeouts
Harald Hoyer [Fri, 3 Jul 2015 11:30:40 +0000 (13:30 +0200)] 
network: add options to tweak timeouts

 rd.net.dhcp.retry=<cnt>
     If this option is set, dracut will try to connect via dhcp
     <cnt> times before failing. Default is 1.

 rd.net.timeout.dhcp=<arg>
     If this option is set, dhclient is called with "-timeout <arg>".

 rd.net.timeout.iflink=<seconds>
     Wait <seconds> until link shows up. Default is 60 seconds.

 rd.net.timeout.ifup=<seconds>
     Wait <seconds> until link has state "UP". Default is 20 seconds.

 rd.net.timeout.route=<seconds>
     Wait <seconds> until route shows up. Default is 20 seconds.

 rd.net.timeout.ipv6dad=<seconds>
     Wait <seconds> until IPv6 DAD is finished. Default is 50 seconds.

 rd.net.timeout.ipv6auto=<seconds>
     Wait <seconds> until IPv6 automatic addresses are assigned.
     Default is 40 seconds.

 rd.net.timeout.carrier=<seconds>
     Wait <seconds> until carrier is recognized. Default is 5 seconds.

(cherry picked from commit d8ad687e1a4c0343eb076902b11aff2b2b2c4b85)

8 years agoiscsi/parse-iscsiroot.sh: do not modify netroot
Harald Hoyer [Tue, 25 Aug 2015 09:15:59 +0000 (11:15 +0200)] 
iscsi/parse-iscsiroot.sh: do not modify netroot

(cherry picked from commit 197e4c90b95f2d9e57104d3b462918c335494697)

8 years agoiscsi/iscsiroot.sh: handle firmware in online queue
Harald Hoyer [Tue, 25 Aug 2015 09:14:38 +0000 (11:14 +0200)] 
iscsi/iscsiroot.sh: handle firmware in online queue

otherwise it does not get called, if no netroot is set

(cherry picked from commit 3bd3bbec319eccd28145f77e42b83b479286ff34)

8 years agodracut.spec: raise systemd requirement to >= 219
Harald Hoyer [Tue, 25 Aug 2015 09:13:38 +0000 (11:13 +0200)] 
dracut.spec: raise systemd requirement to >= 219

needs systemd-escape

(cherry picked from commit 35f40b75e444adae3b3c9bb610d635d9c17a753d)

8 years agoinitqueue: add online queue
Harald Hoyer [Tue, 25 Aug 2015 09:13:23 +0000 (11:13 +0200)] 
initqueue: add online queue

(cherry picked from commit d3f61fb5cdaa56053ae8de0203a13722a7fe717a)

8 years agoTEST-30-ISCSI: add rd.scsi.firmware
Harald Hoyer [Tue, 25 Aug 2015 09:12:59 +0000 (11:12 +0200)] 
TEST-30-ISCSI: add rd.scsi.firmware

(cherry picked from commit 310574f7eaf68412035eb19855afe4ce2973b784)

8 years agoMakefile: remove output file before creating it
Harald Hoyer [Wed, 11 Nov 2015 11:33:07 +0000 (12:33 +0100)] 
Makefile: remove output file before creating it

8 years agodracut-systemd/module-setup.sh: remove duplicate vconsole wants
Harald Hoyer [Wed, 11 Nov 2015 11:16:13 +0000 (12:16 +0100)] 
dracut-systemd/module-setup.sh: remove duplicate vconsole wants

Adding the dependency on vconsole is already done in the 00systemd
module and the rescue.service has this already in the unit file.

8 years agodracut.sh: quote $outfile on error removal
Harald Hoyer [Wed, 11 Nov 2015 10:49:34 +0000 (11:49 +0100)] 
dracut.sh: quote $outfile on error removal

8 years agodracut.sh: remove "_EARLY" from CONFIG_MICROCODE_* checks
Harald Hoyer [Wed, 11 Nov 2015 10:38:56 +0000 (11:38 +0100)] 
dracut.sh: remove "_EARLY" from CONFIG_MICROCODE_* checks

EARLY is merged in the main driver

8 years agolvm: remove all quirk arguments
Harald Hoyer [Tue, 10 Nov 2015 16:55:50 +0000 (17:55 +0100)] 
lvm: remove all quirk arguments

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

Once lvm2 starts using /run (bug 742554), it should be no longer
necessary to disable file-based locking in the vgchange call in
fedora-storage-init.
Removing '--sysinit' will make it safe to call LVM operations
concurrently from other units.

The --sysinit is a compound option consisting of:

  -> --ignorelockingfailure - not needed anymore, the /run/lock/lvm is
available rw soon in boot process

  -> --ignoremonitoring - not needed since /run is available, this would
require the dm-event.service to be run before
fedora-storage-init.service (and new lvm2-activation.service when
deployed). But that's a one line change - I'll have a look whether it
plays well with other services and if yes, I'll commit the change. N.B.:
This has a consequence that all volumes activated on vgchange -ay will
be monitored at the same time they're activated (which is a plus I
think). The lvm2-monitor will just grab all the other volumes not
activated at the time of the boot's vgchange -ay call. But that's not an
issue (for already monitored volumes, calling vgchange --monitor y will
just be a NOOP).

 -> --poll n - not needed, we can run the polldaemon as the /run is
available and rw (in case there's unfinished merge or mirror sync from
previous system run, the poll-daemon will be triggered at boot now).
Actually, the polldaemon should be triggered as a service like dmeventd
is, not forked off from the LVM command itself, like from vgchange in
this case - we still need to change this - there's a bug open for this
request already (bug #814857). However, we don't have this feature ready
yet so I need to check whether this is OK with the early boot process
with the current state.

8 years agofips: add authenc and authencesn kernel modules
Harald Hoyer [Tue, 10 Nov 2015 16:35:27 +0000 (17:35 +0100)] 
fips: add authenc and authencesn kernel modules

https://bugzilla.redhat.com/show_bug.cgi?id=1115112#c5

8 years agodracut.spec: omit pkg-config from dependencies
Harald Hoyer [Wed, 30 Sep 2015 12:10:20 +0000 (14:10 +0200)] 
dracut.spec: omit pkg-config from dependencies