Harald Hoyer
57937cf480
lvm: add tools for thin provisioning
...
https://bugzilla.redhat.com/show_bug.cgi?id=921235
12 years ago
Harald Hoyer
feaf30ffaa
network: wait for all required interfaces if "rd.neednet=1"
...
also set bootdev to the first configured interface, if missing
https://bugzilla.redhat.com/show_bug.cgi?id=801829
12 years ago
Harald Hoyer
dcae873414
systemd/emergency.service: do not run for action_on_fail=continue
...
same as for dracut-emergency.service
12 years ago
Harald Hoyer
32214acb3a
dmsquash-live/dmsquash-live-root.sh: add parameter rd.live.squashimg
...
rd.live.squashimg names the squash image in the rd.live.dir
and defaults to squashfs.img
https://bugzilla.redhat.com/show_bug.cgi?id=789036
https://bugzilla.redhat.com/show_bug.cgi?id=782108
12 years ago
Harald Hoyer
e64bcf5a99
kernel-modules/module-setup.sh: add hid-hyperv and hv-vmbus
12 years ago
Harald Hoyer
62cb52f431
base/dracut-lib.sh: export DRACUT_SYSTEMD and NEWROOT
12 years ago
dyoung@redhat.com
cf8b1b7853
selinux: load_policy script fix
...
chroot load_policy will use selinuxfs which should be mounted
in $NEWROOT/sys/fs/selinux for Fedora 19, but because there's
no $NEWROOT/sys/fs, so later process will fail.
Fixing this by bind mount /sys to $NEWROOT/sys.
Signed-off-by: Dave Young <dyoung@redhat.com>
12 years ago
Dan Horák
bc97e005fa
use system provides udev rule and initialization script
12 years ago
Baoquan He
679fa7ed3c
99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck
...
The fsck is ignored when replace emergency_shell with action_on_fail,
now add it.
Signed-off-by: Baoquan He <bhe@redhat.com>
12 years ago
Harald Hoyer
4f084f3ab5
fs-lib/module-setup.sh: add xfs_metadump
12 years ago
Harald Hoyer
af2716626a
kernel-modules/module-setup.sh: add nvme kernel module
...
apparently not caught by the block driver regexp
https://bugzilla.redhat.com/show_bug.cgi?id=910734
12 years ago
Harald Hoyer
6625c085ae
ifcfg/write-ifcfg.sh:
...
- fix ONBOOT for slaves
- set TYPE=Bond for bonding
https://bugzilla.redhat.com/show_bug.cgi?id=919001
12 years ago
Harald Hoyer
af2578562c
udev-rules/module-setup.sh: optionally install /etc/pcmcia/config.opts
...
https://bugzilla.redhat.com/show_bug.cgi?id=920076
12 years ago
Harald Hoyer
8099e7b1ba
crypt-loop/module-setup.sh: install loop kernel module
12 years ago
Harald Hoyer
0a3e348225
i18n/module-setup.sh: install default font latarcyrheb-sun16
12 years ago
Harald Hoyer
b78e6ac2c3
dracut-emergency.service: do not start for "action_on_fail=continue"
12 years ago
Dennis Schridde
cbfe65c2fe
[40network] Provide a hostname fallback function, in case there is no executable of this name
12 years ago
Harald Hoyer
284d62da81
ifcfg/write-ifcfg.sh: proper NAME the interfaces
...
https://bugzilla.redhat.com/show_bug.cgi?id=965842
12 years ago
Harald Hoyer
c6df70fb48
btrfs: include btrfs-zero-log in the initramfs
...
https://bugzilla.redhat.com/show_bug.cgi?id=963257
12 years ago
Harald Hoyer
1b8616adee
url-lib/url-lib.sh: turn off curl globbing
...
https://bugzilla.redhat.com/show_bug.cgi?id=907497
12 years ago
Harald Hoyer
639bd4873b
dracut.spec: put selinux for kdump crash file contexts
12 years ago
Kamil Rytarowski
e0904b27ff
Fix memory leak
12 years ago
Kamil Rytarowski
d9eff33ce2
Always check the return number of asprintf
...
asprintf prints to an allocated string. When successful, the
functions return the number of bytes printed. If memory allocation
wasn't possible, or some other error occurs, the function will return
-1.
Don't check strp as a result of asprintf, it's content may be undefined.
man 3 asprintf
12 years ago
Kamil Rytarowski
8974102f6b
Use consistiently termination code macros
...
Operate in install_all and install_one consequently on EXIT_SUCCESS
and EXIT_FAILURE termination code macros as they are meant to be
returned from these functions.
12 years ago
Kamil Rytarowski
599182b108
Introduce stricter type correctness
12 years ago
Kamil Rytarowski
6a736cc129
Fix parsing command line arguments
...
Adjust correctly the *optstring argument of getopt_long. Add support
for a missing option -v|--verbose and drop unknown options -D, -I and -L.
12 years ago
Baoquan He
15b93069bb
01fips/module-setup.sh: add libssl.so.10 to make kdump work with fips mode
...
FIPS can work well in 1st kernel, but failed in kdump kernel. the
libssl.so.10 and related hmac file are needed. Now add it and it
works.
Signed-off-by: Baoquan He <bhe@redhat.com>
12 years ago
Harald Hoyer
19b5c10963
dracut-functions.sh: clarify instmods() error message
12 years ago
Harald Hoyer
bcfbddefe1
don't add volatile swap partitions to host_devs
12 years ago
Harald Hoyer
780cb33741
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
12 years ago
Adam Williamson
8d7c07f191
don't specify "p" as a separator for dmraid arrays (RHBZ #966162 )
...
As per RHBZ #966162 , parted stopped unconditionally using "p" as a
separator for dmraid device names in version 3.1, so other things need
to fall in line with that convention now.
12 years ago
Harald Hoyer
fefd3f66f9
dracut.sh: degrade message about missing tools for stripping
...
warning -> info
https://bugzilla.redhat.com/show_bug.cgi?id=958519
12 years ago
Colin Guthrie
d57b8833c4
usrmount: Fix miss-detection of btrfs subvolumes.
...
This causes the root FS options to be incorrectly applied to to /usr
In some cases this can cause boot failure e.g. due to and XFS /usr
not supporting the 'acl' option from the ext4 root FS.
https://bugs.mageia.org/show_bug.cgi?id=9884
12 years ago
Harald Hoyer
9584c6ae90
zfcp: match udev rule against KERNEL=="zfcp"
...
zfcp_cfdc will go away in the future
tt
12 years ago
Harald Hoyer
021b2fddff
test: use grep option "-F" and install /etc/os-release
12 years ago
WANG Chao
b6f2e05819
_emergency_shell: Show current working directory correctly in shell.
...
When dropped to emergency shell, for example, use rd.break=pre-pivot,
the PS1 won't correctly show current directory we're in:
pre-pivot:/# cd /sysroot/
pre-pivot:/#
(still shows "/")
Let's take a look at PS1 variable:
(I'm adding prefix/suffix 'x' to make it clear):
pre-pivot:/# echo x${PS1}x
xpre-pivot:/# x
(PS1 isn't dynamic)
Regarding the current dracut code, it should be:
pre-pivot:/# cd /sysroot/etc
pre-pivot:/sysroot/etc#
With this patch:
pre-pivot:/# echo x${PS1}x
xpre-pivot:${PWD}# x
(Now PS1 is dynamic, it will show the directory correctly)
I tested for both normal boot and kdump boot.
Signed-off-by: WANG Chao <chaowang@redhat.com>
12 years ago
Harald Hoyer
3ed08d1e4d
dracut-install: make use of _cleanup_* macros
12 years ago
Harald Hoyer
26a077fc7e
fips: do not fail immediatly after loading the crypto modules
...
Fail only if tcrypt insmod failed.
12 years ago
Harald Hoyer
8461734ee4
dracut.sh: do not preunlink for fips mode
...
just install prelink and the cache files
12 years ago
Harald Hoyer
6f4c2dada4
fixed fips mode
...
- preserve timestamps
- copy /lib*/hmaccalc files
- run sha512hmac after kernel module loading
- add more fips kernel modules
12 years ago
Harald Hoyer
ab42fe38fd
fixup 3be5d63c2f
...
either test or []
12 years ago
Harald Hoyer
3be5d63c2f
shutdown: redirect output to /dev/console only if it exists
12 years ago
Harald Hoyer
b4dc22cab7
dracut-install: error out, if ldd reports no execution permission
...
This turns off lazy resolving on noexec mounted tmp directories.
https://bugzilla.redhat.com/show_bug.cgi?id=953426
12 years ago
Harald Hoyer
2b125c69cc
base/dracut-lib.sh: do not setdebug, if not in initramfs
12 years ago
Harald Hoyer
9268366cad
Makefile: remove dracut-version.sh on clean
12 years ago
Harald Hoyer
d0eedc4a5f
.gitignore: ignore more files
12 years ago
Harald Hoyer
4460416abc
lsinitrd.sh: do not output filename for a single file
12 years ago
Harald Hoyer
884e1cda7c
lsinitrd: drop use of "file"
12 years ago
Harald Hoyer
46a885bf9f
dracut-bash-completion.sh: file filename completion
12 years ago
Harald Hoyer
7dbca9be86
lsinitrd: add bash completion
12 years ago