Leho Kraav [Tue, 24 Jul 2012 12:08:54 +0000 (15:08 +0300)]
91crypt-loop: use initqueue for cleanup strategy
Leho Kraav [Tue, 24 Jul 2012 12:08:53 +0000 (15:08 +0300)]
91crypt-loop: open root device with a key inside encrypted loop container
Leho Kraav [Tue, 24 Jul 2012 12:08:52 +0000 (15:08 +0300)]
90crypt: enhance crypt-lib keydev mounting
Combining $keydev and $keypath should result in a unique, re-usable keydev
mountpoint. mkuniqdir doesn't seem to have any an advantage here and lacks
reusability. Is there ever a use case where these are true:
* there are more than one rd.luks.key=$keypath:$keydev
* one is actually different from the other
Leho Kraav [Tue, 24 Jul 2012 12:08:51 +0000 (15:08 +0300)]
90crypt: recognize .img as loop key container
Harald Hoyer [Tue, 24 Jul 2012 12:12:36 +0000 (14:12 +0200)]
get rid of "basename"
Harald Hoyer [Tue, 24 Jul 2012 12:08:32 +0000 (14:08 +0200)]
dracut-functions.sh: small error print correction
Harald Hoyer [Tue, 24 Jul 2012 09:52:28 +0000 (11:52 +0200)]
i18n/10-console.rules: move console_init to the initqueue
Harald Hoyer [Mon, 23 Jul 2012 13:40:20 +0000 (15:40 +0200)]
kernel-modules/module-setup.sh: just optionally install all modprobe.d
Harald Hoyer [Mon, 23 Jul 2012 13:36:58 +0000 (15:36 +0200)]
lvm/lvm_scan.sh: udevadm settle after lvm scan
Harald Hoyer [Mon, 23 Jul 2012 09:38:36 +0000 (11:38 +0200)]
kernel-modules/module-setup.sh: fix modprobe.d install
if /lib/modprobe.d does not exist, it errors with:
find: `/lib/modprobe.d/': No such file or directory
Harald Hoyer [Mon, 23 Jul 2012 09:10:13 +0000 (11:10 +0200)]
add documentation for systemd services in the initramfs
Harald Hoyer [Sat, 21 Jul 2012 11:03:56 +0000 (13:03 +0200)]
dracut.sh: add -N option for --no-hostonly
Harald Hoyer [Sat, 21 Jul 2012 10:55:23 +0000 (12:55 +0200)]
AUTHORS: update
Harald Hoyer [Sat, 21 Jul 2012 10:52:01 +0000 (12:52 +0200)]
dracut.8: add more description about calling dracut
Harald Hoyer [Fri, 20 Jul 2012 12:44:12 +0000 (14:44 +0200)]
resume: move resume in the initqueue/finished hook
this ensures, that resume is called as soon as possible
Harald Hoyer [Fri, 20 Jul 2012 11:11:21 +0000 (13:11 +0200)]
Version 022
Harald Hoyer [Fri, 20 Jul 2012 11:10:58 +0000 (13:10 +0200)]
dracut-functions.sh: fixed host-only kernel module bug
Harald Hoyer [Fri, 20 Jul 2012 09:46:48 +0000 (11:46 +0200)]
Version 021
Harald Hoyer [Fri, 20 Jul 2012 09:34:40 +0000 (11:34 +0200)]
dracut: add option --kver=<kernel-version>
Harald Hoyer [Fri, 20 Jul 2012 09:20:12 +0000 (11:20 +0200)]
testsuite: fixups and color
Harald Hoyer [Fri, 20 Jul 2012 07:11:53 +0000 (09:11 +0200)]
Turn on systemd again and Conflict < systemd-187
Harald Hoyer [Thu, 19 Jul 2012 11:35:50 +0000 (13:35 +0200)]
dracut-functions.sh: set LC_MESSAGES=C not LC_ALL
Harald Hoyer [Thu, 19 Jul 2012 11:34:51 +0000 (13:34 +0200)]
Makefile: set LC_MESSAGES=C ... not LANG
Harald Hoyer [Wed, 18 Jul 2012 13:54:08 +0000 (15:54 +0200)]
systemd/module-setup.sh: removed initctl services
Harald Hoyer [Wed, 18 Jul 2012 12:08:50 +0000 (14:08 +0200)]
systemd/module-setup.sh: removed shutdownd
we don't need timed shutdowns in the initramfs
Harald Hoyer [Tue, 17 Jul 2012 16:05:39 +0000 (18:05 +0200)]
test/TEST-04-FULL-SYSTEMD: add systemd to modules
Harald Hoyer [Tue, 17 Jul 2012 16:04:44 +0000 (18:04 +0200)]
systemd: stop udevd correctly
Harald Hoyer [Tue, 17 Jul 2012 11:05:11 +0000 (13:05 +0200)]
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
This reverts commit
a43f97c4e35d0d9c7e6e315e11c909e86936e1cc.
Harald Hoyer [Tue, 17 Jul 2012 09:09:51 +0000 (11:09 +0200)]
dracut.conf.d/fedora.conf.example: disable systemd for now
Harald Hoyer [Tue, 17 Jul 2012 09:09:17 +0000 (11:09 +0200)]
systemd/initrd-switch-root.service: call switch-root with --no-block
Harald Hoyer [Tue, 17 Jul 2012 09:06:25 +0000 (11:06 +0200)]
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
Milan Broz [Mon, 16 Jul 2012 14:28:47 +0000 (16:28 +0200)]
Fix fips module list.
If dracut is build only with fips/fips-aesni (no crypto module),
FIPS mode fails because of missing GCM modules.
Just add proper modules to list (kernel have both maker as FIPS compliant already).
Signed-off-by: Milan Broz <mbroz@redhat.com>
Harald Hoyer [Mon, 16 Jul 2012 10:21:56 +0000 (12:21 +0200)]
dracut-functions.sh: output more info, if dependency modules are omitted
Harald Hoyer [Mon, 16 Jul 2012 08:33:27 +0000 (10:33 +0200)]
dracut.spec: add suse version ifdefs
Harald Hoyer [Mon, 16 Jul 2012 08:13:53 +0000 (10:13 +0200)]
Fixes for systemd-187, which does the right thing for switch-root
Harald Hoyer [Thu, 12 Jul 2012 08:20:28 +0000 (10:20 +0200)]
kernel-modules/module-setup.sh: add hid_generic to kernel modules
Harald Hoyer [Thu, 12 Jul 2012 06:59:43 +0000 (08:59 +0200)]
test/TEST-04-FULL-SYSTEMD: default to basic.target and output more debug
Harald Hoyer [Thu, 12 Jul 2012 06:56:36 +0000 (08:56 +0200)]
systemd/service-to-run.sh: do not copy the target subdirs
Harald Hoyer [Thu, 12 Jul 2012 06:56:17 +0000 (08:56 +0200)]
systemd/initrd-switch-root.service: add some more dependencies
Harald Hoyer [Thu, 12 Jul 2012 05:01:27 +0000 (07:01 +0200)]
watchdog/watchdog-stop.sh: forgot to add script
Harald Hoyer [Wed, 11 Jul 2012 14:36:05 +0000 (16:36 +0200)]
systemd/initrd-switch-root.service: add back "--force" to switch-root
otherwise systemd does umount /run et.al.
Harald Hoyer [Wed, 11 Jul 2012 13:47:10 +0000 (15:47 +0200)]
install/dracut-install.c: check for empty or "/" destdir
Harald Hoyer [Wed, 11 Jul 2012 13:25:49 +0000 (15:25 +0200)]
dracut.sh: for --include copy also the symbolic links
Harald Hoyer [Wed, 11 Jul 2012 13:25:30 +0000 (15:25 +0200)]
systemd: fixed initrd-switch-root.service
Harald Hoyer [Wed, 11 Jul 2012 13:23:21 +0000 (15:23 +0200)]
test: silence "make all"
Harald Hoyer [Wed, 11 Jul 2012 13:15:41 +0000 (15:15 +0200)]
test/TEST-04-FULL-SYSTEMD: full test with systemd and /usr mount
Harald Hoyer [Wed, 11 Jul 2012 08:00:10 +0000 (10:00 +0200)]
dracut-shutdown.service: s/reboot.service/systemd-reboot.service/
Harald Hoyer [Wed, 11 Jul 2012 07:33:32 +0000 (09:33 +0200)]
test: add support for: make V=1 TESTS="01 20 40" check
$ sudo make V=1 clean check
now runs the testsuite in verbose mode
$ sudo make TESTS="01 20 40" clean check
now only runs the 01, 20 and 40 tests.
Dave Young [Wed, 11 Jul 2012 05:08:18 +0000 (13:08 +0800)]
nfs: install modprobe config file
install nfs modprobe config file
For nfs4, in case nfs.ko is not loaded mount.nfs4 will try to load
nfs4.ko instead of nfs.ko. Fedora nfs-utils creates a lib/modprobe.d/nfs.conf
in which there's below alias:
alias nfs4 nfs
Dracut also need this file to auto load nfs kernel module.
Tested booting to a fedora 17 nfsroot share.
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Wed, 11 Jul 2012 06:42:21 +0000 (08:42 +0200)]
kernel-modules/module-setup.sh: also install /lib/modprobe.d/*.conf
In theory we should only install /lib/modprobe.d/*.conf and only for
host-only the /etc/modprobe.d.
Harald Hoyer [Wed, 11 Jul 2012 06:41:31 +0000 (08:41 +0200)]
systemd/initrd-switch-root.target: add ConditionPathExist
Harald Hoyer [Wed, 11 Jul 2012 06:40:45 +0000 (08:40 +0200)]
test/*/server-init.sh: redirect stdin,out,err to /dev/console
Harald Hoyer [Tue, 10 Jul 2012 14:20:23 +0000 (16:20 +0200)]
systemd: install all dracut units in /etc and let the generator cp to /run
All custom units, which should appear in the system later on should be
installed in /etc/systemd. They should have a guard like:
ConditionPathExists=/etc/initrd-release
So, we can later query via systemctl:
$ systemctl status dracut-initqueue.service
dracut-initqueue.service - Dracut initqueue hook
Loaded: loaded (/run/systemd/system/dracut-initqueue.service; enabled-runtime)
Active: inactive (dead) since Tue, 10 Jul 2012 16:01:22 +0200; 1min 37s ago
start condition failed at Tue, 10 Jul 2012 16:01:23 +0200; 1min 36s ago
Main PID: 173 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dracut-initqueue.service
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Checking, if btrfs device complete
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Remounting /dev/disk/by-uuid/
ade13292-d23f-45be-b732-
fa9a391a56b0 with -o compress=lzo,ssd,rw
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Mounted root filesystem /dev/sda3
Harald Hoyer [Tue, 10 Jul 2012 14:19:56 +0000 (16:19 +0200)]
systemd/initrd-switch-root.service: stop journald, rather than restart
Harald Hoyer [Tue, 10 Jul 2012 08:53:28 +0000 (10:53 +0200)]
install/dracut-install.c: redirect stderr to stdout and skip loader
skip if ldd was run on the loader
Harald Hoyer [Tue, 10 Jul 2012 08:32:43 +0000 (10:32 +0200)]
TEST-01-BASIC: enable selinux
Harald Hoyer [Tue, 10 Jul 2012 07:17:48 +0000 (09:17 +0200)]
TEST-01-BASIC: turn on systemd debugging
Harald Hoyer [Mon, 9 Jul 2012 18:49:24 +0000 (20:49 +0200)]
plymouth: add plymouth-wait-quit.service to initrd
Harald Hoyer [Mon, 9 Jul 2012 18:46:20 +0000 (20:46 +0200)]
systemd service cleanup
Harald Hoyer [Mon, 9 Jul 2012 18:44:48 +0000 (20:44 +0200)]
TEST-99-RPM test trap
Harald Hoyer [Mon, 9 Jul 2012 15:06:51 +0000 (17:06 +0200)]
resume: move resume process to initqueue
Harald Hoyer [Mon, 9 Jul 2012 14:28:47 +0000 (16:28 +0200)]
test: new test TEST-99-RPM
This test installs the dracut rpm together with the kernel in an
installroot. rpm -Va and rpm -qf are used, to ensure nothing modified
files in the real root.
Harald Hoyer [Mon, 9 Jul 2012 13:30:15 +0000 (15:30 +0200)]
test: export initdir
Colin Guthrie [Sat, 7 Jul 2012 15:48:01 +0000 (16:48 +0100)]
plymouth: Use latest plymouth's populate script.
The latest plymouth no longer relies on dracut to provide functions
needed to install binaries/libs so the check for a variable name
no longer works and the old, built-in script is used instead thus
breaking the new drm and framebuffer plymouth module installation.
Harald Hoyer [Mon, 9 Jul 2012 10:41:56 +0000 (12:41 +0200)]
Makefile: do not install service from 98systemd. They are copied to /run
Dave Young [Mon, 9 Jul 2012 06:56:35 +0000 (14:56 +0800)]
dhclient initqueue hook fix
dhclient initqueue hook fix
setup_net is scheduled in initqueue, sometimes it does not get chance to run
So the default route will not be set properly
Add a check in initqueue/finished to resolve this issue.
Signed-off-by: Dave Young <dyoung@redhat.com>
Dave Young [Mon, 9 Jul 2012 06:57:11 +0000 (14:57 +0800)]
02caps: do not create /bin/sh link
02caps: do not create /bin/sh link
caps.sh use !/bin/bash explictly, so no need to ln -sf bash /bin/sh
OTOH, 00dash will create the symlink /bin/sh, 99base will create it if
there's no /bin/sh symlink. It looks bad to creat /bin/sh in other modules.
If a script want to use bash as command interpreter it should use !/bin/bash
or !/bin/sh in case dash is not installed.
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Mon, 9 Jul 2012 08:16:33 +0000 (10:16 +0200)]
TEST-30-ISCSI: convert to ext3
Harald Hoyer [Mon, 9 Jul 2012 08:12:04 +0000 (10:12 +0200)]
systemd-udev-trigger.service and systemd-udev-settle.service have no "d"
Harald Hoyer [Mon, 9 Jul 2012 08:04:35 +0000 (10:04 +0200)]
require systemd >= 186
Harald Hoyer [Mon, 9 Jul 2012 08:02:35 +0000 (10:02 +0200)]
dracut.sh: corrected error messages, if mktemp failed
Harald Hoyer [Mon, 9 Jul 2012 08:02:04 +0000 (10:02 +0200)]
dracut-functions.sh: bail out, if $initdir is not set
Harald Hoyer [Mon, 9 Jul 2012 06:21:00 +0000 (08:21 +0200)]
dracut.conf.d/fedora.conf.example: removed readonly from prefix
Harald Hoyer [Fri, 6 Jul 2012 12:33:53 +0000 (14:33 +0200)]
systemd/module-setup.sh: also include systemd-udevd* units
systemd-udev* was renamed to systemd-udevd*
Harald Hoyer [Fri, 6 Jul 2012 12:22:10 +0000 (14:22 +0200)]
dracut.spec,dracut.conf.d/fedora.conf.example: no dash
hard remove dash from supported modules
we do not want to have anything to do with dash bugs
Harald Hoyer [Fri, 6 Jul 2012 12:06:05 +0000 (14:06 +0200)]
fixed bash/sh requirements
Harald Hoyer [Fri, 6 Jul 2012 11:49:03 +0000 (13:49 +0200)]
systemd: check, that --prefix= does not contain /run
systemd will mount /run before dracut has a chance to copy over the
original content.
Harald Hoyer [Fri, 6 Jul 2012 11:48:05 +0000 (13:48 +0200)]
dracut.sh: keep vim syntax highlighting happy
Harald Hoyer [Fri, 6 Jul 2012 10:57:17 +0000 (12:57 +0200)]
network/ifname-genrules.sh: check for multiple ifname= lines
Harald Hoyer [Fri, 6 Jul 2012 10:42:06 +0000 (12:42 +0200)]
mkinitrd.8.asc: mark paragraph as important
Harald Hoyer [Fri, 6 Jul 2012 10:31:31 +0000 (12:31 +0200)]
network: do not rename other interfaces and document the ifname usage
We do not support renaming in the kernel namespace anymore (as udev does
that not anymore). So, if a user wants to use ifname, he has to rename
to a custom namespace. "eth[0-9]+" is not allowed anymore.
Harald Hoyer [Fri, 6 Jul 2012 10:30:50 +0000 (12:30 +0200)]
dracut.cmdline.7.asc: fixup
Harald Hoyer [Fri, 6 Jul 2012 10:30:03 +0000 (12:30 +0200)]
dracut.8.asc: fixup NOTE sections
Harald Hoyer [Fri, 6 Jul 2012 10:29:44 +0000 (12:29 +0200)]
dracut.asc: add lsinitrd and mkinitrd
Harald Hoyer [Fri, 6 Jul 2012 10:28:17 +0000 (12:28 +0200)]
systemd: exit with sane state
Harald Hoyer [Thu, 5 Jul 2012 10:54:13 +0000 (12:54 +0200)]
network: factor out parse_ifname_opts() for ifname-genrules
Harald Hoyer [Thu, 5 Jul 2012 12:30:45 +0000 (14:30 +0200)]
install user/group adm for journal
Harald Hoyer [Thu, 5 Jul 2012 08:42:22 +0000 (10:42 +0200)]
fips: add instmods silent check mode "-c -s"
Harald Hoyer [Thu, 5 Jul 2012 08:28:56 +0000 (10:28 +0200)]
i18n/module-setup.sh: s/error/info if no keymap is configured
https://bugzilla.redhat.com/show_bug.cgi?id=836418
Harald Hoyer [Thu, 5 Jul 2012 08:11:27 +0000 (10:11 +0200)]
fips: change module list
Harald Hoyer [Thu, 5 Jul 2012 04:57:11 +0000 (06:57 +0200)]
Makefile: mkinitrd man page install typo
Harald Hoyer [Tue, 3 Jul 2012 16:24:21 +0000 (18:24 +0200)]
lsinitrd.sh: fixed version file extraction
Harald Hoyer [Tue, 3 Jul 2012 16:23:59 +0000 (18:23 +0200)]
lsinitrd.sh: get rid of awk call
Harald Hoyer [Tue, 3 Jul 2012 16:23:27 +0000 (18:23 +0200)]
lsinitrd.sh: print usage for -?, -h
Harald Hoyer [Tue, 3 Jul 2012 16:22:29 +0000 (18:22 +0200)]
TEST-30-ISCSI: put back in hard-off.sh for tests
Harald Hoyer [Tue, 3 Jul 2012 16:21:54 +0000 (18:21 +0200)]
TEST-03-USR-MOUNT: change test to use a seperate disk
Harald Hoyer [Tue, 3 Jul 2012 16:20:46 +0000 (18:20 +0200)]
usrmount/mount-usr.sh: check the right path with ismounted
Harald Hoyer [Tue, 3 Jul 2012 12:20:51 +0000 (14:20 +0200)]
dracut.sh: use getopt to parse arguments
now we can put options and arguments anywhere we like.
e.g.
$ dracut test.img --force
Harald Hoyer [Tue, 3 Jul 2012 12:20:14 +0000 (14:20 +0200)]
manpages: simplify AUTHORS
Harald Hoyer [Tue, 3 Jul 2012 12:18:55 +0000 (14:18 +0200)]
add lsinitrd and mkinitrd man pages