Harald Hoyer
6ed1d9fd07
dmsquash-live/dmsquash-live-root.sh: fixed typo
9 years ago
Harald Hoyer
eb242ada05
dmraid/61-dmraid-imsm.rules: remove double ","
9 years ago
Harald Hoyer
4916bf1a58
lvm: silence errors from "lvm dumpconfig"
...
if the config option does not exist, we ignore the error anyway
9 years ago
Harald Hoyer
87e90d7f4a
For rd.hostonly=0 remove all initqueue/finished files also
...
This helps booting systems with changed configuration
9 years ago
Harald Hoyer
1a2290ea79
Revert "systemd: if kdbus is available, include the kernel module"
...
This reverts commit 90ff5ad67e
.
There will be no kdbus anymore :-/
9 years ago
Frederick Grose
8b5ee88ff6
dmsquash-live-root: Avoid an overlay for persistent, uncompressed, read-write live installations.
...
Persistent, uncompressed live installations can avoid overlays with a new rd.live.overlay=none flag.
Non-persistent rd.live.ram boots can also take advantage of persistent home.img filesystems.
9 years ago
Antony Messerli
a455ad1c27
livenet: add livenet-generator
...
Resolves issues where systemd attempts to boot a live URL as an NFS mount.
This patch uses systemd's generator arg[2] to generate an early sysroot.mount
that preempts systemd-fstab-generator.
See https://bugzilla.redhat.com/show_bug.cgi?id=1280103
9 years ago
Harald Hoyer
2da041d672
Check for systemd before installing systemd specific files
...
https://bugzilla.redhat.com/show_bug.cgi?id=1282010
9 years ago
Harald Hoyer
602dce9ff2
iscsi/parse-iscsiroot.sh: reload udev rules
...
in the DHCP case udev is already running, so reload the rules before
continuing.
9 years ago
Zhiguo Deng
7527b90c88
Check rd.zfcp= format in dracut hook:cmdline process stage
...
When using rd.zfcp= parameter in generic.prm file, wrong format
parameters will prevent the zfcp driver to add the correct SCSI
disk. dracut should die when a wrong rd.zfcp= parameter supplied.
Signed-off-by: Zhiguo Deng <bjzgdeng@linux.vnet.ibm.com>
9 years ago
dyoung@redhat.com
6870007674
Revert "Let user specify the action after fail"
...
This reverts commit 9d787df196
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
d6dfde7830
Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck"
...
This reverts commit 679fa7ed3c
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
946722e465
Revert "dracut-emergency.service: do not start for "action_on_fail=continue""
...
This reverts commit b78e6ac2c3
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
a95a727fdc
Revert "systemd/emergency.service: do not run for action_on_fail=continue"
...
This reverts commit dcae873414
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
927d1e28c9
Revert "rename kernel command line param action_on_fail to rd.action_on_fail"
...
This reverts commit 391d605790
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
74c9fb947b
Revert "Change the implementation of action_on_fail"
...
This reverts commit d2765b5175
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
Mei Liu
dcc2a4344b
Add awk and getopt as dependencies of znetconf
...
znetconf command is part of s390utils-base package. It depends on
awk and getopt.
This patch is used to fix the following error:
dracut:/#
znetconf -c
/usr/sbin/znetconf: line 70: awk: command not found
/usr/sbin/znetconf: line 1138: getopt: command not found
Signed-off-by: Mei Liu <liumbj@linux.vnet.ibm.com>
9 years ago
Harald Hoyer
ed92ecaa3c
iscsi: only systemctl try-restart iscsid, if systemd is used
9 years ago
Harald Hoyer
98e9db2755
iscsi/iscsiroot.sh: put variables in quotes
...
best practice
9 years ago
Harald Hoyer
35a666d02a
dracut-systemd/rootfs-generator.sh: s/RequiresOverridable/Requires
...
RequiresOverridable will be deprecated
9 years ago
Harald Hoyer
5b43377d74
network/ifup.sh: skip empty nameserver values
...
(cherry picked from commit e658251173
)
9 years ago
Harald Hoyer
ecdee70c48
base/dracut-lib.sh:getargs() don't return 1 for empty values
...
getargs() is only used with real values and not booleans.
So, return the values only.
(cherry picked from commit d1f7f2ac04
)
9 years ago
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
79cb273dc0
iscsi/parse-iscsiroot.sh: correct handling if netroot isn't set
...
corrects bfe65f913a
(cherry picked from commit 7fd112f20e
)
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
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