Stefan Berger
479b5cd94f
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>
8 years ago
Harald Hoyer
de7ab164dd
dmsquash-live/dmsquash-live-root: det_img_fs() redirect udevadm output to stderr
...
Otherwise the output is taken as input for modprobe.
8 years ago
Harald Hoyer
bb47ec5499
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.
8 years ago
Harald Hoyer
d8c75b5f38
Merge pull request #131 from bcg62/syslog-fixes
...
syslog module fixes
8 years ago
Brendan Germain
a1ea214a87
add imjournal.so to read systemd journal
8 years ago
Brendan Germain
1d9d43713d
subshell and set -f to prevent expansion
8 years ago
Brendan Germain
b37b141ecc
fixup No such file or directory errors when module is not configured
8 years ago
Brendan Germain
223547feab
move start from udev to initqueue/online
8 years ago
Brendan Germain
3568d947db
source dracut-lib for warn()
8 years ago
Brendan Germain
ff6077789e
correctly install rsyslog.conf template
8 years ago
David Disseldorp
bafc82e732
dracut.sh: support --tmpdir as a relative path
...
Dracut changes working directory before attempting to output files under
$DRACUT_TMPDIR , resulting in an IO failure if $DRACUT_TMPDIR is a path
relative to the working directory when dracut was started.
Fixes: https://github.com/dracutdevs/dracut/issues/156
Signed-off-by: David Disseldorp <ddiss@suse.de>
8 years ago
Harald Hoyer
8205c25ef9
Merge pull request #150 from dm0-/master
...
qemu: include the qemu_fw_cfg kernel module
8 years ago
Harald Hoyer
fea9be7ac1
Merge pull request #154 from honza801/patch-1
...
Update nfs-lib.sh
9 years ago
Harald Hoyer
c85034c91f
caps: make it a non default module
9 years ago
Harald Hoyer
d7c9ad504e
TEST-30-ISCSI: add message, that all tests passed
9 years ago
Harald Hoyer
00ca15abbf
network: arping2 use 0.0.0.0 as source address
9 years ago
Harald Hoyer
dba974844e
test/TEST-30-ISCSI: depend on tgtd and tgtadm
...
the testsuite now needs tgtd and tgtadm and not iscsi-target
9 years ago
Harald Hoyer
a84c391b87
kernel-modules: add nvme kernel module
9 years ago
Harald Hoyer
86eb0b1b83
dracut-systemd/dracut-mount.service: add DefaultDependencies=no
9 years ago
honza801
69c6435acd
Update nfs-lib.sh
...
anaconda_nfsv6_to_var(): fix options parsing. $1 contains : at the end, this is done by previous functions.
9 years ago
Harald Hoyer
b05cd20695
Merge pull request #153 from fuhry/livenet-generator-nfs
...
livenet: support nfs:// urls in livenet-generator
9 years ago
Dan Fuhry
1090a8826a
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.
9 years ago
Harald Hoyer
1a7b71bb14
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 b8e6c051c6
)
9 years ago
Harald Hoyer
5db79ae414
dracut.cmdline.7.asc: document rd.shell=0 for rd.emergency
...
(cherry picked from commit 1d267fb82c
)
9 years ago
Harald Hoyer
f367b73852
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 91896ab68e
)
9 years ago
Harald Hoyer
f47090f918
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 1b23c6c65c
)
9 years ago
Harald Hoyer
e168eeef67
systemd/dracut-cmdline.sh: unset "UNSET" $root
...
https://bugzilla.redhat.com/show_bug.cgi?id=1365667
caused by commit 9aa224cc
(cherry picked from commit fc77aca7dd
)
9 years ago
Harald Hoyer
c7c8c4981a
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 7a7b8c1740
)
9 years ago
Harald Hoyer
1de836c763
TEST-20-NFS: remove stale pid file
9 years ago
Xunlei Pang
242c03d6fb
network: use require_any_binary instead of require_any_binaries
9 years ago
Harald Hoyer
88f9d6140d
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 b077d18963
)
9 years ago
Harald Hoyer
740c46c022
network: support macaddr in brackets []
...
ip=ens3:dhcp:1000
ip=ens3:dhcp::54:52:00:ab๐ฟ ef
ip=ens3:dhcp::[54:52:00๐ cd:ef]
ip=ens3:dhcp:1000:54:52:00:ab๐ฟ ef
ip=ens3:dhcp:1000:[54:52:00๐ 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๐ฟ ef
ip=192.168.122.20::192.168.122.1:24:test:ens3:none::[54:52:00๐ cd:ef]
ip=192.168.122.20::192.168.122.1:24:test:ens3:none:1000:54:52:00๐ cd:ef
ip=192.168.122.20::192.168.122.1:24:test:ens3:none:1000:[54:52:00๐ cd:ef]
ip=::::test:ens3:dhcp:1000
ip=::::test:ens3:dhcp::54:52:00:ab๐ฟ ef
ip=::::test:ens3:dhcp::[54:52:00๐ cd:ef]
ip=::::test:ens3:dhcp:1000:54:52:00:ab๐ฟ ef
ip=::::test:ens3:dhcp:1000:[54:52:00๐ cd:ef]
(cherry picked from commit 53e4ab7174
)
9 years ago
David Michael
73db316ef2
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.
9 years ago
Harald Hoyer
38b9558333
Merge pull request #148 from lnykryn/fips-space
...
fips-module: add missing space
9 years ago
Lukas Nykryn
1c132d39a6
fips-module: add missing space
9 years ago
Harald Hoyer
c45e856a65
add rd.emergency=[reboot|poweroff|halt]
...
specifies what action to execute in case of a critical failure
9 years ago
Harald Hoyer
9264b0cba6
Merge pull request #145 from yuwata/dracut-conf
...
dracut.conf.5.asc: remove duplicate i18n_install_all option
9 years ago
Yu Watanabe
aaaf035aed
dracut.conf.5.asc: remove duplicate i18n_install_all option
9 years ago
Harald Hoyer
9853791d37
network: use arping2, if available
...
fixes https://github.com/dracutdevs/dracut/issues/135
9 years ago
Harald Hoyer
5a3773dbe6
fcoe: check if needed for hostonly
...
(cherry picked from commit f45726652f
)
9 years ago
Harald Hoyer
24113c3a11
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
9 years ago
Harald Hoyer
34a42f9f49
fs-lib: f2fs needs crc32 not crc32c
...
*sigh*
9 years ago
Harald Hoyer
5d4aaaa2a3
Merge pull request #143 from scop/master
...
dracut.png: Optimize with zopflipng -m
9 years ago
Ville Skyttรค
828257dd82
dracut.png: Optimize with zopflipng -m
9 years ago
Harald Hoyer
f8ff380bd5
fs-lib: add crc32c kernel module for f2fs
9 years ago
Harald Hoyer
b1ec9d737f
Merge pull request #142 from falbrechtskirchinger/master
...
systemd: install missing drop-in configs
9 years ago
Florian Albrechtskirchinger
5d013e5e3c
systemd: install missing drop-in configs
...
In host-only mode, install missing drop-in configuration files for
/etc/systemd/{journal.conf,system.conf}.
9 years ago
Harald Hoyer
4af4fe4a69
Merge pull request #140 from tpgxyz/f2fs
...
add support to F2FS filesystem (fsck)
9 years ago
tpg
9f521f76a0
add support to F2FS filesystem (fsck)
9 years ago
Harald Hoyer
3889234f71
dracut.sh: make tmp dirs after the trap function is installed
...
otherwise a good timed ctrl-c will leave the tmp dir around
9 years ago