Harald Hoyer [Tue, 2 Feb 2010 14:21:51 +0000 (15:21 +0100)]
init: dashified $[] -> $(())
Harald Hoyer [Tue, 2 Feb 2010 14:11:59 +0000 (15:11 +0100)]
beautified man pages
Harald Hoyer [Wed, 27 Jan 2010 15:11:19 +0000 (16:11 +0100)]
fixed permissions for the check files
Peter Jones [Fri, 22 Jan 2010 15:56:40 +0000 (10:56 -0500)]
Add a check file for multipath.
If multipath isn't installed, don't use it. If we're in hostonly mode,
only install the multipath module if it's used for / . Otherwise, if
the user was dumb enough to install it, they get it during bootup.
Harald Hoyer [Wed, 27 Jan 2010 15:09:15 +0000 (16:09 +0100)]
base: fix selinux handling if .autorelabel is present
rhbz#557744
Harald Hoyer [Wed, 27 Jan 2010 14:52:08 +0000 (15:52 +0100)]
mdraid: prefer /etc/mdadm.conf over /etc/mdadm/mdadm.conf
see https://bugzilla.redhat.com/show_bug.cgi?id=557339
https://bugzilla.redhat.com/show_bug.cgi?id=559073
Harald Hoyer [Wed, 20 Jan 2010 15:04:55 +0000 (16:04 +0100)]
init: fixed emergency_shell argument parsing
Harald Hoyer [Fri, 15 Jan 2010 11:58:24 +0000 (12:58 +0100)]
version 004
Harald Hoyer [Fri, 15 Jan 2010 11:34:50 +0000 (12:34 +0100)]
dracut-lib: do not leave debug mode in getarg and getargs
Harald Hoyer [Fri, 15 Jan 2010 11:58:10 +0000 (12:58 +0100)]
test: remove lvm.conf in create-root.sh
Harald Hoyer [Fri, 15 Jan 2010 11:33:41 +0000 (12:33 +0100)]
dracut-lib: read multiple lines from $init/etc/cmdline
Harald Hoyer [Fri, 15 Jan 2010 09:25:44 +0000 (10:25 +0100)]
dracut.spec: only obsolete for rhel >= 6 and fedora > 12
and do not provide lsinitrd and mkinitrd
Warren Togami [Thu, 14 Jan 2010 17:11:52 +0000 (18:11 +0100)]
dracut.spec: nbd is Fedora only
Harald Hoyer [Thu, 14 Jan 2010 16:20:43 +0000 (17:20 +0100)]
add lsinitrd
Harald Hoyer [Thu, 14 Jan 2010 16:04:06 +0000 (17:04 +0100)]
lvm: remove lvm-cleanup
Harald Hoyer [Thu, 14 Jan 2010 16:02:18 +0000 (17:02 +0100)]
test: remove lvm.conf in create-root.sh
Munehiro Matsuda [Thu, 14 Jan 2010 15:32:09 +0000 (16:32 +0100)]
dmsquash: add support for loopmounted *.iso files
https://bugzilla.redhat.com/show_bug.cgi?id=548283
Harald Hoyer [Thu, 14 Jan 2010 14:54:17 +0000 (15:54 +0100)]
dracut.spec: update plymouth requirements
Harald Hoyer [Wed, 13 Jan 2010 16:59:14 +0000 (17:59 +0100)]
lvm: add rd_LVM_LV and "--poll n"
Harald Hoyer [Wed, 13 Jan 2010 16:13:20 +0000 (17:13 +0100)]
install lsinitrd/mkinitrd
Harald Hoyer [Wed, 13 Jan 2010 15:33:40 +0000 (16:33 +0100)]
crypt/dm: move dmeventd to dm module
Mike Snitzer [Wed, 13 Jan 2010 15:27:49 +0000 (16:27 +0100)]
lvm: lvm.conf (locking_type = 4)
- the use of sed is placeholder "hack" until lvm2 provides a proper
tool for changing lvm.conf
- lvm_scan.sh should run lvm commands with --ignorelockingfailure to
re-use lvm's existing initrd-specific logic; future lvm2 changes
will split this flag out into various new command-line switches
- no monitoring should be started from within initramfs
- NOTE: the same should apply to 90dmraid/install
- the correct types would be: '[ "blkext", 1 , "cciss0", 16 ]'
but lvm2 (>= 2.02.52) already properly supports both 'blkext' and
'cciss' (including cciss0 -> cciss7)
Andrey Borzenkov [Wed, 13 Jan 2010 15:07:13 +0000 (16:07 +0100)]
Add user suspend support
This patch adds support for user mode suspend to disk. It is installed
in parallel to kernel mode suspend module; either will fail if
system was not suspended using correct tool so next one can be tried.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Luca Berra [Sat, 9 Jan 2010 08:39:22 +0000 (09:39 +0100)]
Ensure UNICODE keyboard layout is functional in emergency shell
/lib/udev/cosole_init will load either non-unicode or unicode versions
of keyboard layout for the same value of KEYMAP depending on language
setting. The simplest solution is to install both versions in initrd;
it does not take much space.
While on it, copy some additional maps to ensure emergency shell
has the same keyboard layout as full system.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: Luca Berra <bluca@vodka.it>
Luca Berra [Wed, 13 Jan 2010 15:03:32 +0000 (16:03 +0100)]
add mkinitrd-dracut.sh wrapper
a wrapper around dracut with the syntax from mkinitrd, could
help transition to dracut.
Luca Berra [Wed, 13 Jan 2010 15:02:10 +0000 (16:02 +0100)]
dracut-functions: add additional drivers in host-only mode, too
this makes dracut load kernel module specified in add-drivers even
if building an host-only mkinitrd, it is useful in cases where we
might change some storage drivers and still don't want to build
an enormous initrd (e.g. ahci/ata_piix)
Luca Berra [Wed, 13 Jan 2010 15:01:36 +0000 (16:01 +0100)]
base: improve emergency shell
for some unknown reason the emergency shell
starts with stderr closed, at first I even tought it was not working at
all, then I came up with this hack, which seems to work properly. I also
change the prompt to remind which step are we breaking to.
Luca Berra [Wed, 13 Jan 2010 14:57:32 +0000 (15:57 +0100)]
install umount for the modules, which use it
Luca Berra [Wed, 13 Jan 2010 14:56:34 +0000 (15:56 +0100)]
base: do not force load policy if selinux is not installed at all
Luca Berra [Wed, 13 Jan 2010 14:53:17 +0000 (15:53 +0100)]
dracut-functions: add support for compressed kernel modules
Luca Berra [Wed, 13 Jan 2010 14:50:52 +0000 (15:50 +0100)]
terminfo: search also for /usr/share/terminfo
Luca Berra [Wed, 13 Jan 2010 14:50:02 +0000 (15:50 +0100)]
redhat-i18n: search also in /usr/lib
we have kbd data in /usr/lib, so this patch will
search for /lib/kbd and /usr/lib/kbd and use the existing one
Konrad Rzeszutek Wilk [Wed, 13 Jan 2010 14:37:05 +0000 (15:37 +0100)]
60xen: add support for loading Xen modules
Harald Hoyer [Wed, 13 Jan 2010 14:34:18 +0000 (15:34 +0100)]
kernel: add rdloaddriver kernel command line parameter
rdloaddriver=<drivername>
force loading kernel module <drivername>
Harald Hoyer [Wed, 13 Jan 2010 13:26:46 +0000 (14:26 +0100)]
s390: add call to *_cio_free and use current s390utils udev rules
Harald Hoyer [Wed, 13 Jan 2010 13:16:49 +0000 (14:16 +0100)]
dracut.spec: add Obsoletes of mkinitrd/nash/libbdevid-python
Harald Hoyer [Tue, 12 Jan 2010 14:08:54 +0000 (15:08 +0100)]
dmsquash: add nasty hack for cdroms
Some CDROMs do not generate a label symlink and have to be read from.
Harald Hoyer [Tue, 12 Jan 2010 13:55:09 +0000 (14:55 +0100)]
cryptroot-ask.sh: fixed luks handling
see https://bugzilla.redhat.com/show_bug.cgi?id=530898#c16
Harald Hoyer [Tue, 12 Jan 2010 13:51:17 +0000 (14:51 +0100)]
add man pages for dracut-catimages and dracut-gencmdline
Harald Hoyer [Tue, 12 Jan 2010 09:37:27 +0000 (10:37 +0100)]
dracut-lib: prevent double log output
Harald Hoyer [Tue, 12 Jan 2010 09:31:51 +0000 (10:31 +0100)]
multipath: check for existance before trying to install
Harald Hoyer [Mon, 21 Dec 2009 14:13:54 +0000 (15:13 +0100)]
plymouth-pretrigger: force initializing of console (bug #526570)
Harald Hoyer [Mon, 21 Dec 2009 14:12:54 +0000 (15:12 +0100)]
cryptroot-ask.sh: s/==/=/g (bug #542081)
Harald Hoyer [Mon, 30 Nov 2009 14:24:47 +0000 (15:24 +0100)]
multipath: supress warnings, if multipath not installed on system
Harald Hoyer [Fri, 27 Nov 2009 14:38:37 +0000 (15:38 +0100)]
.mailmap: updated
Harald Hoyer [Fri, 27 Nov 2009 14:38:21 +0000 (15:38 +0100)]
AUTHORS: updated
Harald Hoyer [Fri, 27 Nov 2009 14:25:46 +0000 (15:25 +0100)]
version 003
Harald Hoyer [Fri, 27 Nov 2009 14:03:34 +0000 (15:03 +0100)]
debian: s/dracut-net/dracut-network/g
Philippe Seewer [Fri, 27 Nov 2009 13:46:31 +0000 (14:46 +0100)]
Debian support: Add necessary control files for packaging
This patch adds all necessary files to build dracut debian packages.
- I've split dracut into two parts: The dracut package for booting from block
devices and dracut-net for netroot.
- I've deliberately left out all redhat specific modules, they do not make any
sense on debian at all
Philippe Seewer [Fri, 27 Nov 2009 13:46:30 +0000 (14:46 +0100)]
Debian support: Add dracut-update-initramfs
This script is necessary to integrate dracut into the initramfs-
infrastructure of debian.
The file itself is just a copy from initramfs-tools' update-initramfs,
with a few lines modified to run dracut instead of mkinitramfs.
Harald Hoyer [Fri, 27 Nov 2009 13:57:37 +0000 (14:57 +0100)]
Makefile: gitrpm: cleanup on failed rpmbuild
Harald Hoyer [Fri, 27 Nov 2009 13:55:54 +0000 (14:55 +0100)]
dracut.spec: removed ubuntu module
Harald Hoyer [Fri, 27 Nov 2009 13:55:02 +0000 (14:55 +0100)]
fips: do not activate fips module by default
Harald Hoyer [Fri, 27 Nov 2009 13:32:28 +0000 (14:32 +0100)]
fips: more shebang
Harald Hoyer [Fri, 27 Nov 2009 13:31:05 +0000 (14:31 +0100)]
fips: add shebang to fips.sh
Harald Hoyer [Fri, 27 Nov 2009 13:29:32 +0000 (14:29 +0100)]
changed hostonly documentation and handling
Harald Hoyer [Fri, 27 Nov 2009 13:17:53 +0000 (14:17 +0100)]
dracut.spec: add comment how to get source for a git snapshot
Philippe Seewer [Fri, 27 Nov 2009 12:47:28 +0000 (13:47 +0100)]
Remove Ubuntu 8.10 support
This is outdated and no longer needed
Philippe Seewer [Fri, 27 Nov 2009 10:57:14 +0000 (11:57 +0100)]
All module scripts should have a shebang
Philippe Seewer [Fri, 27 Nov 2009 10:57:16 +0000 (11:57 +0100)]
Fix manpage display errors
Some lines in dracut's manpage are just too long for justified
display on 80c terminals. These small corrections fix this. In addition
man --warnings does not complain anymore about anything at all.
Philippe Seewer [Fri, 27 Nov 2009 10:57:15 +0000 (11:57 +0100)]
loginit: Fix shebang
Philippe Seewer [Fri, 27 Nov 2009 10:57:11 +0000 (11:57 +0100)]
initqueue: Remove trailing ;
dash -n complains about the trailing ';' and somehow I think this
really isn't needed.
Philippe Seewer [Fri, 27 Nov 2009 10:57:13 +0000 (11:57 +0100)]
Module scripts should be executable
Philippe Seewer [Fri, 27 Nov 2009 10:57:12 +0000 (11:57 +0100)]
syslog-genrules.sh: Shebang should be /bin/sh not /bin/dash
Harald Hoyer [Fri, 27 Nov 2009 09:53:28 +0000 (10:53 +0100)]
add dracut.conf man page
Harald Hoyer [Fri, 27 Nov 2009 09:52:55 +0000 (10:52 +0100)]
dracut: fix no_kernel typo
Harald Hoyer [Thu, 26 Nov 2009 18:12:20 +0000 (19:12 +0100)]
test: set PATH
Harald Hoyer [Thu, 26 Nov 2009 10:15:59 +0000 (11:15 +0100)]
rootfs-block/mount-root: remount root with /etc/fstab filesystem options
Harald Hoyer [Thu, 26 Nov 2009 10:38:00 +0000 (11:38 +0100)]
multipath: corrected initqueue parameter
Harald Hoyer [Thu, 26 Nov 2009 10:02:34 +0000 (11:02 +0100)]
dm: install dmsetup
Harald Hoyer [Thu, 26 Nov 2009 09:53:09 +0000 (10:53 +0100)]
dracut-functions: inst_simple(): do not bail out if target is a dir and exists
Harald Hoyer [Thu, 26 Nov 2009 09:38:40 +0000 (10:38 +0100)]
nfs: add rd_NFS_DOMAIN parameter to set the NFSv4 domain name
https://bugzilla.redhat.com/show_bug.cgi?id=537969
Harald Hoyer [Thu, 26 Nov 2009 09:38:06 +0000 (10:38 +0100)]
nfs: install passwd entries for nobody and nfsnobody
Harald Hoyer [Wed, 25 Nov 2009 18:59:30 +0000 (19:59 +0100)]
lvm/dmraid: make LIBDIR depend on the binary
Yanko Kaneti [Tue, 24 Nov 2009 21:50:16 +0000 (23:50 +0200)]
Wildcards need dracut_install
Harald Hoyer [Wed, 25 Nov 2009 18:51:28 +0000 (19:51 +0100)]
lvm: scan without monitor
https://bugzilla.redhat.com/show_bug.cgi?id=540289
Peter Jones [Mon, 23 Nov 2009 15:15:56 +0000 (10:15 -0500)]
Handle modules with hyphens in their names properly.
If a module has a hyphen in its name, it will show up as an underscore
in /proc/modules. Because of this, when we're testing /proc/modules,
we have to munge our module filename expression to match.
Peter Jones [Wed, 25 Nov 2009 16:26:38 +0000 (11:26 -0500)]
This has to be executable.
multipath-scan.sh has to be executable, of course.
Peter Jones [Wed, 25 Nov 2009 16:06:35 +0000 (11:06 -0500)]
Fix missing shell variables.
Somehow copy+paste from one machine to the other removed all the shell
variables from this line. Oops.
Peter Jones [Tue, 24 Nov 2009 19:47:48 +0000 (14:47 -0500)]
Bring up multipath devices that are configured in multipath.conf.
This brings up multipath devices which are configured in multipath.conf
as we find them.
Peter Jones [Tue, 24 Nov 2009 19:46:40 +0000 (14:46 -0500)]
Make sure and get all the multipath related modules.
Install all modules that are any of:
- scsi device handler
- dm log handler
- dm path selector
- dm target
It would be nice if we could tell which log handlers and targets are
multipath related, but we really can't.
Peter Jones [Tue, 24 Nov 2009 19:45:27 +0000 (14:45 -0500)]
Add #!/bin/bash for consistency.
Most install scripts seem to have it there, may as well make this one
like the rest...
Peter Jones [Tue, 24 Nov 2009 19:43:56 +0000 (14:43 -0500)]
Use glob for libdir when installing multipath libraries.
Use "/lib*/" not "/lib/" so it works when they're in /lib/multipath as
well as when they're in /lib64/multipath
Harald Hoyer [Mon, 23 Nov 2009 11:28:20 +0000 (12:28 +0100)]
specfile update
Harald Hoyer [Mon, 23 Nov 2009 11:12:56 +0000 (12:12 +0100)]
90dm: install more device mapper kernel modules
Harald Hoyer [Mon, 23 Nov 2009 11:10:39 +0000 (12:10 +0100)]
kernel-modules: add firewire-ohci to hardcoded modules list
Harald Hoyer [Mon, 23 Nov 2009 11:09:42 +0000 (12:09 +0100)]
fips: search different lib paths
Harald Hoyer [Mon, 23 Nov 2009 10:59:58 +0000 (11:59 +0100)]
Makefile: add WITH_SWITCH_ROOT
Harald Hoyer [Thu, 19 Nov 2009 14:47:06 +0000 (15:47 +0100)]
dracut: create initramfs-$(kernelversion).img by default
Harald Hoyer [Thu, 19 Nov 2009 14:46:09 +0000 (15:46 +0100)]
dracut: check more return codes, check for permissions and use derror
Harald Hoyer [Wed, 18 Nov 2009 09:24:08 +0000 (10:24 +0100)]
dracut.8: fixed formatting for rootfs and mount options
Harald Hoyer [Tue, 17 Nov 2009 14:00:56 +0000 (15:00 +0100)]
specfile update
Harald Hoyer [Tue, 17 Nov 2009 13:58:51 +0000 (14:58 +0100)]
multipath: install multipath kernel module
Harald Hoyer [Tue, 17 Nov 2009 13:58:42 +0000 (14:58 +0100)]
multipath: install xdr utils
Harald Hoyer [Fri, 13 Nov 2009 09:36:27 +0000 (10:36 +0100)]
NEWS update
Harald Hoyer [Fri, 13 Nov 2009 09:27:09 +0000 (10:27 +0100)]
multipath: install udev rules and helper tools
Harald Hoyer [Fri, 13 Nov 2009 09:26:50 +0000 (10:26 +0100)]
specfile update
Dan Horák [Thu, 12 Nov 2009 13:44:25 +0000 (14:44 +0100)]
move dasd initialization script and rules to s390utils
The primary source for dasd initialization script and udev rules is
now in s390utils package. The s390utils-base subpackage, that carries
the required files, is always installed on s390/s390x, because it's
part of the Core group in comps.
Signed-off-by: Dan Horák <dan@danny.cz>
Harald Hoyer [Thu, 12 Nov 2009 14:12:18 +0000 (15:12 +0100)]
add module 90multipath
Harald Hoyer [Thu, 12 Nov 2009 13:58:27 +0000 (14:58 +0100)]
add module fips