Michal Soltys
5f6a71b38a
90mdraid: containers are not runnable
...
Remove whole "start a container logic".
Containers once assembled, always remain in 'inactive' state.
Any attempt to run a container with mdadm -IR is a no-op, and any
attempt with just mdadm -R ends with an error.
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Michal Soltys
e3e5128cf2
90mdraid: adjust stock mdadm udev rules
...
Currently shipped mdadm rules incrementally assemble all imsm and native
raids, and do so unconditionally. This causes few issues:
- fine-grained controls in 65-md* are shadowed - for example,
mdadm.conf's presence tests or uuid checks
- 90dmraid might also conflict with 90mdraid, if user prefers the former
to handle containers
- possibly other subtle issues
This patch adjusts the behaviour.
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Harald Hoyer
6d385c7111
mount securityfs in a seperate dracut module
14 years ago
Harald Hoyer
16457c869d
mount securityfs in a seperate dracut module
14 years ago
Harald Hoyer
d63fdc1198
99base/init: mount securityfs with source "securityfs" instead of dest
14 years ago
Harald Hoyer
ca8d4e8933
Do not use /run/udev/rules.d for udev rules
...
for rules, which should not be called in the real root.
Stale rules can cause this:
https://bugzilla.redhat.com/show_bug.cgi?id=734096
14 years ago
Harald Hoyer
6d82a0470e
99base/init: remove /dev/root helper symlink
...
Any tool relying on /dev/root has to be fixed.
14 years ago
Harald Hoyer
e41e5b78c6
90dmsquash-live: do not symlink to /dev/live
...
/dev/live should not be used anyway
14 years ago
Harald Hoyer
baa5c11363
dmsquash-live-root: load filesystem modules before mounting loop images
...
might prevent https://bugzilla.redhat.com/show_bug.cgi?id=735199
14 years ago
Harald Hoyer
380b8b516e
dmsquash-live-root: use blkid to determine fstype of images
...
prevents:
dracut: FATAL: cannot mount live image (unknown filesystem type)
https://bugzilla.redhat.com/show_bug.cgi?id=735199
14 years ago
Harald Hoyer
86880b8ff7
99base/init: removed cdrom polling reset code
...
This is done globally now.
14 years ago
Harald Hoyer
59f288ce63
dracut: cp with sparse
14 years ago
Harald Hoyer
dffb93feaf
99base/init: do not fail, when importing the original kernel environment
14 years ago
John Reiser
f9708da223
instmods: factor out egrep of "FATAL: Module .* not found"
14 years ago
John Reiser
0024702fe7
instmods: sanity for _mpargs
14 years ago
John Reiser
881eda695e
instmods: get filenames from stdin if no args; use it
...
Use bash "[[ string =~ pattern ]]" instead of "egrep -q".
Replace control-dominated serial fondling
for var in $(proc1); do proc2 var; done
with data-dominated parallel pipeline
proc1 | while read var; do proc2 var; done
Together this is a large savings.
[harald@redhat.com: fixed network kernel module filter]
14 years ago
John Reiser
e6024e0030
install_kmod_with_fw: make fast case faster
14 years ago
John Reiser
ceebd9ac76
filter_kernel_modules is a specialized filter_kernel_modules_by_path
14 years ago
John Reiser
3f590c7840
inst_simple, inst_dir: make fast case faster
...
This small stuff saves 1.7% per dropped statement during "dracut --profile".
Fixing the comment about /lib -> lib64 is REQUIRED!
14 years ago
Harald Hoyer
f063d0e89f
95udev-rules: add input_id
14 years ago
Harald Hoyer
5f06f0c367
dracut-functions: hmac checksum files can be symlinks, too
...
use inst() instead of inst_simple() to install the hmac files
14 years ago
Harald Hoyer
1e2f60993f
99base/init: move switch_root breakpoint to a later point in the script
14 years ago
Harald Hoyer
ed42e64cfc
99base/init: save and restore environment given from the kernel
14 years ago
Harald Hoyer
2c0b5281f5
90crypt/parse-crypt.sh: also accept the beginning of the LUKS UUID
...
2e0c003435
introduced a too strict test
for LUKS UUIDs
14 years ago
John Reiser
f4ca564ba6
build initramfs: unclear _mpargs in instmods()
...
The local variable _mpargs in function instmods() in file dracut-functions
looks peculiar. The documentation is non-existent, but still ...
First, $_mpargs is not passed to modprobe via for_each_kmod_dep.
This is strange because my guess is that "_mpargs" means
"extra arguments for modprobe".
Second, the leading "--" will be lopped when a leading pathname
is stripped via
_mod=${_mod##*/}
It seems to me that a leading "--" should inhibit modification.
Here's the corresponding patch to current HEAD (from dracut-013.)
14 years ago
Harald Hoyer
ab55a117e2
99base/init: only poll cdroms, if the kernel does support autopolling
14 years ago
Harald Hoyer
a3381af1de
50plymouth: add plymouth.enable kernel command line option
14 years ago
Harald Hoyer
82dfee9960
dracut.spec: fixed rhel/fedora version checks
14 years ago
Harald Hoyer
1073b9f93a
90mdraid/65-md-incremental-imsm.rules: incremental run to settled
...
move incremental run to settled queue again
https://bugzilla.redhat.com/show_bug.cgi?id=732967
14 years ago
Harald Hoyer
8cf621ffd9
dracut-functions: fix inst_dir() for non-absolute dirs
14 years ago
Przemysław Rudy
2e0c003435
luks key on ext dev - wait for luks
...
This really waits for the luks mapper device, so luksOpen can do it job
14 years ago
Amadeusz Żołnowski
1f735f82cc
crypt: changed cmdline arg name from rd.luks.tout to rd.luks.key.tout
14 years ago
Przemysław Rudy
c70f6415f8
luks key on ext dev - wait for luks
...
This asks for the luks passphrase if key is not found for defined time (if defined with rd.luks.tout cmd line):
modules.d/90crypt/cryptroot-ask.sh | 21 ++++++++++++++++++---
modules.d/90crypt/parse-crypt.sh | 5 +++--
2 files changed, 21 insertions(+), 5 deletions(-)
14 years ago
Amadeusz Żołnowski
07aeaae356
livenet: take into account other ca-bundle paths; use inst_any for that
14 years ago
Amadeusz Żołnowski
3378a54f15
dracut-functions: new function: inst_any [-d dest] f1 [f2 [f3 ...]]
14 years ago
Leho Kraav
641d84a4ec
99base: whitespace fix
14 years ago
Amadeusz Żołnowski
581dd40e73
90crypt: ask_for_password pings plymouthd
...
If plymouthd is not started, ask_for_password shouldn't try to prompt
for password with GUI and should use text prompt instead.
14 years ago
Harald Hoyer
a76dc27801
dracut-functions: speed up inst_dir()
14 years ago
John Reiser
bc313467bd
build initramfs: prelink --undo /sbin/*
...
Fix a typo (omitting the 's' in "sbin") which caused
"prelink --undo" twice on /bin/*, and
"prelink --undo" omitted for /sbin/*.
14 years ago
Harald Hoyer
d619fb5e1c
dracut: unset LD_LIBRARY_PATH
...
LD_LIBRARY_PATH is not set in the initramfs, so it should not be set
while finding our libraries.
14 years ago
Harald Hoyer
d670e21998
dracut-functions: s/emergency-shutdown/shutdown-emergency/g
14 years ago
Harald Hoyer
ea8e543bb8
add TEST-16-DMSQUASH
...
This is a test for Fedora LiveCDs created via livecd-tools
14 years ago
Harald Hoyer
e7b8fe03e8
profile.py: parse the output of "dracut --profile" for profiling
14 years ago
Will Woods
fb216d1a7c
fix live crash with livenet installed
...
parse-livenet.sh shouldn't mess with $root unless it finds a valid URL.
14 years ago
Harald Hoyer
566dab2ac1
90dmsquash-live/dmsquash-live-root: include fs_lib.sh for det_fs()
...
https://bugzilla.redhat.com/show_bug.cgi?id=730579
14 years ago
Harald Hoyer
4a049ce556
add x-bit to *.sh
14 years ago
Harald Hoyer
e9519a397f
version 013
14 years ago
Harald Hoyer
2ae52e649b
dracut-functions: fixed inst_dir for symbolic links
14 years ago
Harald Hoyer
57258a2c64
dracut: add "--profile" option for profiling
14 years ago
Harald Hoyer
1610a566c6
dracut-functions: use "type -P" for find_binary()
14 years ago