Harald Hoyer
8e1c4b354c
dracut-logger: prefix stderr output with "dracut: "
...
dnf updates of the kernel execute dracut in %post.
For the user it is not possible to distinguish the dracut output from
other error messages.
9 years ago
Harald Hoyer
9d2a3f80cf
Merge pull request #95 from cgwalters/emacs-setq
...
dir-locals: Avoid use of setq which triggers Emacs warning
10 years ago
Colin Walters
10d03bbfbc
dir-locals: Avoid use of setq which triggers Emacs warning
...
Emacs has a whitelist of "safe" variables, using `setq` overrides
that and causes it to warn when opening any file by default.
Dropping the `setq` makes Emacs do the right thing.
10 years ago
Harald Hoyer
820f81016a
dracut.8.asc: mention lsinitrd(1) in see also
10 years ago
Harald Hoyer
eed08b6988
Merge branch 'master' of github.com:haraldh/dracut
10 years ago
Harald Hoyer
a9caf07fb3
Merge pull request #94 from yuwata/master
...
Fix typos in error module messages and usage of install blob.
10 years ago
yuwata
fc212358da
install blob: fix typos in usage.
10 years ago
yuwata
0888cf51ab
systemd-networkd: fix typo in error message
10 years ago
yuwata
5cb1e0efea
systemd-initrd: fix typo in error message.
10 years ago
Harald Hoyer
ea877ac6cc
dracut-functions.sh: fixed dracutbasedir, when sourced directly
10 years ago
Harald Hoyer
5816375273
Merge pull request #87 from dracut-mailing-devs/E1ZK3hi-0000SN-Lt@puleglot.ru
...
dracut-initramfs-restore: make mount error nonfatal
10 years ago
Harald Hoyer
419105df27
Merge pull request #90 from ldzhong/fix
...
dracut.sh: remove duplicate call of push_host_devs
10 years ago
Lidong Zhong
aa169b3bd3
dracut.sh: remove duplicate call of push_host_devs
...
There is no way exit between the two places that call push_host_devs
10 years ago
Harald Hoyer
378ed5ecc1
Merge pull request #89 from ldzhong/fix
...
dracut-functions.sh: remove duplicate declaratio of local variable
10 years ago
Lidong Zhong
9918afd244
dracut-functions.sh: remove duplicate declaratio of local variable
10 years ago
Harald Hoyer
e0a5dec4a4
Merge pull request #88 from shoop/staticroutegw
...
The default gateway might need a static route
10 years ago
Stijn Hoop
110858025a
The default gateway might need a static route
...
Some hosting providers need a static route set in order to be
able to reach the default gateway. Be sure to retry adding
the default gateway after setting the static routes.
10 years ago
Harald Hoyer
0a66b74b51
TEST-30-ISCSI: test more and set static initiator name
10 years ago
Harald Hoyer
6802cf2349
iscsi/iscsiroot.sh: handle timeout with all interfaces up
...
restart iscsid, because it may disbehaved
10 years ago
Harald Hoyer
feb8dc685d
iscsi/parse-iscsiroot.sh: use iBFT initiator name
10 years ago
Harald Hoyer
69171aa8fa
dracut.cmdline.7.asc: document rd.iscsi.waitnet and rd.iscsi.testroute
10 years ago
Harald Hoyer
c22c43f81a
TEST-30-ISCSI: switch to scsi-target-utils
...
netbsd-iscsi is not available on RHEL
Beef up the testsuite to use the two targets over different
interfaces.
Test the new iSCSI parameters rd.iscsi.waitnet and rd.iscsi.testroute.
10 years ago
Harald Hoyer
52b91b6698
TEST-30-ISCSI/dhcpd.conf: set the LUN
...
set the LUN, so the udev rule to mount the disk matches
10 years ago
Harald Hoyer
d94050ddae
iscsi: integrate with systemd and improve robustness
...
parse-cmdline sets up an initial initiator-name to let iscsid start.
iscsid is started before doing any iscsistart business.
iscsistart is done with systemd-run asynchrone to do things in
paralllel. Also restarted for every new interface which shows up.
If rd.iscsi.waitnet (default) is set, iscsistart is done only
after all interfaces are up.
If not all interfaces are up and rd.iscsi.testroute (default) is set,
the route to a iscsi target IP is checked and skipped, if there is none.
If all things fail, we issue a "dummy" interface iscsiroot to retry
everything in the initqueue/timeout.
10 years ago
Harald Hoyer
f41720c311
base/dracut-lib.sh: forget about the idea of output redirection
...
It's just not working :-/
10 years ago
Harald Hoyer
8ba684be1c
dracut-systemd/dracut-initqueue.sh: be verbose about timeout
...
Issue a warning, if timeout scripts are executed
10 years ago
Harald Hoyer
50e86bf02b
nfs/parse-nfsroot.sh: silence useless warning if netroot is not nfs
10 years ago
Harald Hoyer
4e9ba952bf
network/parse-ip-opts.sh: assume rd.neednet for multiple ip options
...
set rd.neednet on the kernel cmdline to disable this behaviour
10 years ago
Harald Hoyer
b1b704bd67
systemd: add systemd-run and systemd-escape
10 years ago
Harald Hoyer
01b23b6900
network/net-lib.sh: add is_ip()
...
add function to test if string is a valid IP
10 years ago
Harald Hoyer
3c00189988
dracut.sh: remove quotes from install_items and install_optional_items
...
Unfortunately these are lists with whitespaces.
10 years ago
Harald Hoyer
e6a2555c7d
base/dracut-lib.sh: Dup stdout and stderr
...
Dup stdout and stderr, so that subshell redirection does not affect
logging.
Also gets rid of systemd printing info() to the console on "quiet".
10 years ago
Mimi Zohar
4f50a9bfb1
Revert securitfs change
...
Commit 5e60145
use findmnt with "--source" or "--target" broke
mounting securityfs. This patch reverts only the securityfs
portion of the patch.
10 years ago
Mimi Zohar
41ac16b26f
Define new script to load keys on the IMA keyring (update)
...
This patch supports loading keys either on the _ima keyring or, as of
Linux 3.17, on the trusted .ima keyring. Only certificates signed by
a key on the system keyring can be loaded onto the trusted .ima keyring.
Changelog:
- Update 98integrity/README
10 years ago
Mimi Zohar
396d3cc7ff
Extend evm-enable.sh to load the EVM public key
...
Create the _evm keyring and load the EVM public key on it.
10 years ago
Mimi Zohar
b05ad85b0c
Remove 98integrity's dependency on selinux
...
Loading the EVM key(s) is not dependent on selinux. Remove
the dependency.
10 years ago
Harald Hoyer
4135eea634
90qemu: fixed systemd-detect-virt output parsing
...
redirecting systemd-detect-virt to /dev/null doesn't help with parsing
the output :-/
Also, add "Red Hat" as a vendor.
10 years ago
Harald Hoyer
96d694c0b5
dracut.sh: simplify modalias reading
10 years ago
Alexander Tsoy
da5304aabc
dracut-initramfs-restore: make mount error nonfatal
...
Script enables errexit option (set -e). So if /boot is not a mount point
or is already mounted, then script dies after unsuccessful mount
command. Fix this by always returning successful result.
10 years ago
Harald Hoyer
cce34acace
qemu: add spapr-vscsi kernel module
10 years ago
Harald Hoyer
607ff8204b
Merge pull request #85 from Quarky9/master
...
40network/net-lib.sh: get_ip() Add missing echo to output the result
10 years ago
Harald Hoyer
2082cdf230
crypt: s/allow-discards/discard for crypttab
...
actually the option in crypttab is named "discard" and not
"allow-discards"
https://bugzilla.suse.com/show_bug.cgi?id=932972
10 years ago
Stefan Reimer
c1c96f2c47
Add missing echo to output the result.
...
Only place this function is currently called seems from line 28 in modules.d/95nfs/nfs-lib.sh. Bug fix.
10 years ago
Harald Hoyer
693b7a3283
Cleanup compressor handling
...
If no compressor is specified, try to find a suitable one.
Check if kernel modules can be uncompressed.
10 years ago
Harald Hoyer
f4d64d55ea
dmsquash-generator.sh: increase timeout for checkisomd5
...
if the checkisomd5 takes longer than 3 minutes, the device timeout for
/dev/mapper/live-rw cancels the boot process.
10 years ago
Harald Hoyer
ff55a8939c
Merge pull request #81 from floppym/printf2
...
Replace echo -n with printf in code with a /bin/sh shebang
10 years ago
Harald Hoyer
e50f91e600
use mktemp "-p" instead of "--tmpdir" for busybox
10 years ago
Harald Hoyer
7f2ea02b4a
dracut.spec: add dracut-init.sh
10 years ago
Mike Gilbert
24f32511fc
syncheck: Look for 'echo -n' usage in modules
10 years ago
Mike Gilbert
5899f2f516
Replace echo -n with printf in code with a /bin/sh shebang
...
POSIX does not mandate that echo support the -n parameter.
printf has more well-defined behavior.
10 years ago