Harald Hoyer
a49c1f049b
network:wait_for_ifup() handle "NO-CARRIER" output
...
if "NO-CARRIER" is one of the flags, we surely have no link yet.
(cherry picked from commit f059985b14
)
9 years ago
Harald Hoyer
efba549a26
dracut.sh: no microcode, if get_ucode_file returns empty file
...
check, if get_ucode_file() returned an empty string.
(cherry picked from commit 327d765512
)
9 years ago
Harald Hoyer
79cb273dc0
iscsi/parse-iscsiroot.sh: correct handling if netroot isn't set
...
corrects bfe65f913a
(cherry picked from commit 7fd112f20e
)
9 years ago
Harald Hoyer
583fb23199
dracut.sh: do not create microcode, if no firmware is available
...
(cherry picked from commit 13b5c1d09e
)
9 years ago
Harald Hoyer
b73e00aff7
dracut.sh: add command line option for install_i18_all
...
--no-hostonly-i18n -> install_i18n_all=yes
--hostonly-i18n -> install_i18n_all=no
(cherry picked from commit 34b551a1c4
)
9 years ago
Harald Hoyer
b5363e834a
iscsi/iscsiroot.sh: handle iscsi_firmware in online and timeout queue
...
The return code of iscsi_firmware is broken, so set the marker
unconditionally.
(cherry picked from commit fd3eddf069
)
9 years ago
Harald Hoyer
19b0065cac
network/netroot.sh: better handling of $netroot and dhcp
...
if $netroot is emtpy, get it from cmdline
check cmdline directly for root=dhcp(6) and netroot=dhcp(6)
(cherry picked from commit 17cee31b11
)
9 years ago
Harald Hoyer
df087c45d8
iscsi/iscsiroot.sh: use all_ifaces_setup()
...
we want the route and gateway setup
(cherry picked from commit 7cddfbbadb
)
9 years ago
Harald Hoyer
5d90ba4fca
network: add all_ifaces_setup()
...
all_ifaces_up() is true, if all interfaces are up.
all_ifaces_setup() is true, if all interfaces are up and the gateways
and nameserver are setup.
(cherry picked from commit 63e75dc4cd
)
9 years ago
Harald Hoyer
e847a78bb6
network/dhclient-script.sh: fix RENEW
...
Remove check, if interface is already up. It is for RENEW.
new_prefix is apparently new_subnet_mask
(cherry picked from commit 52845b168d
)
9 years ago
Harald Hoyer
73833796b4
network: move "ip=ibft" handling to network module
...
(cherry picked from commit b334c83e4a
)
9 years ago
Harald Hoyer
e803d076f8
iscsi/parse-iscsiroot.sh: only set initiator-name, if not empty
...
(cherry picked from commit eb87dc91d0
)
9 years ago
Harald Hoyer
7d47178e0d
livenet/livenetroot.sh: fixed error condition
...
copy&paste error
(cherry picked from commit b813b1b306
)
9 years ago
Harald Hoyer
6cfdb5aa1f
network/ifup: do DHCP for BOOTDEV
...
(cherry picked from commit 7316d68353
)
9 years ago
Harald Hoyer
29b885b46e
network/net-lib.sh: fix IPv6 route parsing
...
(cherry picked from commit a4c47ce0dd
)
9 years ago
Harald Hoyer
42b4fc90f2
network/net-lib.sh: fix wait_for_if_up()
...
wait for <*UP*> and not "state UP"
state can be UNKNOWN
(cherry picked from commit d8572e0bf4
)
9 years ago
Harald Hoyer
b519ae7008
network/ifup: fix warning about not bringing interface up
...
(cherry picked from commit 70f3c07846
)
9 years ago
Harald Hoyer
195b5d0725
cms/cmsifup.sh: do not use ifup -m
...
we don't want to bring the interface up several times
(cherry picked from commit 0852c38b7a
)
9 years ago
Harald Hoyer
686f9675df
network/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp
...
(cherry picked from commit 7c24815034
)
9 years ago
Harald Hoyer
26fbe97bbe
network: also mark interfaces up with their MAC
...
(cherry picked from commit 53537f4d23
)
9 years ago
Harald Hoyer
744c65939b
network/ifup.sh: save return value of ifup
...
(cherry picked from commit b4006781e8
)
9 years ago
Harald Hoyer
3632be079b
iscsi/parse-iscsiroot.sh: restart iscsid with try-restart
...
(cherry picked from commit a6befb52eb
)
9 years ago
Harald Hoyer
782e909eef
iscsi/parse-iscsiroot.sh: handle firmware in online queue
...
(cherry picked from commit 7f59cbd318
)
9 years ago
Harald Hoyer
27a5aecf56
network/ifup.sh:do_static(): error out, if IP is already assigned
...
(cherry picked from commit 32770ca79a
)
9 years ago
Harald Hoyer
5193198dc9
network/ifup.sh:do_static(): error out, if interface could not be brought up
...
(cherry picked from commit 77f46adf5e
)
9 years ago
Harald Hoyer
c606be49d7
TEST-15-BTRFS: load btrfs module
...
(cherry picked from commit d9b5a98532
)
9 years ago
Harald Hoyer
f939cffdac
test/TEST-04-FULL-SYSTEMD/create-root.sh: modprobe btrfs
...
why so ever... it used to load automatically
(cherry picked from commit 65977ef1d1
)
9 years ago
Harald Hoyer
a283636b83
dmraid: only scan once because of one device
...
(cherry picked from commit 80153acc0f
)
9 years ago
Harald Hoyer
4483fff87c
network/dhclient: exit arping immediatly, if we get an answer
...
(cherry picked from commit d6bfa7052a
)
9 years ago
Harald Hoyer
c04a321b92
network/net-lib.sh:ibft unset gateway or dns, if set to 0.0.0.0
...
(cherry picked from commit 942d60d8af
)
9 years ago
Harald Hoyer
4a88aaff10
fcoe: cleanup lldpad
...
Resolves: rhbz#1246217
(cherry picked from commit 69c437dd1c
)
9 years ago
Harald Hoyer
dd8d161afe
udev-rules: install 40-redhat.rules
...
(cherry picked from commit 0c0abf97cc
)
9 years ago
Harald Hoyer
0c004c8e64
network/parse-ip-opts.sh: bind enx* interface to the MAC
...
do it automatically for the persistent naming scheme
(cherry picked from commit 2eb3b00133
)
9 years ago
Harald Hoyer
9ab5ddf16a
network/ifup.sh: arping for static IPv4 addresses
...
(cherry picked from commit 38180271c5
)
9 years ago
Harald Hoyer
93b9885a65
network/ifup.sh: let dhcp client run in the background
...
we need to renew the lease
(cherry picked from commit fb2d643a38
)
9 years ago
Harald Hoyer
db7d739818
systemd/dracut-cmdline.sh: print out cmdline in one line
...
(cherry picked from commit 93a5a3d3ca
)
9 years ago
Harald Hoyer
bcbcacb5d6
iscsi: handle timeout case better
...
(cherry picked from commit bfe65f913a
)
9 years ago
Harald Hoyer
0a10d7fc51
TEST-30-ISCSI: fix test to run with new iscsi
...
(cherry picked from commit 836ca3f47e
)
9 years ago
Harald Hoyer
f5753e1861
iscsi/module-setup.sh: iscsid need /var/lib/iscsi
...
(cherry picked from commit f74b0a9f38
)
9 years ago
Harald Hoyer
9af753c468
crypt: install drbg unconditionally in hostonly mode
...
older kernels had the drbg kernel module and didn't need it
(cherry picked from commit 89948e58fd
)
9 years ago
Harald Hoyer
20486a16e9
man page: changed grub.conf to grub2.cfg
...
(cherry picked from commit 77c0b30825
)
9 years ago
Harald Hoyer
848edf22f0
multipath: install all multipath path selector kernel modules
...
By default, dracut only builds in dm-service-time into the initramfs as
that is the default multipath.conf path selector. If the user changes
the path selector to "round robin" on the fly and runs dracut, multipath
does not find any paths on boot and the user will be dropped into a
shell.
Apparently, in RHEL7 dracut defaults to "hostonly" mode, i.e. modules
not currently in use at the time dracut runs do not get built into
initramfs. This is definitely one case where this doesn't work. A change
to reconfigure multipath probably should not render the system
unbootable.
https://bugzilla.redhat.com/show_bug.cgi?id=1195392
(cherry picked from commit f11d7a81e2
)
9 years ago
Harald Hoyer
3913d061c4
livenet: don't attempt to download the image for every interface
...
https://bugzilla.redhat.com/show_bug.cgi?id=1152485
(cherry picked from commit e5f4bbd804
)
9 years ago
Harald Hoyer
cca313fa75
fcoe/fcoe-edd.sh: cleanup the script
...
- check if modprobe was successful
- add a timeout for /sys/firmware/edd
- only remove the module, if it was loaded by the script
(cherry picked from commit 34203d03c0
)
9 years ago
Chris Leech
9a5bd6804a
fcoe: EDD parsing patch for i40e
...
(cherry picked from commit 4031a2fa64
)
9 years ago
Chris Leech
4891d9a2ce
fcoe: start with fcoemon instead of fipvlan
...
(cherry picked from commit d02f522089
)
9 years ago
Harald Hoyer
2448fbf17b
network: add options to tweak timeouts
...
rd.net.dhcp.retry=<cnt>
If this option is set, dracut will try to connect via dhcp
<cnt> times before failing. Default is 1.
rd.net.timeout.dhcp=<arg>
If this option is set, dhclient is called with "-timeout <arg>".
rd.net.timeout.iflink=<seconds>
Wait <seconds> until link shows up. Default is 60 seconds.
rd.net.timeout.ifup=<seconds>
Wait <seconds> until link has state "UP". Default is 20 seconds.
rd.net.timeout.route=<seconds>
Wait <seconds> until route shows up. Default is 20 seconds.
rd.net.timeout.ipv6dad=<seconds>
Wait <seconds> until IPv6 DAD is finished. Default is 50 seconds.
rd.net.timeout.ipv6auto=<seconds>
Wait <seconds> until IPv6 automatic addresses are assigned.
Default is 40 seconds.
rd.net.timeout.carrier=<seconds>
Wait <seconds> until carrier is recognized. Default is 5 seconds.
(cherry picked from commit d8ad687e1a
)
9 years ago
Harald Hoyer
6138a45dd2
iscsi/parse-iscsiroot.sh: do not modify netroot
...
(cherry picked from commit 197e4c90b9
)
9 years ago
Harald Hoyer
7391fef29a
iscsi/iscsiroot.sh: handle firmware in online queue
...
otherwise it does not get called, if no netroot is set
(cherry picked from commit 3bd3bbec31
)
9 years ago
Harald Hoyer
01430d27d4
dracut.spec: raise systemd requirement to >= 219
...
needs systemd-escape
(cherry picked from commit 35f40b75e4
)
9 years ago