]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
6 years agoAdd rpmsg, hwspinlock and usb/misc for ARM 294/head
Peter Robinson [Thu, 12 Oct 2017 11:17:41 +0000 (12:17 +0100)] 
Add rpmsg, hwspinlock and usb/misc for ARM

Some of the more complex devices now need rpmsg and hwspinlock in the early boot
process to start, and these to the initrd, and pull in usb/misc because
apparently non standard usb hubs are a thing.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
6 years agoMerge pull request #223 from bmr-cymru/bmr-ignore-activation-skip
Harald Hoyer [Thu, 12 Oct 2017 09:23:38 +0000 (11:23 +0200)] 
Merge pull request #223 from bmr-cymru/bmr-ignore-activation-skip

lvm_scan.sh: use -K when calling lvchange

6 years agodracut.sh: quote sync file argument
Harald Hoyer [Wed, 11 Oct 2017 13:28:20 +0000 (15:28 +0200)] 
dracut.sh: quote sync file argument

6 years agoMerge pull request #293 from dracut-mailing-devs/1502088233-10139-1-git-send-email...
Harald Hoyer [Wed, 11 Oct 2017 13:10:26 +0000 (15:10 +0200)] 
Merge pull request #293 from dracut-mailing-devs/1502088233-10139-1-git-send-email-ankit@linux.vnet.ibm.com

Sync initramfs after creation

6 years agodracut-install: char* -> const char*
Harald Hoyer [Tue, 10 Oct 2017 11:39:17 +0000 (13:39 +0200)] 
dracut-install: char* -> const char*

6 years agoMerge pull request #284 from sm00th/kmoddir
Harald Hoyer [Tue, 10 Oct 2017 11:29:41 +0000 (13:29 +0200)] 
Merge pull request #284 from sm00th/kmoddir

dracut-install: fix relative paths in --kerneldir

6 years agodracut.sh: if /boot/vmlinuz-$version exists use /boot/ as output dir
Harald Hoyer [Tue, 10 Oct 2017 08:30:44 +0000 (10:30 +0200)] 
dracut.sh: if /boot/vmlinuz-$version exists use /boot/ as output dir

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

6 years agogit2spec.pl: handle empty merge commits
Harald Hoyer [Mon, 9 Oct 2017 15:40:04 +0000 (17:40 +0200)] 
git2spec.pl: handle empty merge commits

6 years agoemergency.service: use Type=idle
Martin Wilck [Mon, 9 Oct 2017 12:39:12 +0000 (14:39 +0200)] 
emergency.service: use Type=idle

Type=oneshot, as currently set in dracut's emergency service file,
causes an awkward situation if emergency mode is entered e.g. because
of a root device timeout, and the root device appears later because it
just has taken longer than the timeout. In that situation, my
expectation (backed by past positive experience) is that the user should
be able to simply exit the emergency shell and resume normal boot.

:/# systemctl status sysroot.mount
● sysroot.mount - /sysroot
   Loaded: loaded (/proc/cmdline; bad; vendor preset: enabled)
   Active: active (mounted) since Mon 2017-10-09 14:32:15 CEST; 16s ago
    Where: /sysroot
     What: /dev/mapper/3600601600a30200024fbbaf3f500e411-part5
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)
  Process: 1873 ExecMount=/usr/bin/mount /dev/disk/by-uuid/63751805-6abc-46a3-a66f-427920dece4d /sysroot -o ro (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 512)

:/# systemctl list-jobs
JOB UNIT              TYPE  STATE
 56 emergency.target  start waiting
 57 emergency.service start running

2 jobs listed.
:/# exit
logout
Failed to start default.target: Transaction is destructive.

(system keeps idling from this point on, user has no chance to
do anything).

This results from the combination of two effects:
1) initrd-root-fs.target sets "OnFailureJobMode=replace-irreversibly",
2) emergency.service's Type=oneshot causes the start jobs for both
emergency.service and emergency.target to persist while the user is in
the emergency shell.

When the shell is exited, systemd tries to isolate "initrd.target"
again, but this fails with "the transaction is destructive" error
because of the still pending jobs.

This patch fixes this by changing the Type of "emergency.service" from
"oneshot" to "idle".

6 years agoMerge pull request #286 from rldleblanc/bonding_mtu_fix
Harald Hoyer [Mon, 9 Oct 2017 10:59:59 +0000 (12:59 +0200)] 
Merge pull request #286 from rldleblanc/bonding_mtu_fix

Fix MTU on bond interface.

6 years agoMerge pull request #285 from rldleblanc/fix-typos
Harald Hoyer [Mon, 9 Oct 2017 10:59:29 +0000 (12:59 +0200)] 
Merge pull request #285 from rldleblanc/fix-typos

Fix a couple of typos.

6 years agoTEST-70: sort interfaces for validation
Harald Hoyer [Mon, 9 Oct 2017 10:50:25 +0000 (12:50 +0200)] 
TEST-70: sort interfaces for validation

6 years agoMerge pull request #290 from privb0x23/luks-detached
Harald Hoyer [Mon, 9 Oct 2017 10:51:29 +0000 (12:51 +0200)] 
Merge pull request #290 from privb0x23/luks-detached

Add basic LUKS detached header support

6 years agoMerge pull request #287 from xlpang/master
Harald Hoyer [Mon, 9 Oct 2017 09:47:08 +0000 (11:47 +0200)] 
Merge pull request #287 from xlpang/master

fcoe: handle CNAs with DCB firmware support

6 years agoMerge pull request #280 from tpgxyz/zstd
Harald Hoyer [Mon, 9 Oct 2017 09:39:10 +0000 (11:39 +0200)] 
Merge pull request #280 from tpgxyz/zstd

add support for Zstandard

6 years agoMerge pull request #277 from imran1008/bond-master-mtu
Harald Hoyer [Mon, 9 Oct 2017 07:38:37 +0000 (09:38 +0200)] 
Merge pull request #277 from imran1008/bond-master-mtu

Set MTU on bond master as opposed to a bond slave

6 years agosystemd: fix setting of timeouts for device units
Michal Sekletar [Wed, 27 Sep 2017 11:27:42 +0000 (13:27 +0200)] 
systemd: fix setting of timeouts for device units

JobRunningTimeoutSec now affects how long can start jobs for device
units stay in the "running" state. Disabling default job timeout via
JobTimeoutSec=0 doesn't disable running state timeout. We need to set
running state timeout as well.

Note that doing this the other way around has effect on generic timeout,
i.e. disabling running state timeout disables generic timeout. But doing
it this way we would create implicit dependency on fairly new
systemd-234. However, by setting both options we don't create dependency
on specific systemd version.

6 years agoAdd basic LUKS detached header support 290/head
privb0x23 [Tue, 3 Oct 2017 22:37:55 +0000 (23:37 +0100)] 
Add basic LUKS detached header support

A LUKS root volume with a detached header on a device without partitioning will not have a UUID and will not have an attribute ENV{ID_FS_TYPE}=="crypto_LUKS".
Therefore, several areas need to be addressed: identification of the LUKS device, inclusion of entries within crypttab, and provision of the detached header file.
- Added support for an option (4th column: "force") in /etc/crypttab to force the inclusion of the entry in the initramfs version (avoiding the fs type test).
- Added support for an option (4th column: "header=/path/to/file") in /etc/crypttab to provide a path to a detached header file embedded within the initramfs.
- Added ID and PARTUUID support to the device (2nd column) in /etc/crypttab (complementing the existing UUID functionality).
- Added cmdline support to indicate LUKS device ("rd.luks.serial=") that refers to the attribute ENV{ID_SERIAL_SHORT}.
Tested successfully on Void Linux (x86_64 musl) (no systemd) with a LUKS root volume accessed with a keyfile and using a detached header.
Not tested on systemd, or on a LUKS root volume with a passphrase rather than a keyfile.

6 years agofcoe: handle CNAs with DCB firmware support 287/head
Xunlei Pang [Mon, 25 Sep 2017 03:18:06 +0000 (11:18 +0800)] 
fcoe: handle CNAs with DCB firmware support

Some Combined Network Adapters(CNAs) implement DCB protocol
in firmware, it is recommended that do not run software-based
DCB or LLDP on CNAs that implement DCB, but we have to start
the lldpad service anyway(there might be other software DCB).

If the network interface provides hardware DCB/DCBX capabilities,
the field DCB_REQUIRED in "/etc/fcoe/cfg-xxx" is expected to
be set to "no".

We met an issue on "QLogic BCM57810" with DCB firmware support,
and found dracut still generated "fcoe=<mac>:dcb" which caused
kdump boot failure when using that fcoe dump target.

This patch parses /etc/fcoe/cfg-xxx to detect DCB_REQUIRED="no",
and force "nodcb" if it is the case.

Also improved some coding style in passing.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
6 years agoFix MTU on bond interface. 286/head
Robert LeBlanc [Thu, 21 Sep 2017 20:33:59 +0000 (14:33 -0600)] 
Fix MTU on bond interface.

The MTU is only being set on the slave devices and the MTU of the
bonding master is not being updated. This updates the bonding master and
also changes the MTU on the slaves as expected.

Signed-Off-By: Robert LeBlanc <robert@leblancnet.us>
6 years agoFix a couple of typos. 285/head
Robert LeBlanc [Thu, 21 Sep 2017 19:39:52 +0000 (13:39 -0600)] 
Fix a couple of typos.

Signed-Off-By: Robert LeBlanc <robert@leblancnet.us>
6 years agodracut-install: fix relative paths in --kerneldir 284/head
Artem Savkov [Thu, 21 Sep 2017 08:36:58 +0000 (10:36 +0200)] 
dracut-install: fix relative paths in --kerneldir

kerneldirlen is used to modify absolute path returned by
kmod_module_get_path() while it is calculated on user-supplied
--kerneldir argument which can be a relative path.

Use kmod_get_dirname() to convert user-supplied path to the same format
as used by kmod_module_get_path().

This also allows to get rid of now useless strcmp checks that seem to
imply that /lib and /usr/lib are linked which is not always true.

6 years agofix typo 280/head
tpgxyz [Mon, 4 Sep 2017 23:26:31 +0000 (01:26 +0200)] 
fix typo

6 years agoadd support for Zstandard
tpgxyz [Mon, 4 Sep 2017 23:23:38 +0000 (01:23 +0200)] 
add support for Zstandard

6 years agoSet MTU on bond master as opposed to a bond slave 277/head
Imran Haider [Sun, 3 Sep 2017 03:25:21 +0000 (23:25 -0400)] 
Set MTU on bond master as opposed to a bond slave

Prior to this commit, the MTU setting was applied to a bond slave
interface.  In older versions of the Linux kernel, this setting
propagated to the bond master and the other bond slaves associated with
the master.  In recent versions of the kernel (observed in Linux 4.12),
increasing the MTU of a slave does not automatically increase the MTU of
the master.  This allows for more flexibility but requires the MTU of
the master to be changed manually.

Ideally, the MTU setting should be applied to the bond master and the
setting will propagate to the bond slaves, since the slaves are required
to have a MTU that is greater than or equal to the bond master.

6 years agoMerge pull request #276 from danimo/copy_multipath_confd
Harald Hoyer [Wed, 30 Aug 2017 09:51:12 +0000 (11:51 +0200)] 
Merge pull request #276 from danimo/copy_multipath_confd

95multipath: Pickup files in /etc/multipath/conf.d

6 years agoMerge pull request #274 from danimo/system_allow_coredump
Harald Hoyer [Wed, 30 Aug 2017 09:39:06 +0000 (11:39 +0200)] 
Merge pull request #274 from danimo/system_allow_coredump

Enable core dumps with systemd from initrd

6 years ago95multipath: Pickup files in /etc/multipath/conf.d 276/head
Daniel Molkentin [Fri, 14 Jul 2017 12:21:43 +0000 (14:21 +0200)] 
95multipath: Pickup files in /etc/multipath/conf.d

Reference: boo#1048551

6 years agoEnable core dumps with systemd from initrd 274/head
Daniel Molkentin [Tue, 29 Aug 2017 06:46:07 +0000 (08:46 +0200)] 
Enable core dumps with systemd from initrd

systemd sets /proc/sys/kernel/core_pattern to use systemd-coredump.
However, systemd-coredump is missing from initrd, making dumping
the core in initrd impossible by default.

Reference: bsc#1054809

6 years agoMerge pull request #272 from yzygitzh/no-lsinitrd-if-quiet
Harald Hoyer [Wed, 23 Aug 2017 07:31:53 +0000 (09:31 +0200)] 
Merge pull request #272 from yzygitzh/no-lsinitrd-if-quiet

dracut.sh: disable lsinitrd logging when quiet

6 years agodracut.sh: disable lsinitrd logging when quiet 272/head
Ziyue Yang [Wed, 23 Aug 2017 03:23:34 +0000 (11:23 +0800)] 
dracut.sh: disable lsinitrd logging when quiet

Currently in Fedora/RedHat dracut installs its fedora.conf.example
as the default config file, in which sysloglvl is set 5. This leads
to maxloglvl=5 in dracut calls, making unnecessary lsinitrd calls
during initramfs builds by kdump.

This patch disables lsinitrd logging when --quiet option is given,
which is controlled by maxloglvl only before. This will speed up
dracut image building as the following if --quiet is used in kdump:

1) Before this patch
$ kdumpctl stop; touch /etc/kdump.conf; time kdumpctl start
kexec: unloaded kdump kernel
Stopping kdump: [OK]
Detected change(s) in the following file(s):
  /etc/kdump.conf
Rebuilding /boot/initramfs-4.13.0-0.rc1.git4.1.fc27.x86_64kdump.img
kexec: loaded kdump kernel
Starting kdump: [OK]
real    0m26.824s
user    0m9.958s
sys     0m15.106s

2) After this patch
$ kdumpctl stop; touch /etc/kdump.conf; time kdumpctl start
kexec: unloaded kdump kernel
Stopping kdump: [OK]
Detected change(s) in the following file(s):
  /etc/kdump.conf
Rebuilding /boot/initramfs-4.13.0-0.rc1.git4.1.fc27.x86_64kdump.img
kexec: loaded kdump kernel
Starting kdump: [OK]
real    0m20.420s
user    0m8.385s
sys     0m10.468s

Signed-off-by: Ziyue Yang <ziyang@redhat.com>
6 years agoMerge pull request #269 from xlpang/master
Harald Hoyer [Fri, 18 Aug 2017 07:33:10 +0000 (09:33 +0200)] 
Merge pull request #269 from xlpang/master

introduce new "--no-hostonly-default-device"  argument

6 years agorootfs-block/module-setup.sh: check root_devs in cmdline_rootfs() 269/head
Xunlei Pang [Fri, 18 Aug 2017 02:40:27 +0000 (10:40 +0800)] 
rootfs-block/module-setup.sh: check root_devs in cmdline_rootfs()

In case of "--no-hostonly-default-device", we do not need
the root device, thus add this check.

Also fixed the stale "root_dev" export.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
6 years agodracut.sh: introduce "--no-hostonly-default-device" argument
Xunlei Pang [Wed, 16 Aug 2017 05:55:17 +0000 (13:55 +0800)] 
dracut.sh: introduce "--no-hostonly-default-device" argument

Kdump doesn't need default host devices like root, swap, fstab, etc,
we only care about the dump target which can be added via "--mount"
or "--add-device". We met several issues that kdump kernel failed
due to one of those host devices added by dracut, additionally, the
needless devices(e.g. LVM) consume some appreciable amount of memory
which is more likely to cause OOM under memory-limited kdump.

So this patch introduced "--no-hostonly-default-device" to avoid
adding those default devices as host_devs.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
6 years agoMerge pull request #268 from danimo/ssh_include_nss
Harald Hoyer [Wed, 16 Aug 2017 08:16:55 +0000 (10:16 +0200)] 
Merge pull request #268 from danimo/ssh_include_nss

ssh-client: Include nss_ libraries

6 years agossh-client: Include nss_ libraries 268/head
Michal Koutný [Tue, 15 Aug 2017 13:25:18 +0000 (15:25 +0200)] 
ssh-client: Include nss_ libraries

SSH uses passwd database and thus need various NSS plugin libraries,
depending upon setting in nsswitch.conf.

SSH binary fails within the dracut environment without the libraries:

    #:/ ssh
    No user exist for uid 0

6 years agokernel-modules: don't call instmods with empty arguments
Harald Hoyer [Mon, 14 Aug 2017 12:58:47 +0000 (14:58 +0200)] 
kernel-modules: don't call instmods with empty arguments

otherwise it will try to read from stdin and stall

6 years agolvmmerge: depend on systemd
Harald Hoyer [Mon, 14 Aug 2017 07:45:31 +0000 (09:45 +0200)] 
lvmmerge: depend on systemd

Fixes https://github.com/dracutdevs/dracut/issues/267

6 years agodracut.spec: add support for builds without dist-tag
Harald Hoyer [Fri, 11 Aug 2017 12:11:32 +0000 (14:11 +0200)] 
dracut.spec: add support for builds without dist-tag

In the module-build-service, we have pieces of dracut provided by different
modules ("base-runtime" provides most functionality, but we need
dracut-network in "installer". Since these two modules build with separate
dist-tags, we need to reduce this strict requirement to ignore the dist-tag.

6 years agoNEWS: update 046
Harald Hoyer [Fri, 11 Aug 2017 11:44:06 +0000 (13:44 +0200)] 
NEWS: update

6 years agocrypt: handle rd.luks.name
Harald Hoyer [Fri, 11 Aug 2017 09:30:11 +0000 (11:30 +0200)] 
crypt: handle rd.luks.name

systemd supports renaming of dm devices with rd.luks.name.

Honor the kernel command line parameter.

6 years agodracut-install: fixed hostonly modules hashmap_put 232/head
Harald Hoyer [Thu, 10 Aug 2017 07:19:51 +0000 (09:19 +0200)] 
dracut-install: fixed hostonly modules hashmap_put

6 years agodracut-install: fixed typo
Harald Hoyer [Thu, 10 Aug 2017 07:19:34 +0000 (09:19 +0200)] 
dracut-install: fixed typo

6 years agoMerge pull request #266 from martinezjavier/master
Harald Hoyer [Thu, 10 Aug 2017 06:49:14 +0000 (08:49 +0200)] 
Merge pull request #266 from martinezjavier/master

network: Only bring up wired network interfaces

6 years agonetwork: Only bring up wired network interfaces 266/head
Javier Martinez Canillas [Wed, 9 Aug 2017 16:50:44 +0000 (18:50 +0200)] 
network: Only bring up wired network interfaces

The dracut network module is only supposed to be used for wired interfaces
but if driver modules for wireless devices are wrongly copied, these will
be loaded and the available interfaces brought up.

If the rd.neednet=1 command line parameter is used, dhclient will attempt
to request an IP address for the interfaces and these requests will fail.

But other dracut modules that depend on the network to be settled, will
have to wait for the DHCP requests to timeout. Which can be a lot of time
since the dhclient default timeout value is 60 seconds.

Instead of trying to blacklist all possible kernel modules for wireless
devices, only bring up network interfaces if these are for wired devices.

Suggested-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
6 years agoSync initramfs after creation
Ankit Kumar [Mon, 7 Aug 2017 06:43:53 +0000 (12:13 +0530)] 
Sync initramfs after creation

If we trigger crash just after creating initramfs, sometimes it is
observed that initramfs is not written to disk causing the subsequent
boot to fail. A sync should resolve this.

Signed-off-by: Ankit Kumar <ankit@linux.vnet.ibm.com>
6 years agonetwork/ifup: don't arping for point-to-point connections
Harald Hoyer [Mon, 7 Aug 2017 13:09:13 +0000 (15:09 +0200)] 
network/ifup: don't arping for point-to-point connections

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

6 years agofcoe: install hba.conf and libhbalinux only if hba.conf exists
Harald Hoyer [Mon, 7 Aug 2017 12:45:55 +0000 (14:45 +0200)] 
fcoe: install hba.conf and libhbalinux only if hba.conf exists

6 years agoMerge pull request #265 from nullr0ute/arm-fixes
Harald Hoyer [Mon, 7 Aug 2017 11:10:55 +0000 (13:10 +0200)] 
Merge pull request #265 from nullr0ute/arm-fixes

A few ARM fixes for a number of newer devices which have some wider deps

6 years agoMerge pull request #257 from sbrudenell/loop-keys-in-initrd
Harald Hoyer [Mon, 7 Aug 2017 09:41:11 +0000 (11:41 +0200)] 
Merge pull request #257 from sbrudenell/loop-keys-in-initrd

Support crypto loop keys in initrd.

6 years agodracut.sh: --nofscks does not take parameters
Harald Hoyer [Mon, 7 Aug 2017 09:39:21 +0000 (11:39 +0200)] 
dracut.sh: --nofscks does not take parameters

fixes: https://github.com/dracutdevs/dracut/issues/264

6 years agoSync initramfs after creation 293/head
Ankit Kumar [Mon, 7 Aug 2017 06:43:53 +0000 (12:13 +0530)] 
Sync initramfs after creation

If we trigger crash just after creating initramfs, sometimes it is
observed that initramfs is not written to disk causing the subsequent
boot to fail. A sync should resolve this.

Signed-off-by: Ankit Kumar <ankit@linux.vnet.ibm.com>
6 years agoarm: add soc/extcon/mfd as they're often needed for USB and core memory/soc drivers 265/head
Peter Robinson [Fri, 4 Aug 2017 18:51:25 +0000 (19:51 +0100)] 
arm: add soc/extcon/mfd as they're often needed for USB and core memory/soc drivers

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
6 years agoadd options to pickup dw_mmc submodules to blockfuncs
Peter Robinson [Fri, 4 Aug 2017 17:43:26 +0000 (18:43 +0100)] 
add options to pickup dw_mmc submodules to blockfuncs

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
6 years agoInclude both and in luks key name. 257/head
Steven Brudenell [Fri, 4 Aug 2017 01:39:55 +0000 (21:39 -0400)] 
Include both  and  in luks key name.

6 years agoChange mntp->keydev in loopback key luks name.
Steven Brudenell [Fri, 28 Jul 2017 16:19:47 +0000 (12:19 -0400)] 
Change mntp->keydev in loopback key luks name.

6 years agoSupport crypto loop keys in initrd.
Steven Brudenell [Thu, 27 Jul 2017 22:35:05 +0000 (18:35 -0400)] 
Support crypto loop keys in initrd.

6 years agoMerge pull request #261 from jonathan-teh/amd-family-16h
Harald Hoyer [Wed, 2 Aug 2017 09:31:19 +0000 (11:31 +0200)] 
Merge pull request #261 from jonathan-teh/amd-family-16h

Add early microcode support for AMD family 16h

6 years agoMerge pull request #260 from haraldh/crypto-cleanup
Harald Hoyer [Wed, 2 Aug 2017 09:28:47 +0000 (11:28 +0200)] 
Merge pull request #260 from haraldh/crypto-cleanup

crypt-loop: cleanup cleanup procedures

6 years agoAdd early microcode support for AMD family 16h 261/head
jonathan-teh [Fri, 28 Jul 2017 23:19:19 +0000 (00:19 +0100)] 
Add early microcode support for AMD family 16h

6 years agonbd: use systemd-run to start nbd-client
Harald Hoyer [Fri, 28 Jul 2017 13:14:17 +0000 (15:14 +0200)] 
nbd: use systemd-run to start nbd-client

6 years agotestsuite: increase disk image size
Harald Hoyer [Fri, 28 Jul 2017 09:57:51 +0000 (11:57 +0200)] 
testsuite: increase disk image size

6 years agodracut-systemd: add back missing dependencies
Harald Hoyer [Fri, 28 Jul 2017 09:57:07 +0000 (11:57 +0200)] 
dracut-systemd: add back missing dependencies

otherwise TEST-20-NFS fails

6 years agonetwork: redirect stderr for arping test
Harald Hoyer [Fri, 28 Jul 2017 09:54:27 +0000 (11:54 +0200)] 
network: redirect stderr for arping test

6 years agocrypt-loop: cleanup cleanup procedures 260/head
Harald Hoyer [Fri, 28 Jul 2017 08:43:39 +0000 (10:43 +0200)] 
crypt-loop: cleanup cleanup procedures

Using initqueue --finished to cleanup stuff is not what the
initqueue/finished hook was meant for.

Move stuff to the real cleanup hook.

6 years agoTEST-02-systemd: add systemd-analyze verify
Harald Hoyer [Fri, 28 Jul 2017 08:15:03 +0000 (10:15 +0200)] 
TEST-02-systemd: add systemd-analyze verify

6 years agodracut-systemd: fixed dependencies
Harald Hoyer [Fri, 28 Jul 2017 07:05:34 +0000 (09:05 +0200)] 
dracut-systemd: fixed dependencies

try to break an ordering cycle.

https://github.com/dracutdevs/dracut/issues/259

6 years agodracut-systemd/*.service: fix copyright message and comment
Harald Hoyer [Fri, 28 Jul 2017 07:11:42 +0000 (09:11 +0200)] 
dracut-systemd/*.service: fix copyright message and comment

6 years agoadd systemd-analyze to debug and TEST-02-SYSTEMD
Harald Hoyer [Fri, 28 Jul 2017 07:49:17 +0000 (09:49 +0200)] 
add systemd-analyze to debug and TEST-02-SYSTEMD

6 years agogit2spec.pl: handle github merges
Harald Hoyer [Thu, 27 Jul 2017 14:34:25 +0000 (16:34 +0200)] 
git2spec.pl: handle github merges

found a nice strategy to produce patchset from merges

6 years agoMerge pull request #253 from yuwata/spec
Harald Hoyer [Wed, 26 Jul 2017 07:28:49 +0000 (09:28 +0200)] 
Merge pull request #253 from yuwata/spec

spec: add missing modules

6 years agospec: add missing modules 253/head
Yu Watanabe [Tue, 25 Jul 2017 01:31:55 +0000 (10:31 +0900)] 
spec: add missing modules

6 years agodracut.spec: add 80lvmmerge
Harald Hoyer [Mon, 24 Jul 2017 14:11:20 +0000 (16:11 +0200)] 
dracut.spec: add 80lvmmerge

6 years agoUpdate README.md
Harald Hoyer [Mon, 24 Jul 2017 13:59:12 +0000 (15:59 +0200)] 
Update README.md

6 years ago80lvmmerge: remove unused file
Harald Hoyer [Mon, 24 Jul 2017 13:54:16 +0000 (15:54 +0200)] 
80lvmmerge: remove unused file

6 years ago80lvmmerge: README.md update
Harald Hoyer [Mon, 24 Jul 2017 13:53:22 +0000 (15:53 +0200)] 
80lvmmerge: README.md update

6 years agoUpdate README.md
Harald Hoyer [Mon, 24 Jul 2017 13:51:54 +0000 (15:51 +0200)] 
Update README.md

6 years agoadd lvmmerge dracut module
Harald Hoyer [Mon, 24 Jul 2017 13:45:23 +0000 (15:45 +0200)] 
add lvmmerge dracut module

6 years agoinstall arping V2 as arping2
Harald Hoyer [Mon, 24 Jul 2017 08:03:42 +0000 (10:03 +0200)] 
install arping V2 as arping2

6 years agosimplify TEST-30-ISCSI for CI
Harald Hoyer [Fri, 21 Jul 2017 14:00:44 +0000 (16:00 +0200)] 
simplify TEST-30-ISCSI for CI

6 years agoUpdate README.md
Harald Hoyer [Fri, 21 Jul 2017 13:47:37 +0000 (15:47 +0200)] 
Update README.md

6 years agoTEST-12: increase retry and loglevel
Harald Hoyer [Fri, 21 Jul 2017 13:04:57 +0000 (15:04 +0200)] 
TEST-12: increase retry and loglevel

6 years agoTEST-12: sleep to get log messages
Harald Hoyer [Fri, 21 Jul 2017 12:44:20 +0000 (14:44 +0200)] 
TEST-12: sleep to get log messages

6 years agoTEST-12: settle before doing sfdisk
Harald Hoyer [Fri, 21 Jul 2017 12:07:30 +0000 (14:07 +0200)] 
TEST-12: settle before doing sfdisk

6 years agoincreased qemu memory
Harald Hoyer [Fri, 21 Jul 2017 08:54:17 +0000 (10:54 +0200)] 
increased qemu memory

6 years agoMerge pull request #252 from landgraf/dhcp_option_21
Harald Hoyer [Wed, 19 Jul 2017 12:32:41 +0000 (14:32 +0200)] 
Merge pull request #252 from landgraf/dhcp_option_21

dhclient: send client-identifier matching hardware address

6 years agoMerge pull request #233 from yuwata/kernel-install
Harald Hoyer [Wed, 19 Jul 2017 07:53:40 +0000 (09:53 +0200)] 
Merge pull request #233 from yuwata/kernel-install

kernel-install: Skip to create initrd if /etc/machine-id is missing or empty

6 years agodhclient: send client-identifier matching hardware address 252/head
Pavel Zhukov [Mon, 17 Jul 2017 15:58:28 +0000 (17:58 +0200)] 
dhclient: send client-identifier matching hardware address

Forcing dhclient to use hardware address instead of DUID to make it
predictable and allows system installation in whitelist based networks.

6 years agoMerge pull request #251 from danimo/fix_hostonly_cmdline
Harald Hoyer [Mon, 17 Jul 2017 15:08:29 +0000 (17:08 +0200)] 
Merge pull request #251 from danimo/fix_hostonly_cmdline

Do generate error when hostonly_cmdline is set to "no"

6 years agoDo generate error when hostonly_cmdline is set to "no" 251/head
Daniel Molkentin [Mon, 17 Jul 2017 14:51:39 +0000 (16:51 +0200)] 
Do generate error when hostonly_cmdline is set to "no"

Reference: bsc#1048748

6 years agoMerge pull request #250 from lnykryn/classless-static-routes
Harald Hoyer [Fri, 14 Jul 2017 06:36:16 +0000 (08:36 +0200)] 
Merge pull request #250 from lnykryn/classless-static-routes

40network/dhclient.conf: rename classless-routes to classless-static-…

6 years ago40network/dhclient.conf: rename classless-routes to classless-static-routes 250/head
Lukas Nykryn [Thu, 13 Jul 2017 14:46:19 +0000 (16:46 +0200)] 
40network/dhclient.conf: rename classless-routes to classless-static-routes

We tell dhclient to name 121 option "classless-routes",
but in dhclient-script we parse classless_static_routes.
So either have to change the configuration or the script.

And since dhclient uses by default classless_static_routes,
let's change the configuration

6 years agoadd 90multipath-hostonly module
Harald Hoyer [Mon, 10 Jul 2017 11:28:40 +0000 (13:28 +0200)] 
add 90multipath-hostonly module

hardcoding the wwid of the drives in the initramfs causes problems
when the drives are cloned to a system with the same hardware, but
different disk wwid's

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

6 years agodracut-init.sh: check for file $DRACUT_KERNEL_MODALIASES
Harald Hoyer [Fri, 7 Jul 2017 13:59:31 +0000 (15:59 +0200)] 
dracut-init.sh: check for file $DRACUT_KERNEL_MODALIASES

and not for the directory

6 years agodracut-init.sh: add the kernel directory to the --modalias generation
Harald Hoyer [Fri, 7 Jul 2017 13:58:02 +0000 (15:58 +0200)] 
dracut-init.sh: add the kernel directory to the --modalias generation

6 years agoCheck all modalias files in /sys/devices for modules
Harald Hoyer [Fri, 7 Jul 2017 13:54:32 +0000 (15:54 +0200)] 
Check all modalias files in /sys/devices for modules

and add the corresponding kernel modules to the host module list

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

6 years agoMerge pull request #191 from robert-scheck/master
Harald Hoyer [Thu, 6 Jul 2017 07:26:51 +0000 (09:26 +0200)] 
Merge pull request #191 from robert-scheck/master

Add NTFS support to 90dmsquash-live module

6 years agoAdd NTFS support to 90dmsquash-live module (#191) 191/head
Robert Scheck [Thu, 29 Jun 2017 22:15:57 +0000 (00:15 +0200)] 
Add NTFS support to 90dmsquash-live module (#191)

Support booting from USB media with NTFS filesystem (optionally),
which removes the FAT32 related 4 GB file size limit for LiveOS/
squashfs.img (and any other file on the same USB media).

6 years agobail out if module directory does not exist
Harald Hoyer [Thu, 29 Jun 2017 15:09:29 +0000 (17:09 +0200)] 
bail out if module directory does not exist

this basically reverts commit 05214a0bedc084a41c35a128609745ad04a0c6cf

if people want to build the initramfs without kernel modules,
then --no-kernel should be specified

6 years agokernel-modules: add serial line drivers
Harald Hoyer [Thu, 29 Jun 2017 10:17:10 +0000 (12:17 +0200)] 
kernel-modules: add serial line drivers