Harald Hoyer
fb0e5184a6
ifcfg: do not bind persistent interface names to HWADDR
11 years ago
Harald Hoyer
100d575ec9
fs-lib: always install fsck.$fs, if present
11 years ago
WANG Chao
b31250e7e6
dracut-initqueue service runs before remote-fs-pre.target
...
With the following commit, dracut doesn't mount anything from /etc/fstab
commit e920bfb
Author: WANG Chao <chaowang@redhat.com>
Date: Tue Apr 1 15:20:49 2014 +0800
fstab: do not mount and fsck from fstab if using systemd
But systemd doesn't mount nfs at all, because no unit is pulling in
remote-fs.target.
dracut must pull in these remote fs mount and all these remote mounts
should start only after network is up (ie. after dracut-initqueue).
Signed-off-by: WANG Chao <chaowang@redhat.com>
11 years ago
Chapman Flack
ddfea6b54c
Break at switch_root only for bare rd.break
...
Previously, any rd.break=breakpoint would cause a break at the
given breakpoint and also at switch_root.
11 years ago
Harald Hoyer
12819a5799
lvm:module-setup.sh: check for existance of 69-dm-lvm-metad.rules
...
Before modifying 69-dm-lvm-metad.rules, we should check for the
existance first. Otherwise this results in error messages on
distributions (debian), which do not ship these rules.
11 years ago
Harald Hoyer
d4dd3521bb
ifcfg/write-ifcfg.sh: turn on IPV6INIT, if any inet6 address is found
...
If "ip -6 addr" finds any inet6 address, assume IPV6INIT=yes for the
ifcfg file.
11 years ago
WANG Chao
e920bfb1e8
fstab: do not mount and fsck from fstab if using systemd
...
If using systemd in initramfs, we could run into a race condition when
dracut and systemd both are trying to mount and run fsck for the same
filesystem, and mount or fsck could be a failure.
To fix such failure, we should use systemd to mount/fsck from /etc/fstab
only.
v2: check $DRACUT_SYSTEMD suggested by Alexander Tsoy
Signed-off-by: WANG Chao <chaowang@redhat.com>
11 years ago
Harald Hoyer
3c530fc528
fcoe: workaround fcoe timing issues
11 years ago
Harald Hoyer
37502d2733
dm: add dm-cache modules
...
https://bugzilla.redhat.com/show_bug.cgi?id=1081435
11 years ago
Harald Hoyer
ebe7411691
network: DCHPv6: set valid_lft and preferred_lft
...
https://bugzilla.redhat.com/show_bug.cgi?id=1064365
11 years ago
Harald Hoyer
2c7f7a337a
network: handle "ip=dhcp6" for all interfaces
...
https://bugzilla.redhat.com/show_bug.cgi?id=1064365
11 years ago
Harald Hoyer
3aaf6ccc83
fcoe: wait for lldpad to be ready
11 years ago
Harald Hoyer
a9f4b9cdb0
systemd: add systemd-gpt-auto-generator
11 years ago
Harald Hoyer
51160a47b1
systemd/dracut-shutdown.service: make failure non-fatal
11 years ago
Harald Hoyer
68dc90c6e9
shutdown: if kexec failed, do a simple reboot
11 years ago
Harald Hoyer
a9d30a4066
network:dhclient-script do PREINIT6 for DHCP6
11 years ago
Harald Hoyer
0cb42c27f9
lvm:lvm_scan.sh handle one LV at a time with lvchange
11 years ago
Harald Hoyer
ee4b74fb9c
Do not wait_for_dev if hostonly_cmdline not set
11 years ago
Harald Hoyer
f60b7d8655
fcoe-up: remove initlog logic
11 years ago
Harald Hoyer
8ee1825364
dracut: don't let devices timeout
...
https://bugzilla.redhat.com/show_bug.cgi?id=949697
11 years ago
Alexander Tsoy
cd501ff74b
udev-rules: add 80-net-setup-link.rules and .link files
...
With systemd >= 209 these file are required for predictable network interface
names
11 years ago
Harald Hoyer
1f680ccc9b
systemd: add systemd-sysctl service
...
https://bugzilla.redhat.com/show_bug.cgi?id=1070086
11 years ago
Harald Hoyer
43a85a7365
network: merge setup_net_$netif.ok and net.$netif.did-setup
...
one marker per interface is enough
11 years ago
Harald Hoyer
61b4afb424
network: IPv6 status, wait for tentative flag to be cleared
...
also do not arping the IPv6 address.
11 years ago
Harald Hoyer
2ac599dc75
network/dhclient-script.sh:DHCP IPv6 interface setup
...
configure IPv6 interface for DHCP6
https://bugzilla.redhat.com/show_bug.cgi?id=1064365
11 years ago
Harald Hoyer
7f70f81153
network/net-lib.sh:wait_for_ipv6_auto() also wait for the tentative flag
...
Wait until the tentative flag is cleared.
https://bugzilla.redhat.com/show_bug.cgi?id=1069263
11 years ago
Harald Hoyer
79b3c8bfa1
ifcfg/write-ifcfg.sh: do not bind s390 to MAC if SUBCHANNELS set
...
If SUBCHANNELS are set, do not specify HWADDR, because the SUBCHANNELS
are the identifier for the interface.
https://bugzilla.redhat.com/show_bug.cgi?id=1056438
11 years ago
Harald Hoyer
fa795f29e2
systemd/rootfs-generator.sh: generate units in /run/systemd/generator
...
Generate the units in /run/systemd/generator, so they are picked up by
systemd.
https://bugzilla.redhat.com/show_bug.cgi?id=1069133
https://bugzilla.redhat.com/show_bug.cgi?id=949697
11 years ago
Harald Hoyer
ab9457efd7
Add flag to toggle hostonly cmdline storing in the initramfs
...
--hostonly-cmdline:
Store kernel command line arguments needed in the initramfs
--no-hostonly-cmdline:
Do not store kernel command line arguments needed in the initramfs
11 years ago
Harald Hoyer
103c5e1ecb
systemd: add 70-uaccess.rules
11 years ago
Harald Hoyer
d1c4e5c521
fcoe-uefi: try all FcoeBootDevice-* variables for a DevicePath
...
try to read the DevicePath from all FcoeBootDevice-* UEFI variables
until one has a MAC.
11 years ago
Harald Hoyer
a324c2111e
iscsi: for iBFT read the initiator-name from the correct file
...
/sys/firmware/ibft/initiator-name should be
/sys/firmware/ibft/initiator/initiator-name
https://github.com/haraldh/dracut/issues/12
11 years ago
Harald Hoyer
cb802bfbc7
iscsiroot: touch the right marker file
11 years ago
Harald Hoyer
a0b2c69441
kernel-modules: add sdhci_acpi to the static list of kernel modules
...
Thanks Adam Williamson!
https://bugzilla.redhat.com/show_bug.cgi?id=1063556
11 years ago
Till Maas
9835859f21
Cryptroot-ask.sh: Remove duplicate code
...
Remove duplicate code introduced with commit
9b5e2e8574
.
11 years ago
Till Maas
9b5e2e8574
Cryptroot-ask.sh: Use variables consistently
...
- Always use $luksname instead of sometimes $2
- define $asked_file instead of using the same path twice
11 years ago
Brian C. Lane
460cddffa1
new_dhcp_next_server is really new_next_server
...
The variable that dhclient sets doesn't have dhcp in the name. This
could cause problems with setups where the server is not the same as the
dhcp server.
11 years ago
Harald Hoyer
fac3275a43
network:fix dns parsing in ip= parameter
11 years ago
Harald Hoyer
30e6e809ed
Factor out all the "type -V" commands
...
Add new functions require_binaries() and require_any_binary() to be used
in the check() section of module-setup.sh.
These functions print a warning line telling the user, which binary is
missing for the specific dracut module.
This unifies the way of checking for binaries and makes the life of an
initramfs creator easier, if he wants to find out why a specific dracut
module is not included in the initramfs.
11 years ago
Harald Hoyer
8d21728942
systemd: add sys-kernel-config.mount
11 years ago
Harald Hoyer
352d557d4d
Do not reload systemd with wait_for_dev
11 years ago
Harald Hoyer
751c7de98a
systemd/dracut-pre-pivot: run for /dev/{nfs,root} and cleanup /dev/nfs
...
dracut-pre-pivot was not cleaning up /dev/nfs and did not run to clean
up /dev/root.
11 years ago
Harald Hoyer
81aed4f28e
nfs/nfsroot: symlink /dev/null to /dev/nfs, as a marker for root=/dev/nfs
11 years ago
Harald Hoyer
c84618d7ac
network/ifup: do not run dhclient twice on the same interface
11 years ago
Harald Hoyer
d61a423f7c
network/ifup: do not ifup an already setup network interface
11 years ago
Harald Hoyer
c860837303
base/rdsosreport.sh: add dracut version to rdsosreport
11 years ago
Harald Hoyer
1982098e00
network/ifup.sh: handle $dns1 and $dns2 from "ip=" settings
11 years ago
Harald Hoyer
e95e48c6ee
network/net-lib.sh: parse ibft nameserver settings
11 years ago
Harald Hoyer
66bfe863f5
network: understand ip=.....:<dns1>:<dns2>
11 years ago
Harald Hoyer
ba9368fa4f
dmsquash-live/dmsquash-liveiso-genrules.sh: s/loop0/loop-control/
...
If loop is a kernel module, /dev/loop0 will never show up as a udev
event, if the loop module is not manually loaded somewhere.
11 years ago