Philippe Seewer
98f25e9694
Add simple STP timeout handler
...
This patch adds STP timeout error handling with arping. It's rather
simple since it only cares about the primary interface and blindly
assumes that if no gateway is available the root server is on the
same subnet.
16 years ago
Philippe Seewer
d92ca28b16
Get rid of hostname utility
...
dracut doesn't really need a utility to set the hostname. It only
saves a few ks of space, but every bit is good.
16 years ago
Seewer Philippe
d1dd6bb746
Be a bit more optimistic when setting mtus
...
The usual approach to setting mtus is to set the interface down,
set the mtu then set the interface back up again. Modern hardware
and/or drivers may support setting this on the fly, so we try
this and fall back to the old behaviour it it doesn't work.
In addition this patch only allows mtus greater than 576, this is
taken from debian/ubuntu dhclient-script.
16 years ago
Harald Hoyer
bf87d252f3
network: wait for interfaces to come up, before proceeding
16 years ago
Harald Hoyer
8f397a9be7
base: add missing loginit
16 years ago
Harald Hoyer
ec01ab23fb
dmsquash: use info() and die() rather than echo
16 years ago
Harald Hoyer
4592b6983a
base: add logger for rdinitdebug
...
initlog logs to /init.log /dev/kmsg and /dev/console
16 years ago
Harald Hoyer
a0e44f97bd
iscsi/iscsiroot: remove redirection on rdnetdebug
...
iscsiroot is now executed in the initqueue
16 years ago
Harald Hoyer
de439e24d7
base/init: stop udev exec queue before killing it
16 years ago
Harald Hoyer
187d04ccb0
syslog: use initqueue to start syslog
16 years ago
Harald Hoyer
f214273fd6
nfs/nfsroot: do not redirect output on rdnetdebug
...
nfsroot is now in the initqueue
16 years ago
Harald Hoyer
52aeb3f312
base/dracut-lib: add setdebug
...
do not clutter rdinitdebug output with getarg and getargs debug
16 years ago
Harald Hoyer
d84c1df906
nbd/nbdroot: add better check if nbd0 is ready to be mounted
16 years ago
Harald Hoyer
a1dd79d4fe
network/netroot: remove flock
...
netroot is now in the initqueue
16 years ago
Harald Hoyer
0519556070
network/netroot: do not redirect output on rdnetdebug
...
netroot is now in the initqueue
16 years ago
Harald Hoyer
d64d04df39
nbd/nbdroot: do not redirect debug output on rdnetdebug
...
nbdroot is now in the initqueue and rdinitdebug should cover that
16 years ago
Harald Hoyer
cf476dbc41
nbd/nbdroot: use udevsettle to wait for /dev/nbd0
...
nbdroot is now in the initqueue, so we can use udevsettle
16 years ago
Harald Hoyer
8bfed103d8
mdraid: do not cleanup on auto assembly with mdadm.conf
16 years ago
Harald Hoyer
e9b6e4e839
nbd: finish on /dev/root rather than on nbd0
16 years ago
Harald Hoyer
1dc53cfd1e
nfs: specify nfs version 3 explicitly and retry with nfs version 2
16 years ago
Harald Hoyer
f57b5bc735
network: move netroot to initqueue
...
Schedule netroot for the initqueue inside ifup and dhclient.
16 years ago
Harald Hoyer
0e0031dc61
init: start udevd with --resolve-names=never
16 years ago
Harald Hoyer
2168327bfa
init: mount /dev/shm
16 years ago
Harald Hoyer
99fd62e3be
dm/lvm: make usage of new udev event rules optionally
16 years ago
Harald Hoyer
0cded44025
95dasd: add dasd_diag_mod module
16 years ago
Harald Hoyer
ffe53c91c5
95dasd: use 'uname -m' instead of 'arch'
16 years ago
Harald Hoyer
9a2860a3ee
95dasd: fixed typo in modules.conf generation
16 years ago
Harald Hoyer
896199c652
95dasd: do not install zfcp kernel module
16 years ago
Harald Hoyer
5fcc6b4a0a
rename 95s390 to 95dasd
16 years ago
Harald Hoyer
678b3605e8
dmraid: add missing dso
16 years ago
Harald Hoyer
b9c4654a63
devicemapper: add dmeventd and new rules for device mapper
16 years ago
Warren Togami
845dd50275
Removing umount appears to be a mistake, it seems to have been OK prior.
16 years ago
Warren Togami
23aa204856
Fix LiveCD boot regression caused by bf55e2c5d3
...
FIXME: There is still something wrong with this boot where it wants to use umount, but doing so breaks live boot.
16 years ago
Harald Hoyer
8eb16b0827
selinux: bail out if policy could not be loaded and selinux=0 not
...
specified
16 years ago
Harald Hoyer
fc1abcfa1f
dmsquash-live: add initqueue-finished
16 years ago
Harald Hoyer
c53acc3015
lvm: add rd_NO_LVMCONF
16 years ago
Harald Hoyer
7a34efa5c4
md/dm/lvm: install pre-pivot cleanup hooks only if actually needed
...
- removed dmraid cleanup
- only call lvm cleanup, if no lvm.conf provided
- copy over lvm.conf by default
- add --nolvmconf --lvmconf parameters
16 years ago
Harald Hoyer
2727e45b43
kernel-modules: force install of scsi_wait_scan in hostonly mode
16 years ago
Hans de Goede
d6a5b04043
Recognize nodmraid and noiswmd kernel cmdline options
...
Recognize nodmraid and noiswmd kernel cmdline options, for anaconda /
rc.sysinit / mkinitrd compatibility.
16 years ago
Hans de Goede
1de9edc06e
Do not stop / start udev exec-queue around "mdadm -As --run"
...
When assembling containers + embedded arrays from mdadm.conf,
mdadm needs the /dev/md# node for the container to assemble the
arrays within the container. Stopping the udev exec queue, results in
this node not getting created and mdadm failing to online the
arrays within the container.
Not having stop / start udev exec-queue around "mdadm -As --run" should
be safe as the exact same command is run from rc.sysinit without
any queue locking.
16 years ago
Harald Hoyer
0f7e10cef4
mdraid: save state dir for mdmon/mdadm for the real root
16 years ago
Harald Hoyer
689f9b8af7
create /var/run in 99base
16 years ago
Harald Hoyer
24bac034d1
65-md-incremental-imsm.rules: check if md raid is already running
16 years ago
Harald Hoyer
094097fab3
lvm/dm/md: switch from lockfiles to $sys/$devpath/holders/*
...
This is a more sane solution, than ignoring subsequent "change" events.
The only danger is that we could loop, if a lvm scan triggers a broken
md partition, which triggers a broken PV and so on.
Better fix the scanning tools, not to emit change events for devices,
if no action was taken.
16 years ago
Hans de Goede
04a8f224c1
Add ifname= argument for persistent netdev names
...
ifname=<interface>:<MAC>
Assign network device name <interface> (ie eth0) to the NIC
with MAC <MAC>.
Note that if you use this option you *must* specify an ifname=
argument for all interfaces used in ip= or fcoe= arguments
16 years ago
Harald Hoyer
597839331c
dmraid: use and install kpartx for dmraids
16 years ago
Hans de Goede
26b72485cf
90dmraid: use kpartx to scan for partitions
16 years ago
Harald Hoyer
7dbaf59ccf
10rpmversion/install: fix non-rpm install
16 years ago
Harald Hoyer
95cf0a8803
10rpmversion,dracut.spec: generate version file and install it
16 years ago
Harald Hoyer
1dd5bc3fba
add udevproperty() to dracut-lib and use it
...
newer versions of udev use --property instead of --env
16 years ago