Amadeusz Żołnowski [Mon, 15 Nov 2010 16:34:36 +0000 (17:34 +0100)]
dracut-lib.sh: splitsep fix
Harald Hoyer [Fri, 12 Nov 2010 13:27:36 +0000 (14:27 +0100)]
dracut.spec: remove uswsusp and added busybox module
Harald Hoyer [Fri, 12 Nov 2010 13:11:33 +0000 (14:11 +0100)]
crypt: change /tmp/luks.keys seperator from "|" to ":"
Do it like on the kernel command line, so we only have one forbidden
character.
Amadeusz Żołnowski [Fri, 12 Nov 2010 09:21:50 +0000 (10:21 +0100)]
dracut.kernel.7: updated to latest changes in 90crypt
Amadeusz Żołnowski [Fri, 12 Nov 2010 09:21:49 +0000 (10:21 +0100)]
90crypt: probe for keydev asynchronously; changed kernel arg
New kernel argument syntax for LUKS-keydev is introduced:
rd.luks.key=<key_path>[:<key_dev>[:<luks_dev>]]
Unfolding <key_dev> in BNF:
<key_dev> ::= "UUID=" <uuid> | "LABEL=" <label> | <kname>
Where <kname> matches following regular expression:
^/dev/.*
<kname> need to be a character device and not a symlink for now.
For every rd.luks.key argument udev rule is created. That rule runs
test to check whether matching device contains <key_path>. If it does
it's applied to matching <luks_dev>.
Amadeusz Żołnowski [Fri, 12 Nov 2010 09:21:48 +0000 (10:21 +0100)]
99base/dracut-lib.sh: 5 new functions & 1 modified
New:
str_starts, str_replace
funiq - print new unique file name
mkuniqdir - create and print new unique dir
splitsep - splits given string 'str' with separator 'sep' into vars
udevmatch - create udev rule match for a device
Modified:
foreach_uuid_until - use $___ as a place holder
Harald Hoyer [Thu, 11 Nov 2010 09:56:26 +0000 (10:56 +0100)]
move initlog.pipe to /dev/.initramfs
Harald Hoyer [Thu, 11 Nov 2010 09:58:38 +0000 (10:58 +0100)]
base/init: merge mkdir and add more mount options
Harald Hoyer [Wed, 10 Nov 2010 21:50:20 +0000 (22:50 +0100)]
base/loginit: s/==/=
stupid bug!
Harald Hoyer [Wed, 10 Nov 2010 21:10:54 +0000 (22:10 +0100)]
rootfs-block/mount-root.sh: remove $NEWROOT/.autofsck if possible
Harald Hoyer [Wed, 10 Nov 2010 20:27:33 +0000 (21:27 +0100)]
base/init: re-add initqueue-finished
Harald Hoyer [Wed, 10 Nov 2010 19:45:12 +0000 (20:45 +0100)]
rootfs-block/mount-root.sh: remove $NEWROOT/{.autofsck,forcefsck} if possible
Harald Hoyer [Wed, 10 Nov 2010 19:45:02 +0000 (20:45 +0100)]
rootfs-block/mount-root.sh: set prompt in emergency shell
Harald Hoyer [Wed, 10 Nov 2010 19:43:22 +0000 (20:43 +0100)]
rootfs-block/mount-root.sh: echo fsck return code to
/dev/.initramfs/fsck
Harald Hoyer [Wed, 10 Nov 2010 19:12:05 +0000 (20:12 +0100)]
rootfs-block/mount-root.sh: fixed filesystem type udev parsing
Harald Hoyer [Wed, 10 Nov 2010 19:11:31 +0000 (20:11 +0100)]
rootfs-block/mount-root.sh: correctly printf to fstab
Harald Hoyer [Wed, 10 Nov 2010 19:06:34 +0000 (20:06 +0100)]
rootfs-block/mount-root.sh: only warn if fsck returned != 0
Harald Hoyer [Wed, 10 Nov 2010 19:01:30 +0000 (20:01 +0100)]
rootfs-block/mount-root.sh: default rootfs to auto, even without fstab
Harald Hoyer [Wed, 10 Nov 2010 18:58:15 +0000 (19:58 +0100)]
rootfs-block/mount-root.sh: clear fsckoptions
Harald Hoyer [Wed, 10 Nov 2010 18:07:16 +0000 (19:07 +0100)]
AUTHORS: update
Peter Rajnoha [Wed, 10 Nov 2010 17:14:59 +0000 (18:14 +0100)]
*.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG
honour the DM_UDEV_DISABLE_OTHER_RULES_FLAG which is set by
libdevmapper/LVM directly for devices that should be skipped.
Harald Hoyer [Wed, 10 Nov 2010 15:38:40 +0000 (16:38 +0100)]
busybox/check: disable module by default and check for busybox binary
Andrey Borzenkov [Fri, 5 Nov 2010 15:29:26 +0000 (18:29 +0300)]
resume: merge uswsusp module into resume
uswsusp almost completely duplicates resume; merge them.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Andrey Borzenkov [Sat, 6 Nov 2010 21:46:53 +0000 (00:46 +0300)]
95rootfs-block: fix missing root when label contains slash
It is not clearly documented, but apparently fsck
(or, probably, getmntent) is using backslash as
escape character.
Label containing slash is converted to \x2f but '\'
is eaten by fsck later. Escape '\' before writing
into fstab.
v2:
- fix sed expression
- use printf instead of echo because echo eats '\' as well
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Andrey Borzenkov [Sat, 6 Nov 2010 21:14:49 +0000 (00:14 +0300)]
i18n: do not use systemd-vconsole-setup
systemd-vconsole-setup was not designed to be run from udevd.
It checks locale environment to decide, whether UNICODE should
be enabled or disabled. Normally environment is setup by
systemd; but the only environment available in udev rules is
those from device properties. It means systemd-vconsole-setup
always assumes default C locale and disables UNICODE.
Revert to using built-in console_init which explicitly
imports locale settings from /etc/vconsole.conf. Alternative
is to revert
6545b9d7 and call console_init directly :)
Additionally patch fixes console_init to use new namespace as
well as ensures that default font is always installed.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Daniel Drake [Mon, 8 Nov 2010 19:49:33 +0000 (19:49 +0000)]
Add busybox shell replacements module
On the OLPC XO-1, there is a noticable delay during boot while the
initramfs is loaded from disk and uncompressed, so we have an interest
in making it small. We are also pushed for disk space.
Using busybox instead of all the regular tools saves a lot of space.
I have not tried every module but the basics are working with busybox's
replacements. Our initramfs is now down to 1.9mb.
Andrey Borzenkov [Sat, 6 Nov 2010 14:26:08 +0000 (17:26 +0300)]
i18n: mention {vconsole,locale}.conf in README
i18n does not use /etc/sysconfig/{i18n,keyboard} anymore
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Harald Hoyer [Wed, 10 Nov 2010 14:05:04 +0000 (15:05 +0100)]
Makefile: use xhtml instead of xhtml-1_1 for the docbook.xsl
Harald Hoyer [Wed, 10 Nov 2010 14:00:30 +0000 (15:00 +0100)]
rootfs-block/install: install e2fsck for slackware
Harald Hoyer [Wed, 10 Nov 2010 14:00:01 +0000 (15:00 +0100)]
dm/install: install dmeventd, only if present
Harald Hoyer [Fri, 5 Nov 2010 18:15:09 +0000 (14:15 -0400)]
dracut.spec: bump release
Harald Hoyer [Fri, 5 Nov 2010 18:14:34 +0000 (14:14 -0400)]
base/init: removed scsi_wait_scan hack
Harald Hoyer [Fri, 5 Nov 2010 18:13:00 +0000 (14:13 -0400)]
i18n/parse-i18n: remove manual call for console_init
setfont and loadkeys are better called in udev,
because then they are started in parallel to other jobs
Harald Hoyer [Fri, 5 Nov 2010 18:12:33 +0000 (14:12 -0400)]
bootchart/install: create tmpfs directory
Harald Hoyer [Wed, 3 Nov 2010 19:41:50 +0000 (15:41 -0400)]
base/init: fixed " typo
Harald Hoyer [Wed, 3 Nov 2010 18:15:11 +0000 (14:15 -0400)]
base/init: do not clean RD_* environment variables
Harald Hoyer [Wed, 3 Nov 2010 18:12:30 +0000 (14:12 -0400)]
base/init: fixed indention
Harald Hoyer [Wed, 3 Nov 2010 17:45:14 +0000 (13:45 -0400)]
base/init: only mknod /dev/null, if it does not exist yet
Harald Hoyer [Wed, 3 Nov 2010 17:42:20 +0000 (13:42 -0400)]
base/init: merge mkdir calls
Harald Hoyer [Wed, 3 Nov 2010 17:40:42 +0000 (13:40 -0400)]
rootfs-block/mount-root.sh: fixed fsck "-a" option
Harald Hoyer [Fri, 29 Oct 2010 17:00:35 +0000 (19:00 +0200)]
rootfs-block:mount-root.sh add fsck
Harald Hoyer [Fri, 29 Oct 2010 16:38:55 +0000 (18:38 +0200)]
10i18n/parse-i18n.sh: run console_init directly if /dev/tty0 exists
Harald Hoyer [Fri, 29 Oct 2010 14:57:52 +0000 (16:57 +0200)]
dracut.spec: s#fedora_version#fedora#g and simplified %if checks
Harald Hoyer [Fri, 29 Oct 2010 14:22:56 +0000 (16:22 +0200)]
dracut.conf.d/suse.conf.example: remove hostonly mode
Harald Hoyer [Fri, 29 Oct 2010 13:22:59 +0000 (15:22 +0200)]
dracut.spec: dracut-network obsoletes and provides dracut-generic
Harald Hoyer [Fri, 29 Oct 2010 13:08:51 +0000 (15:08 +0200)]
dracut.spec: add dracut.html to %doc
Harald Hoyer [Fri, 29 Oct 2010 12:07:56 +0000 (14:07 +0200)]
i18n/install: if hostonly install fails, install all files
Harald Hoyer [Fri, 29 Oct 2010 12:00:13 +0000 (14:00 +0200)]
i18n/install: s/dwarn/dwarning/
Harald Hoyer [Fri, 29 Oct 2010 11:58:40 +0000 (13:58 +0200)]
i18n/install: do not error out, if local i18n could not be found
Harald Hoyer [Fri, 29 Oct 2010 11:55:22 +0000 (13:55 +0200)]
i18n/install: cleanup and honor new config files
honor local /etc/locale.conf and /etc/vconsole.conf files
Harald Hoyer [Fri, 29 Oct 2010 11:47:05 +0000 (13:47 +0200)]
dracut.conf.d/fedora.conf.example: SYSFONT -> FONT
Harald Hoyer [Fri, 29 Oct 2010 11:39:20 +0000 (13:39 +0200)]
i18n: move to vconfig.* and locale.* namespace
Harald Hoyer [Fri, 29 Oct 2010 11:24:12 +0000 (13:24 +0200)]
base/init: rd.shell=1 per default
to securely lock a machine, the admin has to set rd.shell=0!
Harald Hoyer [Fri, 29 Oct 2010 10:34:27 +0000 (12:34 +0200)]
dracut-functions:find_block_device() workaround for btrfs
/proc/self/mountinfo contains the btrfs virtual device major minor.
Determine the real major minor with the device.
Harald Hoyer [Thu, 28 Oct 2010 16:09:45 +0000 (18:09 +0200)]
base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g
systemd will clear all RD_* env for its children
Harald Hoyer [Thu, 28 Oct 2010 15:10:46 +0000 (17:10 +0200)]
mkdir /dev/.initramfs with "-p"
Harald Hoyer [Thu, 28 Oct 2010 15:10:17 +0000 (17:10 +0200)]
base: send DRACUT_LOG_END to loginit at the end
Harald Hoyer [Thu, 28 Oct 2010 14:57:21 +0000 (16:57 +0200)]
TEST-50-MULTINIC/test.sh: only set hdc for no cdrom
Harald Hoyer [Thu, 28 Oct 2010 14:10:05 +0000 (16:10 +0200)]
test/TEST-*/test.sh: set -serial to null for servers
-serial udp might have stalled
Pádraig Brady [Thu, 28 Oct 2010 13:49:37 +0000 (15:49 +0200)]
network: don't die if gateway is down and root server is local
modules.d/40network/netroot: Don't arping the gateway if we don't need to
Harald Hoyer [Thu, 28 Oct 2010 12:39:53 +0000 (14:39 +0200)]
test/*/*-init: set PATH
/sbin and /usr/sbin are no longer in $PATH
Harald Hoyer [Thu, 28 Oct 2010 11:35:17 +0000 (13:35 +0200)]
dracut-functions:inst_symlink() create target dir
if the target directory of the symlink didn't exist, we failed
Vladislav Bogdanov [Thu, 28 Oct 2010 11:12:18 +0000 (13:12 +0200)]
ifcfg/write-ifcfg.sh: fixes typos and generated ifcfg files
Harald Hoyer [Thu, 28 Oct 2010 10:46:17 +0000 (12:46 +0200)]
base/init: fix for /sbin/init being an absolute softlink
Harald Hoyer [Thu, 28 Oct 2010 10:47:45 +0000 (12:47 +0200)]
new parameter option names with "rd.*" namespace
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
Harald Hoyer [Wed, 27 Oct 2010 09:19:27 +0000 (11:19 +0200)]
dracut-functions: suppress modinfo errors for hostonly mode
Harald Hoyer [Tue, 26 Oct 2010 10:45:59 +0000 (12:45 +0200)]
fcoe: remove vconfig requirement
Harald Hoyer [Tue, 26 Oct 2010 09:50:09 +0000 (11:50 +0200)]
dracut.spec: own dracut/modules.d directory
Harald Hoyer [Tue, 26 Oct 2010 09:48:14 +0000 (11:48 +0200)]
dracut-gencmdline: strip also _rnetdev
https://bugzilla.redhat.com/show_bug.cgi?id=644494
Harald Hoyer [Mon, 25 Oct 2010 15:23:51 +0000 (17:23 +0200)]
bootchart: fixed file perms
Harald Hoyer [Mon, 25 Oct 2010 15:23:28 +0000 (17:23 +0200)]
dracut.spec: modified to build on opensuse
Harald Hoyer [Mon, 25 Oct 2010 12:21:33 +0000 (14:21 +0200)]
dracut.spec: removed gittag
Harald Hoyer [Mon, 25 Oct 2010 10:53:28 +0000 (12:53 +0200)]
dracut.spec: add opensuse
Harald Hoyer [Mon, 25 Oct 2010 12:18:39 +0000 (14:18 +0200)]
dracut.spec: add 95fstab-sys and 96insmodpost
Harald Hoyer [Mon, 25 Oct 2010 10:32:59 +0000 (12:32 +0200)]
add dracut.conf.d/suse.conf.example
Harald Hoyer [Mon, 25 Oct 2010 10:31:38 +0000 (12:31 +0200)]
base: install switch_root to /sbin and call it with the full path
Harald Hoyer [Mon, 25 Oct 2010 10:31:07 +0000 (12:31 +0200)]
i18n: also search in /usr/share/kbd
Harald Hoyer [Mon, 18 Oct 2010 14:20:19 +0000 (16:20 +0200)]
chmod 0755 modules.d/40network/parse-bond.sh
Vladislav Bogdanov [Mon, 18 Oct 2010 14:10:41 +0000 (16:10 +0200)]
add bonding
Format:
bond=<bondname>[:<bondslaves>:[:<options>]]
bondslaves is a comma-separated list of physical (ethernet) interfaces.
options is a comma-separated list on bonding options (modinfo bonding for
details) in format compatible with initscripts.
If options include multi-valued arp_ip_target option, then its values
should be separated by semicolon.
bond without parameters assumes bond=bond0:eth0,eth1:balance-rr
Harald Hoyer [Mon, 18 Oct 2010 14:07:58 +0000 (16:07 +0200)]
add 96insmodpost dracut module
due to popular demand, this module loads a custom kernel module, after the
first udev settle (all basic device drivers loaded)
Harald Hoyer [Mon, 18 Oct 2010 14:05:47 +0000 (16:05 +0200)]
documentation update
Harald Hoyer [Fri, 15 Oct 2010 11:14:08 +0000 (13:14 +0200)]
documentation update
Amadeusz Żołnowski [Wed, 13 Oct 2010 17:39:14 +0000 (19:39 +0200)]
suppress modprobe errors on builtins (credits to Kay Sievers)
Install /lib/modules/$kv/modules.builtin.bin to suppress modprobe error
messages saying module was not found, while it's built-in.
Credits go to Kay Sievers who enlighten us about meaning of this cool
file.
Amadeusz Żołnowski [Wed, 13 Oct 2010 17:39:13 +0000 (19:39 +0200)]
Revert "add option --ignore-kernel-modules"
This reverts commit
0ca3a5ee849614e85241274d24380f3eabd73b78
and removes later changes related to this commit.
Conflicts:
dracut
dracut.8
modules.d/99base/install
Harald Hoyer [Thu, 7 Oct 2010 17:11:11 +0000 (19:11 +0200)]
init: symlink /dev/stdin /dev/stdout /dev/stderr
Amadeusz Żołnowski [Sat, 25 Sep 2010 22:06:54 +0000 (00:06 +0200)]
99base/init: honor env. vars provided by kernel (PATH, HOME and TERM)
Let take a look at Linux sources, /usr/src/linux-2.6.35/init/main.c:
204: char * envp_init[MAX_INIT_ENVS+2] = { "HOME=/", "TERM=linux", NULL, };
857: run_init_process("/sbin/init");
817: static void run_init_process(char *init_filename)
818: {
819: argv_init[0] = init_filename;
820: kernel_execve(init_filename, argv_init, envp_init);
821: }
As we can see HOME=/ and TERM=linux are provided for init and this might be
expected on some systems (Gentoo comes to my mind, here ;-)). That's why we
should give to init the same set of env. vars as Linux kernel does.
Harald Hoyer [Thu, 23 Sep 2010 15:45:37 +0000 (17:45 +0200)]
init: removed bogus nop line
+ initargs="$initargs"
Harald Hoyer [Thu, 23 Sep 2010 14:23:33 +0000 (16:23 +0200)]
network: kill -9 dhclient, if normal kill does not succeed
https://bugzilla.redhat.com/show_bug.cgi?id=583348
Harald Hoyer [Thu, 23 Sep 2010 14:06:53 +0000 (16:06 +0200)]
test: double disk space for root images
Ian Dall [Wed, 22 Sep 2010 14:49:19 +0000 (16:49 +0200)]
95fstab-sys: mount all /etc/fstab.sys volumes before switch_root
A new dracut module to implement fstab.sys handling
This module implements fstab.sys handling. This has to happen after the root
mount and before the nfsroot-cleanup pre-pivot at least. I've made to happen at
the beginning of the pre-pivot scripts, although it should maybe be at the end
of the mount scripts. This latter would be harder to do because the actual
mount is currently done by 99mount-root.sh and there is no 2 digit integer
higher than 99 :-(
There are perhaps other ways of achieving this end, such as having the
nfsroot-cleanup trawl through the newroot's /etc/fstab and auto-magically
figure out if there are any mounts which are pre-requisites for the
/var/lib/nfs/rpc_pipefs mount and do them first. Likewise post pivot,
/etc/rc.sysinit could figure out of there are any pre-requisite mounts for
/var/lib/stateless/{writeable,state} before doing those mounts. In short, make
it the responsibility of anything doing a mount to check if there are any
pre-requisites in /etc/fstab and mount them first. However, this spreads the
changes needed over more places, so I favour the fstab.sys approach. Also, who
knows what other uses administartors may have put fstab.sys to? and this undoes
a regression caused by the move from mkinitrd to dracut.
James Laska [Wed, 22 Sep 2010 14:28:59 +0000 (16:28 +0200)]
lvm: support for dynamic LVM SNAPSHOT root volume
I'm looking for a way to have a system with disposable storage that can be
rebooted and all filesystem changes are thrown away. After reboot, the system
starts with a fresh root volume again. The use case is for automated testing.
We run test scripts that could potentially not clean up after themselves.
This is almost like stateless, but the storage is local to the system (not
iSCSI, NFS or NBB).
1. Install Fedora 13 using default partition layout
NOTE: modify the layout to leave extra room in the LVM volume group
2. Apply attached patch
3. Update grub.conf to enable dracut LVM snapshot support. Add the following
boot arguments
rd_LVM_SNAPSHOT=vg_test1055/lv_snap (note the VG name will depend on your
system).
rd_LVM_SNAPSIZE= (optional, defaults to size of volume specified with by
rd_LVM_SNAPSHOT)
4. Adjust grub.conf and fstab to use LVM snapshot
$ sed -i -e 's|lv_root|lv_snap|' /boot/grub/grub.conf
$ sed -i -e 's|lv_root|lv_snap|' /etc/fstab
5. Reboot system
Expected results (no value provided for rd_LVM_SNAPSIZE):
dracut: Starting plymouth daemon
dracut: rd_NO_DM: removing DM RAID activation
dracut: rd_NO_MD: removing MD RAID activation
dracut: Removing existing LVM snapshot vg_test1055/lv_snap
dracut: Logical volume "lv_snap" successfully removed
dracut: No LVM snapshot size provided, using size of vg_test1055/lv_root (
9024.00m)
dracut: Creating LVM snapshot vg_test1055/lv_snap ( 9024.00m)
dracut: Logical volume "lv_snap" created
dracut: Scanning devices sda2 for LVM logical volumes vg_test1055/lv_root
vg_test1055/lv_swap
dracut: inactive Original '/dev/vg_test1055/lv_root' [8.81 GiB] inherit
dracut: inactive '/dev/vg_test1055/lv_swap' [1.00 GiB] inherit
dracut: inactive Snapshot '/dev/vg_test1055/lv_snap' [8.81 GiB] inherit
dracut: Mounted root filesystem /dev/mapper/vg_test1055-lv_snap
dracut: Loading SELinux policy
dracut: Switching root
Expected results (rd_LVM_SNAPSIZE=100m):
dracut: Starting plymouth daemon
dracut: rd_NO_DM: removing DM RAID activation
dracut: rd_NO_MD: removing MD RAID activation
dracut: Removing existing LVM snapshot vg_test1055/lv_snap
dracut: Logical volume "lv_snap" successfully removed
dracut: Creating LVM snapshot vg_test1055/lv_snap (100m )
dracut: Rounding up size to full physical extent 128.00 MiB
dracut: Logical volume "lv_snap" created
dracut: Scanning devices sda2 for LVM logical volumes vg_test1055/lv_root
vg_test1055/lv_swap
dracut: inactive Original '/dev/vg_test1055/lv_root' [8.81 GiB] inherit
dracut: inactive '/dev/vg_test1055/lv_swap' [1.00 GiB] inherit
dracut: inactive Snapshot '/dev/vg_test1055/lv_snap' [128.00 MiB] inherit
dracut: Mounted root filesystem /dev/mapper/vg_test1055-lv_snap
dracut: Loading SELinux policy
dracut: Switching root
Harald Hoyer [Tue, 10 Aug 2010 13:54:03 +0000 (15:54 +0200)]
dracut-functions: filter_kernel_modules() search in extra dirs
search also in "extra" and "weak-updates" for kernel modules
https://bugzilla.redhat.com/show_bug.cgi?id=622641
Harald Hoyer [Wed, 22 Sep 2010 14:12:55 +0000 (16:12 +0200)]
lvm: also handle LVM1 volumes
Harald Hoyer [Wed, 22 Sep 2010 12:33:10 +0000 (14:33 +0200)]
documentation update
Harald Hoyer [Tue, 14 Sep 2010 08:48:06 +0000 (10:48 +0200)]
base/init: set RDTIMESTAMP
set $RDTIMESTAMP for init, if rd.timestamp is specified on the
kernel command line, so that systemd can print out:
"systemd: Boot finished after 15s = 3s (kernel) + 2s (initrd) + 10s
(userspace)"
Harald Hoyer [Mon, 23 Aug 2010 10:25:03 +0000 (12:25 +0200)]
add dracut.xml documentation
Harald Hoyer [Fri, 17 Sep 2010 06:36:26 +0000 (08:36 +0200)]
dracut: added --list-modules
Harald Hoyer [Fri, 17 Sep 2010 13:21:27 +0000 (15:21 +0200)]
lsinitrd: add "catinitrd" functionality
lsinitrd <initramfs image> [<file to cat>]
Harald Hoyer [Wed, 15 Sep 2010 09:54:37 +0000 (11:54 +0200)]
base/init: unset HOME and TERM for real init
Peter Jones [Fri, 10 Sep 2010 15:30:28 +0000 (11:30 -0400)]
Be sure and get the right architecture for rsylogd modules.
I've tested this locally on 64-bit with:
dracut -a syslog -f -v foo.img `uname -r`
And I see this in the output:
I: *** Sourcing module syslog
I: Installing /sbin/rsyslogd
I: Installing /lib64/rsyslog/lmnet.so
I: Installing /lib64/rsyslog/imklog.so
I: Installing /lib64/rsyslog/imuxsock.so
I: Installing /usr/share/dracut/modules.d/98syslog/parse-syslog-opts.sh
I: Installing /usr/share/dracut/modules.d/98syslog/syslog-genrules.sh
I: Installing /usr/share/dracut/modules.d/98syslog/syslog-cleanup.sh
I: Installing /usr/share/dracut/modules.d/98syslog/rsyslogd-start.sh
I: Installing /usr/share/dracut/modules.d/98syslog/rsyslogd-stop.sh
I: Installing /usr/share/dracut/modules.d/98syslog/rsyslog.conf