Harald Hoyer [Tue, 19 Mar 2013 15:56:56 +0000 (16:56 +0100)]
51-dracut-rescue-postinst.sh: add extra checks
Harald Hoyer [Tue, 19 Mar 2013 13:53:17 +0000 (14:53 +0100)]
TEST-40-NBD/test.sh: kill_server() after test_run()
Harald Hoyer [Tue, 19 Mar 2013 13:52:25 +0000 (14:52 +0100)]
network/netroot.sh: do not unset root
Harald Hoyer [Tue, 19 Mar 2013 11:24:13 +0000 (12:24 +0100)]
nbd/nbdroot.sh: fix root != blockdev case
Harald Hoyer [Tue, 19 Mar 2013 11:23:20 +0000 (12:23 +0100)]
fs-lib/fs-lib.sh:write_fs_tab() start initrd-root-fs.target
Harald Hoyer [Tue, 19 Mar 2013 11:22:58 +0000 (12:22 +0100)]
add dracut.bootup.7 man page
Harald Hoyer [Tue, 19 Mar 2013 11:22:33 +0000 (12:22 +0100)]
systemd: add more ordering
Harald Hoyer [Mon, 18 Mar 2013 13:17:19 +0000 (14:17 +0100)]
drm/module-setup.sh: redirect grep to /dev/null
on some architectures, no pci devices exist
Harald Hoyer [Mon, 18 Mar 2013 09:58:25 +0000 (10:58 +0100)]
Makefile: use -D_FILE_OFFSET_BITS=64 to build dracut-install
Harald Hoyer [Mon, 18 Mar 2013 08:29:08 +0000 (09:29 +0100)]
kernel-modules/module-setup.sh: don't fail hard on a missing module
Harald Hoyer [Mon, 18 Mar 2013 07:43:23 +0000 (08:43 +0100)]
kernel-modules/module-setup.sh: install all host filesystem drivers
https://bugzilla.redhat.com/show_bug.cgi?id=922565
Harald Hoyer [Sat, 16 Mar 2013 09:34:20 +0000 (10:34 +0100)]
sosreport: mkdir /run/initramfs, if it does not exist yet
Harald Hoyer [Sat, 16 Mar 2013 09:31:37 +0000 (10:31 +0100)]
dmsquash-live: force load squashfs kernel module
https://bugzilla.redhat.com/show_bug.cgi?id=922248
Harald Hoyer [Fri, 15 Mar 2013 15:54:38 +0000 (16:54 +0100)]
dracut.conf.5.asc: remove duplicated install_items
Harald Hoyer [Fri, 15 Mar 2013 13:41:11 +0000 (14:41 +0100)]
TEST-16-DMSQUASH: use current releasever
Harald Hoyer [Fri, 15 Mar 2013 09:42:18 +0000 (10:42 +0100)]
dracut-bash-completion.sh: add --kver kernel version completion
Harald Hoyer [Fri, 15 Mar 2013 09:41:41 +0000 (10:41 +0100)]
sosreport.sh: use -o short-monotonic for the journal output
Harald Hoyer [Fri, 15 Mar 2013 06:11:17 +0000 (07:11 +0100)]
dracut.spec: bump systemd version requirement
Harald Hoyer [Thu, 14 Mar 2013 17:29:19 +0000 (18:29 +0100)]
fixed testsuite
Will Woods [Thu, 14 Mar 2013 17:48:06 +0000 (13:48 -0400)]
fix typo in dracut.conf.5.asc
It's /etc/dracut.conf.d, not /etc/dracut/conf.d
Harald Hoyer [Thu, 14 Mar 2013 18:03:20 +0000 (19:03 +0100)]
systemd: do not use "systemd --version" until fixed
Harald Hoyer [Thu, 14 Mar 2013 14:35:54 +0000 (15:35 +0100)]
systemd: switch to new initrd.target
(normal startup)
:
:
v
basic.target
|
______________________/|
/ |
| sysroot.mount
| |
| v
| initrd-root-fs.target
| |
| v
| initrd-parse-etc.service
(custom initrd services) |
| v
| (sysroot-usr.mount and
| various mounts marked
| with fstab option
| x-initrd.mount)
| |
| v
| initrd-fs.target
| |
\______________________ |
\|
v
initrd.target
|
v
initrd-cleanup.service
isolates to
initrd-switch-root.target
|
v
______________________/|
/ |
| initrd-udevadm-cleanup-db.service
| |
(custom initrd services) |
| |
\______________________ |
\|
v
initrd-switch-root.target
|
v
initrd-switch-root.service
|
v
switch-root
Harald Hoyer [Thu, 14 Mar 2013 16:59:07 +0000 (17:59 +0100)]
udev-rules/module-setup.sh: do not install /run/*
Harald Hoyer [Thu, 14 Mar 2013 16:56:53 +0000 (17:56 +0100)]
nfs/nfsroot.sh: only cat /etc/fstab, if existant
Harald Hoyer [Thu, 14 Mar 2013 16:54:36 +0000 (17:54 +0100)]
iscsi/iscsiroot.sh: do not mount manually in systemd mode
Harald Hoyer [Thu, 14 Mar 2013 16:54:15 +0000 (17:54 +0100)]
ifcfg/write-ifcfg.sh: fixed typo
Harald Hoyer [Thu, 14 Mar 2013 16:53:00 +0000 (17:53 +0100)]
dracut.spec: fix requirements
Harald Hoyer [Thu, 14 Mar 2013 16:52:44 +0000 (17:52 +0100)]
dracut-install: handle more ldd errors
Harald Hoyer [Thu, 14 Mar 2013 16:52:15 +0000 (17:52 +0100)]
51-dracut-rescue-postinst.sh: fixed new-kernel-pkg call
Harald Hoyer [Thu, 14 Mar 2013 16:51:47 +0000 (17:51 +0100)]
TODO: remove completed items
Radek Vykydal [Thu, 14 Mar 2013 08:51:07 +0000 (09:51 +0100)]
Write BOOTPROTO=ibft for ip=ibft to ifcfg files
Radek Vykydal [Thu, 14 Mar 2013 08:50:07 +0000 (09:50 +0100)]
Don't write DHCPV6C=yes for each dhcp (ipv4) configuration.
Caused probably by commit
32ec0a762d1dce36f20857ffd222863a3d550ed7
Harald Hoyer [Wed, 13 Mar 2013 16:45:37 +0000 (17:45 +0100)]
shutdown/shutdown.sh: mount --move all basic mounts out of /oldroot
After mount moving /dev away, apps like plymouth can do reexec with fd
passing of devices, which they want to keep open until the very end.
Harald Hoyer [Wed, 13 Mar 2013 13:47:24 +0000 (14:47 +0100)]
dracut.sh: Add --noimageifnotneeded parameter
Do not create an image in host-only mode, if no kernel driver is needed
and no $initdir/etc/cmdline/*.conf is generated.
Harald Hoyer [Wed, 13 Mar 2013 13:46:39 +0000 (14:46 +0100)]
kernel-modules: move usb-storage out of fixed drivers
Harald Hoyer [Wed, 13 Mar 2013 13:45:55 +0000 (14:45 +0100)]
systemd: remove upstream renamed old service files
dyoung@redhat.com [Wed, 13 Mar 2013 07:59:26 +0000 (15:59 +0800)]
Add memdebug at different points in 99base/init.sh
Previously I added several trace point to the begin of several
init hooks of systemd, old init script also need this debug info.
Doing same here as what's added in the systemd service scripts:
At cmdline hooks adding trace of "1+:mem 1+:iomem 3+:slab"
For other hooks adding trace of "1:shortmem 2+:mem 3+:slab"
Signed-off-by: Dave Young <dyoung@redhat.com>
dyoung@redhat.com [Wed, 13 Mar 2013 07:59:25 +0000 (15:59 +0800)]
Improve documentation of rd.memdebug
Explain more about rd.memdebug verbose level in dracut.cmdline.7.asc.
Signed-off-by: Dave Young <dyoung@redhat.com>
dyoung@redhat.com [Wed, 13 Mar 2013 07:59:24 +0000 (15:59 +0800)]
print memdebug to stderr
memory usage tracing outputs are debug info, so it should be moved to
stderr instead of stdout.
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Wed, 13 Mar 2013 12:09:13 +0000 (13:09 +0100)]
dracut-initramfs-restore.sh: also look for image in boot loader spec dir
Harald Hoyer [Wed, 13 Mar 2013 11:55:23 +0000 (12:55 +0100)]
dracut.spec: fix requirements
Harald Hoyer [Wed, 13 Mar 2013 11:46:16 +0000 (12:46 +0100)]
add dracut-bash-completion.sh
Harald Hoyer [Wed, 13 Mar 2013 11:46:39 +0000 (12:46 +0100)]
dracut.sh: add --regenerate-all
Harald Hoyer [Wed, 13 Mar 2013 09:51:17 +0000 (10:51 +0100)]
plymouth: do not install hooks in systemd mode
Harald Hoyer [Wed, 13 Mar 2013 10:07:36 +0000 (11:07 +0100)]
systemd: add sysctl.d and sysctl.conf
Harald Hoyer [Wed, 13 Mar 2013 09:51:47 +0000 (10:51 +0100)]
systemd: add modules-load.d modules to the initramfs
Harald Hoyer [Wed, 13 Mar 2013 07:04:25 +0000 (08:04 +0100)]
systemd: local-fs.target is now root-fs.target and initrd-fs.target
Also rename dracut.target to initrd.target
see also systemd commit 700e07f
http://cgit.freedesktop.org/systemd/systemd/commit/?id=700e07f
Harald Hoyer [Wed, 13 Mar 2013 07:04:08 +0000 (08:04 +0100)]
51-dracut-rescue.install: create directory, if it does not exist
Harald Hoyer [Wed, 13 Mar 2013 07:23:18 +0000 (08:23 +0100)]
lsinitrd.sh: simplify check for boot loader spec dirs
Harald Hoyer [Tue, 12 Mar 2013 12:50:58 +0000 (13:50 +0100)]
dracut.spec: add nohostonly and norescue subpackages
we need rpm subpackages, to be able to pull them in the installation
transaction for the initial %posttrans initramfs image creation.
Harald Hoyer [Mon, 11 Mar 2013 14:59:13 +0000 (15:59 +0100)]
add 51-dracut-rescue-postinst.sh
also fixup 51-dracut-rescue.install to read in dracut conf
Harald Hoyer [Mon, 11 Mar 2013 15:31:48 +0000 (16:31 +0100)]
dracut.sh: add swap partitions to host-only setup
Harald Hoyer [Mon, 11 Mar 2013 15:32:16 +0000 (16:32 +0100)]
make host_fs_types a hashmap
This requires bash >= 4, but hash maps are so much more comfortable
Harald Hoyer [Mon, 11 Mar 2013 14:46:37 +0000 (15:46 +0100)]
lsinitrd.sh: removed trailing "}"
Harald Hoyer [Sun, 10 Mar 2013 13:44:32 +0000 (14:44 +0100)]
lsinitrd.sh: fix for default initrd not found, but image given
Harald Hoyer [Sun, 10 Mar 2013 13:44:16 +0000 (14:44 +0100)]
51-dracut-rescue.install: do not unset installonly on remove
Harald Hoyer [Sat, 9 Mar 2013 14:32:32 +0000 (15:32 +0100)]
dracut.spec: add rescue module
Harald Hoyer [Sat, 9 Mar 2013 14:30:44 +0000 (15:30 +0100)]
dracut.sh: move cleanup trap, just after mktemp
Harald Hoyer [Sat, 9 Mar 2013 14:15:41 +0000 (15:15 +0100)]
add rescue dracut module
Harald Hoyer [Sat, 9 Mar 2013 14:11:39 +0000 (15:11 +0100)]
dracut.sh: add new default path to initramfs according to bootloader spec
see kernel-install(8) and
http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
Harald Hoyer [Sat, 9 Mar 2013 14:11:12 +0000 (15:11 +0100)]
dracut.sh: remove (default) marker in --help
Harald Hoyer [Sat, 9 Mar 2013 14:10:23 +0000 (15:10 +0100)]
fedora.conf.example: make hostonly default for fedora
Harald Hoyer [Sat, 9 Mar 2013 14:09:55 +0000 (15:09 +0100)]
add /lib/kernel/install.d/51-dracut-rescue.install
Upon installation of a kernel, check if a rescue image is already
available and if not, create a non-hostonly generic initramfs image with
the rescue module added.
Harald Hoyer [Fri, 8 Mar 2013 10:50:03 +0000 (11:50 +0100)]
systemd/module-setup.sh: call systemd in private dir for version
Harald Hoyer [Fri, 8 Mar 2013 06:06:08 +0000 (07:06 +0100)]
NEWS: dracut-026
Harald Hoyer [Fri, 8 Mar 2013 06:06:31 +0000 (07:06 +0100)]
systemd: add version check in install()
Harald Hoyer [Fri, 8 Mar 2013 06:05:55 +0000 (07:05 +0100)]
fips: add lzo module
Harald Hoyer [Thu, 7 Mar 2013 15:00:00 +0000 (16:00 +0100)]
crypt, dmraid, mdraid: use for_each_host_dev_and_slaves_all()
To catch _all_ UUIDs and not only the first one, use
for_each_host_dev_and_slaves_all
Harald Hoyer [Thu, 7 Mar 2013 14:49:24 +0000 (15:49 +0100)]
dmsquash-live: add iso9660 kernel module
Harald Hoyer [Thu, 7 Mar 2013 13:49:21 +0000 (14:49 +0100)]
split 95udev-rules/59-persistent-storage.rules to md and dm modules
Harald Hoyer [Thu, 7 Mar 2013 13:27:49 +0000 (14:27 +0100)]
dracut-functions.sh: fix inst_rule_programs()
Logic for the $env{.*} check was reversed and env was missing.
Thanks Colin Guthrie!
Harald Hoyer [Thu, 7 Mar 2013 13:16:11 +0000 (14:16 +0100)]
iscsi: run iscsiroot even if no network configured
Also inject finished hooks for every iscsiroot netroot
Harald Hoyer [Thu, 7 Mar 2013 13:15:56 +0000 (14:15 +0100)]
kernel-modules: better match for arm architecure
Harald Hoyer [Thu, 7 Mar 2013 11:54:02 +0000 (12:54 +0100)]
lsinitrd: use /boot/<machine-id>/<kernel-version>/initrd as the default image
if /boot/<machine-id> exists; then
use /boot/<machine-id>/<kernel-version>/initrd as the default image;
else fallback to /boot/initramfs-<kernel-version>.img
Harald Hoyer [Thu, 7 Mar 2013 11:10:53 +0000 (12:10 +0100)]
kernel-modules: move some kernel modules out of unconditional install
Harald Hoyer [Thu, 7 Mar 2013 10:46:46 +0000 (11:46 +0100)]
systemd: add missing dracut-mount.service dracut-pre-mount.service
Harald Hoyer [Thu, 7 Mar 2013 10:44:44 +0000 (11:44 +0100)]
document /usr/lib/dracut/dracut.conf.d
Harald Hoyer [Thu, 7 Mar 2013 10:44:16 +0000 (11:44 +0100)]
dracut.conf: move default settings to distro example
Harald Hoyer [Thu, 7 Mar 2013 10:43:52 +0000 (11:43 +0100)]
dracut.sh: rename source_dirs_prio() to dropindirs_sort()
Harald Hoyer [Thu, 7 Mar 2013 09:19:25 +0000 (10:19 +0100)]
systemd: add missing dracut-mount.sh dracut-pre-mount.sh dracut.target
Harald Hoyer [Thu, 7 Mar 2013 08:49:29 +0000 (09:49 +0100)]
add 50-dracut.install
Harald Hoyer [Thu, 7 Mar 2013 08:43:42 +0000 (09:43 +0100)]
add systemd-bootchart module
Harald Hoyer [Thu, 7 Mar 2013 08:42:00 +0000 (09:42 +0100)]
add missing systemd service man pages
Harald Hoyer [Wed, 6 Mar 2013 16:27:07 +0000 (17:27 +0100)]
dracut.conf.d/fedora.conf.example: turn off rd.auto
realinitpath is not needed anymore for systemd >= 198
Harald Hoyer [Wed, 6 Mar 2013 16:15:10 +0000 (17:15 +0100)]
testsuite fixup
Harald Hoyer [Wed, 6 Mar 2013 16:11:50 +0000 (17:11 +0100)]
base: save host_devs which we need bring up and process them with wait_for_dev
Harald Hoyer [Wed, 6 Mar 2013 16:10:50 +0000 (17:10 +0100)]
base: in systemd mode parse-root-opts.sh is in the services
Harald Hoyer [Wed, 6 Mar 2013 16:10:15 +0000 (17:10 +0100)]
base/dracut-lib.sh: reset /etc/profile
Harald Hoyer [Wed, 6 Mar 2013 16:09:24 +0000 (17:09 +0100)]
base/init.sh: reset main loop counter, if work is in initqueue
Harald Hoyer [Wed, 6 Mar 2013 16:08:49 +0000 (17:08 +0100)]
base/dracut-lib.sh: extend wait_for_dev() for systemd
Harald Hoyer [Wed, 6 Mar 2013 16:07:45 +0000 (17:07 +0100)]
rootfs-block/parse-block.sh: wait_for_dev
Harald Hoyer [Wed, 6 Mar 2013 16:06:15 +0000 (17:06 +0100)]
usrmount: in systemd mode, functionality is in systemd
Harald Hoyer [Wed, 6 Mar 2013 16:04:57 +0000 (17:04 +0100)]
iscsi, nbd: call write_fs_tab() and write /etc/fstab
Harald Hoyer [Wed, 6 Mar 2013 16:04:00 +0000 (17:04 +0100)]
rootfs-block: in systemd mode, functionality is in the dracut services
Harald Hoyer [Wed, 6 Mar 2013 16:02:49 +0000 (17:02 +0100)]
resume: generate rules already in parse-resume.sh
Harald Hoyer [Wed, 6 Mar 2013 16:00:53 +0000 (17:00 +0100)]
resume: in systemd mode move functionality in the dracut services
Harald Hoyer [Wed, 6 Mar 2013 15:58:11 +0000 (16:58 +0100)]
nfs/nfsroot.sh: trigger nfs mount with cat'ing /etc/fstab
otherwise the whole nfs communication can take too long for the
systemd-fstab-generator
Harald Hoyer [Wed, 6 Mar 2013 15:43:49 +0000 (16:43 +0100)]
kernel-modules: handle rd.driver.* in systemd mode in dracut-pre-udev
Harald Hoyer [Wed, 6 Mar 2013 15:40:53 +0000 (16:40 +0100)]
dracut_need_initqueue
Harald Hoyer [Wed, 6 Mar 2013 15:38:59 +0000 (16:38 +0100)]
fs-lib/fs-lib.sh: add write_fs_tab()