Harald Hoyer
85fd75f91f
add rd_retry kernel command line parameter
...
rd_retry=<seconds to retry in the main loop>
speeds up internal test suite
15 years ago
Harald Hoyer
3409c2377f
loginit: turn off debugging
15 years ago
Harald Hoyer
4058d85cb6
init: do not redirect to -
15 years ago
Harald Hoyer
2937028c54
init: fix cdrom polling loop
15 years ago
Harald Hoyer
1d149cd039
dracut-lib: turn of shell debug mode in strstr and getarg(s)
15 years ago
Harald Hoyer
cd83e4c54d
init: trigger with --action=add
15 years ago
Harald Hoyer
0e0bf83057
init: add hacky cdrom polling mechanism
15 years ago
Andrey Borzenkov
b63fd4d905
Pass init argument(s) to real init
...
Common wisdom to enter single user on Linux is to edit command
line and add "single". This was not possible because switch_root
was always called with empty init arguments. Collect them from
command line and pass to real init when switching root.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
15 years ago
Harald Hoyer
9232cab470
fix IFS restoring
15 years ago
Harald Hoyer
a15935c143
selinux: fix "selinux=0" handling
15 years ago
Harald Hoyer
7800cc247e
fix selinux disabled state
...
Execute load-policy when the config file contains SELINUX=disabled.
15 years ago
Harald Hoyer
c98bcec89c
add preliminary IPv6 support
15 years ago
Harald Hoyer
bab749e23e
init: dashified $[] -> $(())
15 years ago
Harald Hoyer
97c97ff6d5
base: fix selinux handling if .autorelabel is present
...
rhbz#557744
15 years ago
Harald Hoyer
5db587d7c1
init: fixed emergency_shell argument parsing
15 years ago
Harald Hoyer
4bb570c9a4
dracut-lib: do not leave debug mode in getarg and getargs
15 years ago
Harald Hoyer
2dfdcbf4e7
dracut-lib: read multiple lines from $init/etc/cmdline
15 years ago
Luca Berra
b5664d5d02
base: improve emergency shell
...
for some unknown reason the emergency shell
starts with stderr closed, at first I even tought it was not working at
all, then I came up with this hack, which seems to work properly. I also
change the prompt to remind which step are we breaking to.
15 years ago
Luca Berra
17dcc1a801
base: do not force load policy if selinux is not installed at all
15 years ago
Harald Hoyer
695de8493d
dracut-lib: prevent double log output
15 years ago
Philippe Seewer
a68c99c94e
loginit: Fix shebang
15 years ago
Philippe Seewer
00da3293e2
initqueue: Remove trailing ;
...
dash -n complains about the trailing ';' and somehow I think this
really isn't needed.
15 years ago
Harald Hoyer
57c6b805ce
rootfs-block/mount-root: remount root with /etc/fstab filesystem options
15 years ago
Harald Hoyer
b26260a0b9
dracut-lib: fixed wait_for_if_up()
16 years ago
Harald Hoyer
f2a716d47c
base/init: make link /dev/fd, mount devpts,tmpfs with correct dev parm
16 years ago
Harald Hoyer
ac36d5db7e
base/init: kill loginit after one second of waiting
16 years ago
Harald Hoyer
8d0a55cfac
do not use init= arg as first argument
16 years ago
Harald Hoyer
16da29bf9d
99base/initqueue: make operations more atomic
16 years ago
Philippe Seewer
7a6e646c83
Move write-ifcfg to its own module
...
ifcfg config style is redhat specific, this should be in its own
module.
16 years ago
Philippe Seewer
a71f1b4917
Add multinic test suite
...
This is a start a test suite for the multinic support of dracut
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
4592b6983a
base: add logger for rdinitdebug
...
initlog logs to /init.log /dev/kmsg and /dev/console
16 years ago
Harald Hoyer
de439e24d7
base/init: stop udev exec queue before killing it
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
0e0031dc61
init: start udevd with --resolve-names=never
16 years ago
Harald Hoyer
2168327bfa
init: mount /dev/shm
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
689f9b8af7
create /var/run in 99base
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
Harald Hoyer
54a73cbb2b
dracut-lib.sh: change -f to -e to allow symlinks
16 years ago
Harald Hoyer
82b2189d01
initqueue-finished: fail also on empty queue
16 years ago
Harald Hoyer
4ce52970c0
initqueue: first remove the job, then execute it
16 years ago
Harald Hoyer
8238850caa
init: add initqueue-finished
...
/initqueue-finished/*.sh are scripts, which return != 0, if the main
loop still has pending jobs to do.
16 years ago
Harald Hoyer
600131fe85
selinux-loadpolicy: do not check for selinux config files
...
leave it up to load_policy
16 years ago
Harald Hoyer
247c9f70bf
init: fixed command line handling for /sbin/init and init=<custom init>
16 years ago
Harald Hoyer
233f79df99
selinux-loadpolicy.sh: also check for /etc/selinux/config
16 years ago
Harald Hoyer
6f0e469d79
selinux-loadpolicy: set initial ret=0
16 years ago
Harald Hoyer
0b2de1f895
99base/init: output more info()
16 years ago
Harald Hoyer
94eb3cf222
selinux-loadpolicy: do not mount /proc and /selinux
...
load_policy already does these things for us
16 years ago