]>
git.ipfire.org Git - thirdparty/dracut.git/log
Daniel Molkentin [Thu, 17 Nov 2016 15:08:31 +0000 (16:08 +0100)]
Resolve symbolic links for -i and -k parameters (bsc#902375)
Harald Hoyer [Mon, 7 Nov 2016 16:52:52 +0000 (17:52 +0100)]
TEST-99-RPM: append "/" to DESTDIR
Harald Hoyer [Mon, 7 Nov 2016 16:52:09 +0000 (17:52 +0100)]
Makefile: fixed DESTDIR in rpm target
Harald Hoyer [Mon, 7 Nov 2016 16:22:08 +0000 (17:22 +0100)]
TEST-30-ISCSI: give server more time for the head start
Harald Hoyer [Mon, 7 Nov 2016 16:20:43 +0000 (17:20 +0100)]
README.testsuite: add more requirements
Harald Hoyer [Mon, 7 Nov 2016 16:20:18 +0000 (17:20 +0100)]
TEST-99-RPM: set release version and disable update-testing repo
Harald Hoyer [Mon, 7 Nov 2016 16:05:28 +0000 (17:05 +0100)]
TEST-99-RPM: actually use the generated rpms with dnf
Harald Hoyer [Mon, 7 Nov 2016 12:23:39 +0000 (13:23 +0100)]
TEST-30-ISCSI: fixed dhcpd.conf and disabled nowait
Harald Hoyer [Mon, 7 Nov 2016 12:20:35 +0000 (13:20 +0100)]
TEST-99-RPM: add test_check() for rpm,dnf,yum
Harald Hoyer [Mon, 7 Nov 2016 12:15:56 +0000 (13:15 +0100)]
TEST-99-RPM: create dracut rpms to install first
create rpms in TESTDIR first
Harald Hoyer [Mon, 7 Nov 2016 12:14:49 +0000 (13:14 +0100)]
Makefile: create rpms in DESTDIR for target rpm
Zbigniew Jędrzejewski-Szmek [Mon, 7 Nov 2016 10:10:12 +0000 (11:10 +0100)]
Use versioned Obsoletes
Also change <= N to < N+1. For example, dracut-029-1 > dracut-029, so would not
get obsoleted properly. This all applies to old versions, so doesn't make much
difference in practice, so just fix it to avoid c&p duplication of the bad
pattern in the future.
Harald Hoyer [Mon, 7 Nov 2016 10:01:36 +0000 (11:01 +0100)]
NEWS: update for 045
Andreas Stieger [Mon, 7 Nov 2016 09:37:22 +0000 (10:37 +0100)]
dracut.sh: create the initramfs non-world readable also if early cpio is used
Fixes: 5f2c30d9bcd614d546d5c55c6897e33f88b9ab90
Previously fixed CVE-2012-4453:
e1b48995c26c4f06d1a718539cb1bd5b0179af91
Signed-off-by: Andreas Stieger <astieger@suse.com>
Harald Hoyer [Mon, 7 Nov 2016 09:20:06 +0000 (10:20 +0100)]
Merge pull request #169 from floppym/50-dracut.install-bashism
50-dracut.install: use /bin/bash shebang
Mike Gilbert [Fri, 4 Nov 2016 17:09:28 +0000 (13:09 -0400)]
50-dracut.install: use /bin/bash shebang
This script utilizes several bash-specific constructs.
Harald Hoyer [Thu, 3 Nov 2016 14:05:36 +0000 (15:05 +0100)]
TODO: remove some items
Harald Hoyer [Thu, 3 Nov 2016 13:54:45 +0000 (14:54 +0100)]
README: update
remove "new" and reword the first paragraphs
remove sourceforge repo links
Harald Hoyer [Thu, 3 Nov 2016 13:48:31 +0000 (14:48 +0100)]
README.md: remove CI badge
Harald Hoyer [Wed, 2 Nov 2016 12:49:17 +0000 (13:49 +0100)]
dracut.8: document INITRD_COMPRESS environment variable
https://bugzilla.redhat.com/show_bug.cgi?id=
1389775
Harald Hoyer [Wed, 26 Oct 2016 11:41:21 +0000 (13:41 +0200)]
README: correct github URLs
Harald Hoyer [Thu, 20 Oct 2016 13:35:08 +0000 (15:35 +0200)]
README.md: update
Harald Hoyer [Thu, 20 Oct 2016 12:53:25 +0000 (14:53 +0200)]
README.md: update
Harald Hoyer [Thu, 20 Oct 2016 12:46:40 +0000 (14:46 +0200)]
add README.md
Harald Hoyer [Thu, 20 Oct 2016 11:58:53 +0000 (13:58 +0200)]
test/test-rhel-7.2.rpms
list of rpms to install to run the testsuite on rhel-7.2
Harald Hoyer [Thu, 20 Oct 2016 11:58:25 +0000 (13:58 +0200)]
integrity/ima-policy-load.sh: s/echo -n/printf
Harald Hoyer [Wed, 19 Oct 2016 07:35:46 +0000 (09:35 +0200)]
Merge pull request #160 from yuwata/fix-rescue-install
rescue: use proper path for 0-rescue.conf
Yu Watanabe [Wed, 19 Oct 2016 03:22:48 +0000 (12:22 +0900)]
rescue: use proper path for 0-rescue.conf
Harald Hoyer [Fri, 14 Oct 2016 09:34:39 +0000 (11:34 +0200)]
Merge pull request #158 from dracut-mailing-devs/
1476391783 -27231-1-git-send-email-stefanb@linux.vnet.ibm.com
98integrity: support validating the IMA policy file signature
Stefan Berger [Thu, 13 Oct 2016 20:49:43 +0000 (16:49 -0400)]
98integrity: support validating the IMA policy file signature
IMA validates file signatures based on the security.ima xattr. As of
Linux-4.7, instead of cat'ing the IMA policy into the securityfs policy,
the IMA policy pathname can be written, allowing the IMA policy file
signature to be validated.
This patch first attempts to write the pathname, but on failure falls
back to cat'ing the IMA policy contents .
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Harald Hoyer [Thu, 13 Oct 2016 07:20:33 +0000 (09:20 +0200)]
dmsquash-live/dmsquash-live-root: det_img_fs() redirect udevadm output to stderr
Otherwise the output is taken as input for modprobe.
Harald Hoyer [Thu, 8 Sep 2016 13:55:21 +0000 (15:55 +0200)]
dracut-install: fallback to non-hostonly mode if lsmod fails
if libkmod fails to get the list of loaded modules, fallback
to non-hostonly mode, to at least try to assemble a working initrd.
Harald Hoyer [Tue, 11 Oct 2016 13:06:31 +0000 (15:06 +0200)]
Merge pull request #131 from bcg62/syslog-fixes
syslog module fixes
Brendan Germain [Mon, 19 Sep 2016 17:41:32 +0000 (13:41 -0400)]
add imjournal.so to read systemd journal
Brendan Germain [Wed, 25 May 2016 20:11:11 +0000 (16:11 -0400)]
subshell and set -f to prevent expansion
Brendan Germain [Wed, 25 May 2016 19:40:02 +0000 (15:40 -0400)]
fixup No such file or directory errors when module is not configured
Brendan Germain [Wed, 25 May 2016 17:25:09 +0000 (13:25 -0400)]
move start from udev to initqueue/online
Brendan Germain [Wed, 25 May 2016 12:29:55 +0000 (08:29 -0400)]
source dracut-lib for warn()
Brendan Germain [Tue, 24 May 2016 19:37:30 +0000 (15:37 -0400)]
correctly install rsyslog.conf template
Harald Hoyer [Mon, 10 Oct 2016 09:28:09 +0000 (11:28 +0200)]
Merge pull request #150 from dm0-/master
qemu: include the qemu_fw_cfg kernel module
Harald Hoyer [Fri, 2 Sep 2016 08:07:21 +0000 (10:07 +0200)]
Merge pull request #154 from honza801/patch-1
Update nfs-lib.sh
Harald Hoyer [Fri, 2 Sep 2016 05:50:24 +0000 (07:50 +0200)]
caps: make it a non default module
Harald Hoyer [Mon, 22 Aug 2016 12:39:25 +0000 (14:39 +0200)]
TEST-30-ISCSI: add message, that all tests passed
Harald Hoyer [Mon, 22 Aug 2016 12:38:54 +0000 (14:38 +0200)]
network: arping2 use 0.0.0.0 as source address
Harald Hoyer [Mon, 22 Aug 2016 11:32:03 +0000 (13:32 +0200)]
test/TEST-30-ISCSI: depend on tgtd and tgtadm
the testsuite now needs tgtd and tgtadm and not iscsi-target
Harald Hoyer [Mon, 22 Aug 2016 09:04:23 +0000 (11:04 +0200)]
kernel-modules: add nvme kernel module
Harald Hoyer [Mon, 22 Aug 2016 09:03:01 +0000 (11:03 +0200)]
dracut-systemd/dracut-mount.service: add DefaultDependencies=no
honza801 [Thu, 1 Sep 2016 13:37:58 +0000 (15:37 +0200)]
Update nfs-lib.sh
\ 1 anaconda_nfsv6_to_var(): fix options parsing. $1 contains : at the end, this is done by previous functions.
Harald Hoyer [Fri, 26 Aug 2016 06:20:25 +0000 (08:20 +0200)]
Merge pull request #153 from fuhry/livenet-generator-nfs
livenet: support nfs:// urls in livenet-generator
Dan Fuhry [Thu, 25 Aug 2016 21:13:52 +0000 (17:13 -0400)]
livenet: support nfs:// urls in livenet-generator
This is a further improvement on PR #105 which re-adds support for nfs:// urls to root=live:nfs://... Symptoms prior to applying this patch are that sysroot.mount times out when following the nfs:// syntax for the path to the live image. An additional case is added to livenet-generator to support the nfs protocol.
Harald Hoyer [Wed, 17 Aug 2016 14:25:09 +0000 (16:25 +0200)]
network:ibft put IPv6 IP in brackets
ip=2620:0052:0000:2220:0226:b9ff:fe81:cde4::[2620:0052:0000:2220:0000:0000:0000:03fe]:64::ibft0:none
should be
ip=[2620:0052:0000:2220:0226:b9ff:fe81:cde4]::[2620:0052:0000:2220:0000:0000:0000:03fe]:64::ibft0:none
https://bugzilla.redhat.com/show_bug.cgi?id=
1322592 #c19
(cherry picked from commit
b8e6c051c6ad6ae3ae93db8e74f37dbc82c22514 )
Harald Hoyer [Wed, 17 Aug 2016 14:49:00 +0000 (16:49 +0200)]
dracut.cmdline.7.asc: document rd.shell=0 for rd.emergency
(cherry picked from commit
1d267fb82c1e12e06ef80de16f5232ef06c84240 )
Harald Hoyer [Wed, 17 Aug 2016 14:48:07 +0000 (16:48 +0200)]
dracut.sh: document --hostonly-i18n and --no-hostonly-i18n
show description in --help
https://bugzilla.redhat.com/show_bug.cgi?id=
1266448
(cherry picked from commit
91896ab68e26b9f9191f4742dc8ad9c5025eac7f )
Harald Hoyer [Wed, 17 Aug 2016 14:41:21 +0000 (16:41 +0200)]
url-lib: ca-bundle.crt changed to a symlink
use inst() instead of inst_simple()
/etc/pki/tls/certs/ca-bundle.crt is a symlink to
../../ca-trust/extracted/pem/tls-ca-bundle.pem
with inst() we install the original file also.
https://bugzilla.redhat.com/show_bug.cgi?id=
1341280
(cherry picked from commit
1b23c6c65c39630cb62faa2503817759f83d880b )
Harald Hoyer [Fri, 12 Aug 2016 09:24:47 +0000 (11:24 +0200)]
systemd/dracut-cmdline.sh: unset "UNSET" $root
https://bugzilla.redhat.com/show_bug.cgi?id=
1365667
caused by commit
9aa224cc
(cherry picked from commit
fc77aca7ddbd33328066a943a4de09de34d25c4c )
Harald Hoyer [Tue, 9 Aug 2016 13:26:04 +0000 (15:26 +0200)]
dracut-functions.sh: catch all lvm slaves
add check_vol_slaves_all to be used in check_block_and_slaves_all
otherwise only the first lvm VG member would be processed
(cherry picked from commit
7a7b8c174023886b015bd484372839aecf63f324 )
Harald Hoyer [Fri, 19 Aug 2016 13:33:59 +0000 (15:33 +0200)]
TEST-20-NFS: remove stale pid file
Xunlei Pang [Fri, 19 Aug 2016 11:39:37 +0000 (13:39 +0200)]
network: use require_any_binary instead of require_any_binaries
Harald Hoyer [Fri, 22 Jul 2016 06:30:36 +0000 (08:30 +0200)]
nfs: install all nfs modules non-hostonly
If nfs is used, we should include all nfs modules, in the case, where
$host_fs_types contains nfs.
(cherry picked from commit
b077d18963436f6771e7ce3c486bcb2ae80165db )
Harald Hoyer [Wed, 29 Jun 2016 10:27:37 +0000 (12:27 +0200)]
network: support macaddr in brackets []
ip=ens3:dhcp:1000
ip=ens3:dhcp::54:52:00:ab:cd:ef
ip=ens3:dhcp::[54:52:00:ab:cd:ef]
ip=ens3:dhcp:1000:54:52:00:ab:cd:ef
ip=ens3:dhcp:1000:[54:52:00:ab:cd:ef]
ip=192.168.122.20::192.168.122.1:24:test:ens3:none:1000
ip=192.168.122.20::192.168.122.1:24:test:ens3:none::54:52:00:ab:cd:ef
ip=192.168.122.20::192.168.122.1:24:test:ens3:none::[54:52:00:ab:cd:ef]
ip=192.168.122.20::192.168.122.1:24:test:ens3:none:1000:54:52:00:ab:cd:ef
ip=192.168.122.20::192.168.122.1:24:test:ens3:none:1000:[54:52:00:ab:cd:ef]
ip=::::test:ens3:dhcp:1000
ip=::::test:ens3:dhcp::54:52:00:ab:cd:ef
ip=::::test:ens3:dhcp::[54:52:00:ab:cd:ef]
ip=::::test:ens3:dhcp:1000:54:52:00:ab:cd:ef
ip=::::test:ens3:dhcp:1000:[54:52:00:ab:cd:ef]
(cherry picked from commit
53e4ab71742fc1e5d8112c719c0d154d08815fa1 )
David Michael [Tue, 16 Aug 2016 20:43:18 +0000 (13:43 -0700)]
qemu: include the qemu_fw_cfg kernel module
This adds support for /sys/firmware/qemu_fw_cfg on QEMU guests
started with the -fw_cfg option.
Harald Hoyer [Mon, 8 Aug 2016 12:42:05 +0000 (14:42 +0200)]
Merge pull request #148 from lnykryn/fips-space
fips-module: add missing space
Lukas Nykryn [Thu, 28 Jul 2016 09:02:19 +0000 (11:02 +0200)]
fips-module: add missing space
Harald Hoyer [Fri, 22 Jul 2016 11:32:47 +0000 (13:32 +0200)]
add rd.emergency=[reboot|poweroff|halt]
specifies what action to execute in case of a critical failure
Harald Hoyer [Wed, 20 Jul 2016 09:45:37 +0000 (11:45 +0200)]
Merge pull request #145 from yuwata/dracut-conf
dracut.conf.5.asc: remove duplicate i18n_install_all option
Yu Watanabe [Wed, 20 Jul 2016 09:23:44 +0000 (18:23 +0900)]
dracut.conf.5.asc: remove duplicate i18n_install_all option
Harald Hoyer [Thu, 14 Jul 2016 12:24:31 +0000 (14:24 +0200)]
network: use arping2, if available
fixes https://github.com/dracutdevs/dracut/issues/135
Harald Hoyer [Wed, 29 Jun 2016 08:49:00 +0000 (10:49 +0200)]
fcoe: check if needed for hostonly
(cherry picked from commit
f45726652fd8c6fd6b5560e1142753bac62dc426 )
Harald Hoyer [Thu, 14 Jul 2016 11:53:24 +0000 (13:53 +0200)]
dracut-install.c: really add a "/" inbetween destdir and target
using dracut-install with
find . -print0 | xargs dracut-install -D /tmp/test -a
resulted in /tmp/test./.... files
Harald Hoyer [Fri, 8 Jul 2016 08:01:52 +0000 (10:01 +0200)]
fs-lib: f2fs needs crc32 not crc32c
*sigh*
Harald Hoyer [Thu, 7 Jul 2016 12:58:28 +0000 (14:58 +0200)]
Merge pull request #143 from scop/master
dracut.png: Optimize with zopflipng -m
Ville Skyttä [Thu, 7 Jul 2016 10:53:39 +0000 (13:53 +0300)]
dracut.png: Optimize with zopflipng -m
Harald Hoyer [Thu, 7 Jul 2016 07:43:48 +0000 (09:43 +0200)]
fs-lib: add crc32c kernel module for f2fs
Harald Hoyer [Wed, 6 Jul 2016 07:15:20 +0000 (09:15 +0200)]
Merge pull request #142 from falbrechtskirchinger/master
systemd: install missing drop-in configs
Florian Albrechtskirchinger [Wed, 6 Jul 2016 04:36:50 +0000 (06:36 +0200)]
systemd: install missing drop-in configs
In host-only mode, install missing drop-in configuration files for
/etc/systemd/{journal.conf,system.conf}.
Harald Hoyer [Mon, 4 Jul 2016 09:51:14 +0000 (11:51 +0200)]
Merge pull request #140 from tpgxyz/f2fs
add support to F2FS filesystem (fsck)
tpg [Thu, 30 Jun 2016 19:26:42 +0000 (21:26 +0200)]
add support to F2FS filesystem (fsck)
Harald Hoyer [Wed, 29 Jun 2016 15:32:31 +0000 (17:32 +0200)]
dracut.sh: make tmp dirs after the trap function is installed
otherwise a good timed ctrl-c will leave the tmp dir around
Hannes Reinecke [Thu, 12 May 2016 18:03:28 +0000 (20:03 +0200)]
40network: Update iBFT scanning code to handle IPv6
IPv6 addresses should be specified in brackets so that the
ip= scanning code doesn't get confused.
References: bnc#887542
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.com>
Harald Hoyer [Mon, 27 Jun 2016 10:05:37 +0000 (12:05 +0200)]
test: correct cmdline reading functions
Harald Hoyer [Mon, 27 Jun 2016 10:03:55 +0000 (12:03 +0200)]
fcoe/cleanup-fcoe.sh: don't copy shm files to state
with systemd version 230, this is not necessary anymore
systemd commit
cacf980ed44a28e276a6cc7f8fc41f991e2ab354
because /dev/shm is selinux relabled.
Harald Hoyer [Thu, 23 Jun 2016 14:36:43 +0000 (16:36 +0200)]
TEST-20-NFS: skip root=/dev/nfs tests with systemd v230
Harald Hoyer [Thu, 23 Jun 2016 12:24:40 +0000 (14:24 +0200)]
network/dhclient.conf: add missing commata
options need to be seperated by ,
Harald Hoyer [Wed, 22 Jun 2016 16:12:19 +0000 (18:12 +0200)]
dracut-systemd/*.service: conflict with shutdown target
make reboot/poweroff/halt work
also conflict with emergency.target
Harald Hoyer [Wed, 22 Jun 2016 16:11:28 +0000 (18:11 +0200)]
systemd: add missing -.slice unit
Harald Hoyer [Fri, 10 Jun 2016 06:53:01 +0000 (08:53 +0200)]
test: handle kernel panic in testsuite
- reboot kernel on panic
- qemu don't reboot
Harald Hoyer [Thu, 9 Jun 2016 16:14:45 +0000 (18:14 +0200)]
test/TEST-99-RPM: fixed test suite
- cope with dnf vs yum
- fixed find arguments
- make script fail, if command fails
Harald Hoyer [Wed, 8 Jun 2016 07:33:48 +0000 (09:33 +0200)]
cope with "rd.shell=0" in the testsuite
If emergency and shutdown-emergency hooks are called, the systemd should
poweroff the testsuite, therefore "rd.shell=0" is given on the test
suite kernel command lines.
"rd.shell=0" has to be parsed correctly by the test suite real root init
also.
Harald Hoyer [Wed, 8 Jun 2016 14:46:42 +0000 (16:46 +0200)]
systemd: add udev.hwdb and udev.conf
Harald Hoyer [Tue, 7 Jun 2016 12:47:27 +0000 (14:47 +0200)]
dracut-systemd/dracut-emergency.sh: call shutdown-emergency hooks
if no rd.shell is given
Harald Hoyer [Tue, 7 Jun 2016 11:24:47 +0000 (13:24 +0200)]
Revert "network: remove awk call and replace it with a shell function"
This reverts commit
71867b665cea6b4d9814ea0386baf0500db06806 .
network needs posix shell
Harald Hoyer [Fri, 27 May 2016 08:52:28 +0000 (10:52 +0200)]
use shutdown-emergency hook in testsuite to poweroff the machine
Harald Hoyer [Wed, 25 May 2016 15:05:03 +0000 (17:05 +0200)]
dracut-init.sh: set default firmware path, if not specified
Harald Hoyer [Tue, 7 Jun 2016 09:11:58 +0000 (11:11 +0200)]
network: remove awk call and replace it with a shell function
changes commit
4fa5c235a76c085f5958002826436ed9c40e5034
Harald Hoyer [Tue, 7 Jun 2016 09:08:12 +0000 (11:08 +0200)]
Merge pull request #137 from dracut-mailing-devs/
1461665111 -7385-2-git-send-email-xlpang@redhat.com
1461665111 7385 2 git send email xlpang@redhat.com
Nicolas Chauvet [Thu, 12 May 2016 15:28:21 +0000 (17:28 +0200)]
dracut: Add drivers/clk by default on arm
This will bundle clock drivers into the initramfs on arm
Tested on ti dm8148-t410 where adpll is needed on 4.6+ kernel
This will avoid to rely on (maybe broken) bootloader clocks.
Theses modules are also usually loaded early. Having them bundled into
the initramfs will avoid lot of deferred probes and others delay.
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Colin Guthrie [Tue, 7 Jun 2016 08:16:05 +0000 (09:16 +0100)]
dracut.sh: fix $tmpfilesdir fallback when systemd-devel is not installed.
Bug introduced in
3a04bddeed in Dec 2014.
Harald Hoyer [Wed, 25 May 2016 13:06:29 +0000 (15:06 +0200)]
systemd-initrd: add initrd-root-device.target
Harald Hoyer [Mon, 2 May 2016 10:48:12 +0000 (12:48 +0200)]
move ln_r() to dracut-init.sh
Harald Hoyer [Wed, 11 May 2016 07:23:05 +0000 (09:23 +0200)]
Merge pull request #128 from AlexanderKurtz/master
dracut-systemd/dracut-cmdline.sh: Don't error out if there is no root…