]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
12 years agoSupport out-of-tree and updated drivers in initramfs creation
Joe Lawrence [Thu, 24 Jan 2013 22:26:43 +0000 (17:26 -0500)] 
Support out-of-tree and updated drivers in initramfs creation

The find_kernel_modules_by_path function shouldn't filter out modules not
located underneath the /lib/modules/ver/kernel directory as out-of-tree
drivers may reside in /lib/modules/ver/extra and updated drivers in
/lib/modules/ver/updates.

Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
12 years agorootfs-block/mount-root.sh: fixup for 8b6bf0ef5
Harald Hoyer [Wed, 23 Jan 2013 15:23:07 +0000 (16:23 +0100)] 
rootfs-block/mount-root.sh: fixup for 8b6bf0ef5

not only fix the warning message, but the real mount arguments, too

12 years agoNEWS: update for version 025
Harald Hoyer [Wed, 23 Jan 2013 15:12:18 +0000 (16:12 +0100)] 
NEWS: update for version 025

12 years agoversion 025 025
Harald Hoyer [Wed, 23 Jan 2013 14:35:13 +0000 (15:35 +0100)] 
version 025

12 years agodracut.spec: add drm module
Harald Hoyer [Wed, 23 Jan 2013 14:38:36 +0000 (15:38 +0100)] 
dracut.spec: add drm module

12 years agoInclude crc32c module for xfs.
Colin Guthrie [Sun, 13 Jan 2013 14:06:58 +0000 (14:06 +0000)] 
Include crc32c module for xfs.

Just like btrfs, xfs now requires CRC module that cannot be resolved via
normal module resolving.

Move this hack into fs-lib and remove it from btrfs module.

https://bugs.mageia.org/show_bug.cgi?id=8676

12 years agodracut-functions.sh: cope with optional field #7 in mountinfo
Harald Hoyer [Wed, 23 Jan 2013 13:10:15 +0000 (14:10 +0100)] 
dracut-functions.sh: cope with optional field #7 in mountinfo

also handle fstab entries with LABEL=, UUID= and PARTUUID=

12 years agonetwork/dhclient-script.sh: also touch "/tmp/setup_net_<mac>.ok"
Harald Hoyer [Wed, 23 Jan 2013 13:08:23 +0000 (14:08 +0100)] 
network/dhclient-script.sh: also touch "/tmp/setup_net_<mac>.ok"

12 years agoromount fix
Harald Hoyer [Tue, 22 Jan 2013 17:11:04 +0000 (18:11 +0100)] 
romount fix

12 years agoAdd memory usage trace to diffrent hook points
Dave Young [Fri, 18 Jan 2013 01:59:52 +0000 (09:59 +0800)] 
Add memory usage trace to diffrent hook points

Hi, Here is an update of this patch, fixed the local variable issue.

12 years agoadd function getargnum
dyoung@redhat.com [Thu, 17 Jan 2013 08:55:50 +0000 (16:55 +0800)] 
add function getargnum

For cmdline argument with numeric value, add a new function getargnum
It will get proper value with default value as $1, min value as $2,
max value as $3, and param name as $4. valid result will be echo to stdout.
for nul or value not valid it will just echo the default value.
Note: The values should be >=0

[v1->v2]: add arg <minval>
[v2->v3]: do not use bash string match =~

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agouse linkup in dhclient-script.sh
Dave Young [Sun, 6 Jan 2013 06:17:54 +0000 (14:17 +0800)] 
use linkup in dhclient-script.sh

linkup is a wrapper function for waiting interface ready and up.
change to use linkup as what we do in ifup script.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agoExtend 52f1b041 to allow devices to be specified in config files as well as cmdline.
Colin Guthrie [Mon, 21 Jan 2013 11:23:19 +0000 (11:23 +0000)] 
Extend 52f1b041 to allow devices to be specified in config files as well as cmdline.

This also changes the command line switch to be --add-device and the
config directive is set to add_device. This was chosen as device= in the
config file seems too generic and not quite as consistent with other
directives (i.e. drivers/add_drivers)

The --device command line is still supported but it should be considered
deprecated in favour of --add-device.

12 years agofix teamd exec in case config does not include devname
Jiri Pirko [Thu, 10 Jan 2013 14:02:51 +0000 (15:02 +0100)] 
fix teamd exec in case config does not include devname

In case that configuration file did not include name of team device,
teamd would not start. Fix this by adding "-t" parameter.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
12 years agoshutdown: kill all processes and report remaining ones
Harald Hoyer [Fri, 18 Jan 2013 12:46:30 +0000 (13:46 +0100)] 
shutdown: kill all processes and report remaining ones

12 years agomdraid: add mdmon-offroot@.service and takeover mdmon in shutdown
Harald Hoyer [Fri, 18 Jan 2013 10:01:43 +0000 (11:01 +0100)] 
mdraid: add mdmon-offroot@.service and takeover mdmon in shutdown

12 years agoshutdown: source pre-shutdown hook and force quit plymouth before umount
Harald Hoyer [Fri, 18 Jan 2013 10:00:48 +0000 (11:00 +0100)] 
shutdown: source pre-shutdown hook and force quit plymouth before umount

12 years agodracut-lib.sh: force hide plymouth in shutdown emergency shell
Harald Hoyer [Fri, 18 Jan 2013 10:00:00 +0000 (11:00 +0100)] 
dracut-lib.sh: force hide plymouth in shutdown emergency shell

12 years agodracut-functions.sh: add pre-shutdown hook
Harald Hoyer [Fri, 18 Jan 2013 09:59:39 +0000 (10:59 +0100)] 
dracut-functions.sh: add pre-shutdown hook

12 years agodracut.asc: document shutdown procedure
Harald Hoyer [Fri, 18 Jan 2013 09:13:14 +0000 (10:13 +0100)] 
dracut.asc: document shutdown procedure

12 years agodracut.asc: s/rd.ip/ip/g
Harald Hoyer [Mon, 7 Jan 2013 17:00:06 +0000 (18:00 +0100)] 
dracut.asc: s/rd.ip/ip/g

12 years agodracut-functions.sh: fixed inst_rules search path
Harald Hoyer [Thu, 3 Jan 2013 08:29:05 +0000 (09:29 +0100)] 
dracut-functions.sh: fixed inst_rules search path

12 years agousrmount/mount-usr.sh: filter "subvol=" from root rflags
Harald Hoyer [Wed, 2 Jan 2013 12:43:56 +0000 (13:43 +0100)] 
usrmount/mount-usr.sh: filter "subvol=" from root rflags

https://bugzilla.redhat.com/show_bug.cgi?id=890577

12 years agokernel-modules: create /etc/modprobe.d if it does not yet exist
Harald Hoyer [Wed, 2 Jan 2013 10:11:21 +0000 (11:11 +0100)] 
kernel-modules: create /etc/modprobe.d if it does not yet exist

https://bugzilla.redhat.com/show_bug.cgi?id=873220

12 years agodmsquash-live: fixed checkisomd5 service call
Harald Hoyer [Thu, 20 Dec 2012 12:46:31 +0000 (13:46 +0100)] 
dmsquash-live: fixed checkisomd5 service call

12 years agoWait for interface up at the early stage
dyoung@redhat.com [Wed, 12 Dec 2012 04:23:26 +0000 (12:23 +0800)] 
Wait for interface up at the early stage

In case long delay of network driver initqueue will exit before net dev is
ready. We have no chance to setup it then.
For dhcp, when we finish the setup there will be a setup_net_<dev>.ok. Doing
same for static ip case. Also add a check to initqueue when we generate udev
rules to ensure it's early enough.

[v1->v2]: only wait for bootdev or it's possible to cause boot fail for
waiting for non-bootdev. For example bond0->eth0, set bond0 as bootdev and
dhcp, we only need to wait bond0 setup ok.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agoGet ifaces for udev rule use
dyoung@redhat.com [Wed, 12 Dec 2012 04:23:25 +0000 (12:23 +0800)] 
Get ifaces for udev rule use

In case BOOTIF is not set and IFACES are not set in bonding/vlan/bridge code,
net-genrule.sh will fall to bring up all net interfaces.

Here add a failsafe option to read IFACES from /tmp/net.ifaces

[v1->v2]: move IFACES reading from net.ifaces after bonding/vlan/bridge info
code chunks.
[v2->v3]: [ -n "$IFACES" ] should be  [ -z "$IFACES" ]

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agoWait for link ready before use the interface
dyoung@redhat.com [Wed, 12 Dec 2012 04:23:24 +0000 (12:23 +0800)] 
Wait for link ready before use the interface

Some network driver will take long time to initialize. We have an example
in a HP machine which take about one minute for this. The callback such as
"ip link set <dev> up" will fail, afterwards setup for network will also
fail.

Fix this by add a new function wait_for_if_link, wait the link ready before
use it.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agoChange to use linkup function in network scripts
dyoung@redhat.com [Wed, 12 Dec 2012 04:23:23 +0000 (12:23 +0800)] 
Change to use linkup function in network scripts

Update ifup.sh and fcoe-up.sh, use linkup function instead of directly
call ip command.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agoAdd function linkup
dyoung@redhat.com [Wed, 12 Dec 2012 04:23:22 +0000 (12:23 +0800)] 
Add function linkup

set link up usually include two steps, ip link set <dev> up and
wait_for_if_up <dev>. Now do these two steps in one function linkup.
Later patch will add other code into it.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agoMove wait for if functions to net lib
dyoung@redhat.com [Wed, 12 Dec 2012 04:23:21 +0000 (12:23 +0800)] 
Move wait for if functions to net lib

net-lib.sh are created for net related functions, move the wait_for_if* to
net-lib.sh naturally.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agodracut: add team device support
Cong Wang [Thu, 13 Dec 2012 14:30:25 +0000 (22:30 +0800)] 
dracut: add team device support

V2: merge patch 2/2
    fix active-backup mode by adding slaves one by one
    sync with the latest teamd
    improve the comments
    wait for team ports to come up
    install /etc/libnl/classid too

This patch adds the initial support for team device [1].
A new cmdline team= is introduced for it.

Note, currently we don't support stacked devices
on/under team, it is tricky and can be added on request.

1. http://www.libteam.org/

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <amwang@redhat.com>
12 years agochange for "udevadm control": s/--reload-rules/--reload/g
Harald Hoyer [Fri, 30 Nov 2012 10:15:39 +0000 (11:15 +0100)] 
change for "udevadm control": s/--reload-rules/--reload/g

12 years agoiscsi/iscsiroot.sh: reload rules after adding 99-iscsi-root.rules
Harald Hoyer [Fri, 30 Nov 2012 10:13:17 +0000 (11:13 +0100)] 
iscsi/iscsiroot.sh: reload rules after adding 99-iscsi-root.rules

12 years agocms/cms-write-ifcfg.sh: also fill in /etc/hostname
Harald Hoyer [Thu, 29 Nov 2012 15:23:39 +0000 (16:23 +0100)] 
cms/cms-write-ifcfg.sh: also fill in /etc/hostname

12 years agoudev-rules/udev-rules-prepare.sh: get UDEVVERSION, if unset
Harald Hoyer [Thu, 29 Nov 2012 15:07:15 +0000 (16:07 +0100)] 
udev-rules/udev-rules-prepare.sh: get UDEVVERSION, if unset

12 years agoFallback to external blkid and path_id in udev rules for <udev-176.
Amadeusz Żołnowski [Thu, 1 Nov 2012 10:06:22 +0000 (11:06 +0100)] 
Fallback to external blkid and path_id in udev rules for <udev-176.

Starting with commit 24a38bc1cbe461c344ce61c7e10b6d51d5689c93 dracut
uses udev builtins but still depends on >=udev-166 in dracut.spec.  This
patch makes dracut work with older udev again.

All credits go to Alexander Tsoy <alexander@tsoy.me>; see

  https://bugs.gentoo.org/show_bug.cgi?id=437700

12 years agonfs/nfsroot-cleanup.sh: mount --bind instead of --move
Harald Hoyer [Thu, 29 Nov 2012 15:07:35 +0000 (16:07 +0100)] 
nfs/nfsroot-cleanup.sh: mount --bind instead of --move

12 years agodracut.spec: add iputils and iproute requirement for dracut-network
Harald Hoyer [Tue, 27 Nov 2012 12:25:46 +0000 (13:25 +0100)] 
dracut.spec: add iputils and iproute requirement for dracut-network

12 years agoFix rd.blacklist.driver when no /etc/modprobe.d exists
Nicolas Chauvet [Mon, 5 Nov 2012 23:39:04 +0000 (00:39 +0100)] 
Fix rd.blacklist.driver when no /etc/modprobe.d exists

This bug was reported as http://bugzilla.redhat.com/873220#c2

As the /etc/modprobe.d isn't created in the boot process
nor bundled within the initramfs, the initramfsblacklist.conf
cannot be created.

Instead, the /usr/lib/modprobe.d directory is available and using it
will restore the blacklist behavior.

12 years agoadd 'swapoff' to initramfs to fix shutdown/reboot
Will Woods [Wed, 24 Oct 2012 17:06:28 +0000 (13:06 -0400)] 
add 'swapoff' to initramfs to fix shutdown/reboot

systemd shutdown/reboot won't work unless 'swapoff' is available.

12 years agodrop NEWROOT from module-setup.sh
Will Woods [Wed, 24 Oct 2012 17:06:11 +0000 (13:06 -0400)] 
drop NEWROOT from module-setup.sh

This was almost certainly copy-pasted from mount-root.sh, but it's not
valid here - dracut doesn't use NEWROOT outside of the initramfs.

12 years agosplit plymouth module
Dave Young [Mon, 12 Nov 2012 09:24:41 +0000 (17:24 +0800)] 
split plymouth module

Kdump module will need the drm and kms kernel modules so user can see the
emergency shell at least.

Fix this by split 50plymouth module to 50drm and 50plymouth. Moving the
installkernel part to 50drm so user can use drm directly without adding
extra plymouth utils.

Signed-off-by: Dave Young <dyoung@redhat.com>
Tested-by: Chao Wang <chaowang@redhat.com>
12 years agosystemd/dracut-cmdline.service: run before systemd-vconsole-setup
Harald Hoyer [Thu, 29 Nov 2012 14:53:15 +0000 (15:53 +0100)] 
systemd/dracut-cmdline.service: run before systemd-vconsole-setup

cmdline does generate vconsole.conf, which is needed by vconsole-setup

12 years agosystemd/service-to-run.sh: silence "cp" errors
Harald Hoyer [Thu, 29 Nov 2012 14:52:53 +0000 (15:52 +0100)] 
systemd/service-to-run.sh: silence "cp" errors

12 years agocrypt/crypt-run-generator.sh: do not timeout for LUKS passwords with systemd
Harald Hoyer [Fri, 30 Nov 2012 14:22:43 +0000 (15:22 +0100)] 
crypt/crypt-run-generator.sh: do not timeout for LUKS passwords with systemd

12 years agodmsquash-live: add systemd checkisomd5 service
Harald Hoyer [Fri, 14 Dec 2012 07:57:22 +0000 (08:57 +0100)] 
dmsquash-live: add systemd checkisomd5 service

12 years agonetwork: fixed MAC address assignment
Harald Hoyer [Mon, 26 Nov 2012 12:49:38 +0000 (13:49 +0100)] 
network: fixed MAC address assignment

12 years agosystemd/module-setup.sh: turn off RateLimit for the journal
Harald Hoyer [Mon, 26 Nov 2012 12:49:19 +0000 (13:49 +0100)] 
systemd/module-setup.sh: turn off RateLimit for the journal

12 years agocms/cmssetup.sh: sync udev rules names with network/net-genrules.sh
Harald Hoyer [Thu, 22 Nov 2012 11:31:18 +0000 (12:31 +0100)] 
cms/cmssetup.sh: sync udev rules names with network/net-genrules.sh

https://bugzilla.redhat.com/show_bug.cgi?id=825199

12 years agonfs/nfs-start-rpc.sh: prevent mount error, if sunrpc kernel module is not in the...
Harald Hoyer [Thu, 22 Nov 2012 11:14:31 +0000 (12:14 +0100)] 
nfs/nfs-start-rpc.sh: prevent mount error, if sunrpc kernel module is not in the initramfs

https://bugzilla.redhat.com/show_bug.cgi?id=870632

12 years agoi18n/parse-i18n.sh: fix locale.conf caused by 4dbc1d1bb3dcbb173b02
Harald Hoyer [Thu, 22 Nov 2012 10:58:37 +0000 (11:58 +0100)] 
i18n/parse-i18n.sh: fix locale.conf caused by 4dbc1d1bb3dcbb173b02

https://bugzilla.redhat.com/show_bug.cgi?id=870632

12 years agocrypt/crypt-run-generator.sh: fixup last commit 065fc56ab27d8ea1aace72de54a6884bb558ea97
Harald Hoyer [Wed, 21 Nov 2012 15:30:58 +0000 (16:30 +0100)] 
crypt/crypt-run-generator.sh: fixup last commit 065fc56ab27d8ea1aace72de54a6884bb558ea97

12 years agoMake short uuid specification for allow-discards work
Robert Buchholz [Sun, 11 Nov 2012 19:25:06 +0000 (20:25 +0100)] 
Make short uuid specification for allow-discards work

1) strstr " $discarduuids " did not remove the optional
'luks-' prefix from the argument as the documentation says.

2) The lookup seems backwards. $luksdev ($luks in the other code copy)
is the full uuid and thus one should check whether the user-supplied
argument (short form) is contained therein, not the other way around.

Before this commit, the only way to trigger allow-discards was to
specify the full uuid without the 'luks-' prefix.

12 years agoAdd sosreport script and generate /run/initramfs/sosreport.txt
Harald Hoyer [Wed, 21 Nov 2012 13:07:54 +0000 (14:07 +0100)] 
Add sosreport script and generate /run/initramfs/sosreport.txt

12 years agodracut.sh: do not strip signed kernel modules
Harald Hoyer [Wed, 21 Nov 2012 09:47:38 +0000 (10:47 +0100)] 
dracut.sh: do not strip signed kernel modules

https://bugzilla.redhat.com/show_bug.cgi?id=873796

12 years ago[nfs|cifs]root.sh: make "/dev/root" a symlink, so it gets cleaned up later on
Harald Hoyer [Mon, 19 Nov 2012 15:59:30 +0000 (16:59 +0100)] 
[nfs|cifs]root.sh: make "/dev/root" a symlink, so it gets cleaned up later on

13 years agodracut.sh: only 'warn' not 'error', if we don't strip
Harald Hoyer [Fri, 19 Oct 2012 09:20:07 +0000 (11:20 +0200)] 
dracut.sh: only 'warn' not 'error', if we don't strip

13 years ago40network/ifup.sh: do_static() and do_ipv6auto return 0 if no errors.
WANG Chao [Thu, 18 Oct 2012 08:43:28 +0000 (16:43 +0800)] 
40network/ifup.sh: do_static() and do_ipv6auto return 0 if no errors.

Commit a0be1ed removes some lines from do_static() and do_ipv6auto().

When $hostname is empty, do_static() and do_ipv6auto() will return 1
and fails to run setup_net at the last of ifup.sh

Signed-off-by: WANG Chao <chaowang@redhat.com>
13 years agodracut.conf.d/fedora.conf.example: s/kernelcmdline/kernel_cmdline
Harald Hoyer [Fri, 19 Oct 2012 09:10:03 +0000 (11:10 +0200)] 
dracut.conf.d/fedora.conf.example: s/kernelcmdline/kernel_cmdline

13 years agodracut.sh: only save $kernel_cmdline, if set
Harald Hoyer [Fri, 19 Oct 2012 09:09:38 +0000 (11:09 +0200)] 
dracut.sh: only save $kernel_cmdline, if set

13 years agoversion 024 024
Harald Hoyer [Tue, 16 Oct 2012 14:31:06 +0000 (16:31 +0200)] 
version 024

13 years agoTEST-04-FULL-SYSTEMD: fixed poweroff
Harald Hoyer [Tue, 16 Oct 2012 14:20:33 +0000 (16:20 +0200)] 
TEST-04-FULL-SYSTEMD: fixed poweroff

13 years agoAUTHORS: update
Harald Hoyer [Tue, 16 Oct 2012 14:19:51 +0000 (16:19 +0200)] 
AUTHORS: update

13 years agoprelink and preunlink (for FIPS) in the initramfs
Harald Hoyer [Tue, 16 Oct 2012 12:57:09 +0000 (14:57 +0200)] 
prelink and preunlink (for FIPS) in the initramfs

also hardlink before strip

13 years agostrip initramfs binaries by default (not all for FIPS)
Harald Hoyer [Tue, 16 Oct 2012 12:53:26 +0000 (14:53 +0200)] 
strip initramfs binaries by default (not all for FIPS)

13 years agoMakefile: cleanup xml files
Harald Hoyer [Tue, 16 Oct 2012 12:51:42 +0000 (14:51 +0200)] 
Makefile: cleanup xml files

13 years agoDo not overwrite ifcfg files generated by Anaconda kickstart (#865192)
Radek Vykydal [Tue, 16 Oct 2012 10:34:43 +0000 (12:34 +0200)] 
Do not overwrite ifcfg files generated by Anaconda kickstart (#865192)

13 years agofcoe/fcoe-up: sleep for 3s to allow dcb negotiation
Harald Hoyer [Thu, 11 Oct 2012 11:14:13 +0000 (13:14 +0200)] 
fcoe/fcoe-up: sleep for 3s to allow dcb negotiation

https://bugzilla.redhat.com/show_bug.cgi?id=813057

13 years agonetwork/parse-ip-opts.sh: relax bootdev handling
Harald Hoyer [Fri, 12 Oct 2012 09:54:07 +0000 (11:54 +0200)] 
network/parse-ip-opts.sh: relax bootdev handling

13 years agocombine some instmods
Harald Hoyer [Tue, 16 Oct 2012 11:16:53 +0000 (13:16 +0200)] 
combine some instmods

13 years agoudev-rules: do not install all /etc/group
Harald Hoyer [Tue, 16 Oct 2012 11:16:18 +0000 (13:16 +0200)] 
udev-rules: do not install all /etc/group

13 years agovirtfs: only install by default, if virt environment detected
Harald Hoyer [Tue, 16 Oct 2012 11:15:40 +0000 (13:15 +0200)] 
virtfs: only install by default, if virt environment detected

13 years agoonly install /etc/modprobe.d for hostonly
Harald Hoyer [Tue, 16 Oct 2012 11:15:21 +0000 (13:15 +0200)] 
only install /etc/modprobe.d for hostonly

13 years agolsinitrd.sh: sort by filename
Harald Hoyer [Tue, 16 Oct 2012 08:25:10 +0000 (10:25 +0200)] 
lsinitrd.sh: sort by filename

13 years agodracut.cmdline.7.asc: document rd.ctty
Harald Hoyer [Tue, 16 Oct 2012 07:40:32 +0000 (09:40 +0200)] 
dracut.cmdline.7.asc: document rd.ctty

13 years agoDon't install FONT if it's the same as DEFAULT_FONT.
Canek Peláez Valdés [Mon, 15 Oct 2012 00:51:54 +0000 (19:51 -0500)] 
Don't install FONT if it's the same as DEFAULT_FONT.

If the user defines FONT in /etc/vconsole.conf as the same font
defined in DEFAULT_FONT, when creating her initd she will get a
message similar to this one:

gzip: /var/tmp/initramfs.wzl9Qt/usr/share/consolefonts/LatArCyrHeb-16.psfu
already exists; do you wish to overwrite (y or n)?

Signed-off-by: Canek Peláez <canek@ciencias.unam.mx>
13 years agossh-client: remove ctty related check
dyoung@redhat.com [Thu, 11 Oct 2012 08:07:58 +0000 (16:07 +0800)] 
ssh-client: remove ctty related check

cttyhack was removed and ctty is supported by default, so no need to
check it in ssh-client module any more.

Signed-off-by: Dave Young <dyoung@redhat.com>
13 years agodracut-functions.sh: don't ask question on gzip uncompress
Harald Hoyer [Tue, 16 Oct 2012 07:36:28 +0000 (09:36 +0200)] 
dracut-functions.sh: don't ask question on gzip uncompress

13 years agodracut.cmdline.7.asc: add warning about passwords on the kernel cmdline
Harald Hoyer [Wed, 10 Oct 2012 13:56:21 +0000 (15:56 +0200)] 
dracut.cmdline.7.asc: add warning about passwords on the kernel cmdline

13 years agodracut*.asc: add documentation about /etc/cmdline.d/*.conf
Harald Hoyer [Wed, 10 Oct 2012 13:18:26 +0000 (15:18 +0200)] 
dracut*.asc: add documentation about /etc/cmdline.d/*.conf

13 years agoMakefile: use fedora css for documentation
Harald Hoyer [Wed, 10 Oct 2012 12:32:18 +0000 (14:32 +0200)] 
Makefile: use fedora css for documentation

13 years agoconsistently lowercase "dracut"
Harald Hoyer [Wed, 10 Oct 2012 12:15:11 +0000 (14:15 +0200)] 
consistently lowercase "dracut"

13 years agoTEST-04-FULL-SYSTEMD/test.sh: fixed $kernel var
Harald Hoyer [Wed, 10 Oct 2012 12:14:31 +0000 (14:14 +0200)] 
TEST-04-FULL-SYSTEMD/test.sh: fixed $kernel var

13 years agoinstall virtio* modules in the generic case
Harald Hoyer [Tue, 9 Oct 2012 15:43:44 +0000 (17:43 +0200)] 
install virtio* modules in the generic case

https://bugzilla.redhat.com/show_bug.cgi?id=864012

13 years agoAdd rd.noverifyssl argument (#852229)
Brian C. Lane [Mon, 8 Oct 2012 22:01:29 +0000 (15:01 -0700)] 
Add rd.noverifyssl argument (#852229)

This adds --insecure to the curl args so that self-signed certificates
will be accepted.

13 years agotest: disable systemd for encryption
Harald Hoyer [Tue, 9 Oct 2012 14:46:46 +0000 (16:46 +0200)] 
test: disable systemd for encryption

13 years agodracut-functions.sh: inst_rules_program() skip udev vars ${}
Harald Hoyer [Mon, 8 Oct 2012 13:39:23 +0000 (15:39 +0200)] 
dracut-functions.sh: inst_rules_program() skip udev vars ${}

13 years agoi18n/parse-i18n.sh: correctly populate /etc/vconsole.conf
Harald Hoyer [Mon, 8 Oct 2012 13:38:41 +0000 (15:38 +0200)] 
i18n/parse-i18n.sh: correctly populate /etc/vconsole.conf

13 years agoshutdown/shutdown.sh: failsafe shutdown for kexec
Harald Hoyer [Mon, 8 Oct 2012 13:37:04 +0000 (15:37 +0200)] 
shutdown/shutdown.sh: failsafe shutdown for kexec

copy kexec from the real root, if it is not found in the unpacked
initramfs for shutdown.

Also drop to an emergency shell, if we can't do the ACTION

13 years agoTEST-20-NFS/test.sh: reformat
Harald Hoyer [Mon, 8 Oct 2012 13:36:41 +0000 (15:36 +0200)] 
TEST-20-NFS/test.sh: reformat

13 years agoTEST-50-MULTINIC/test.sh: fix multinic issues
Harald Hoyer [Mon, 8 Oct 2012 13:04:38 +0000 (15:04 +0200)] 
TEST-50-MULTINIC/test.sh: fix multinic issues

13 years agoreturn proper value in function dracut_install
Dave Young [Mon, 8 Oct 2012 09:40:08 +0000 (17:40 +0800)] 
return proper value in function dracut_install

dracut_install should return the real return value, so module install function
can detect the install failure.

Such as below in 99base:
dracut_install switch_root || dfatal "Failed to install switch_root"

Signed-off-by: Dave Young <dyoung@redhat.com>
13 years agodracut-functions.sh: find_binary: path starting with variable
Amadeusz Żołnowski [Sun, 7 Oct 2012 13:29:03 +0000 (15:29 +0200)] 
dracut-functions.sh: find_binary: path starting with variable

Credits go to Alexander Tsoy <bugs+gentoo@puleglot.ru> who provided the
patch with following explanation:

  I get messages "Skipping program $env{DM_SBIN_PATH}/..." when
  generating initramfs. This happens because some udev rules contains
  variables in path to command:

  $ egrep -r 'IMPORT\{program\}=\"\$' /lib64/udev/rules.d/
  /lib64/udev/rules.d/10-dm.rules:ENV{DM_COOKIE}=="?*", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup udevflags $env{DM_COOKIE}"

  [...]

  $ sudo dracut -f "" 3.5.4-hardened-r1
  I: *** Including module: dm ***
  I: Skipping program $env{DM_SBIN_PATH}/dmsetup using in udev rule 10-dm.rules as it cannot be found

13 years ago90crypt: call systemd commands only if systemd binaries are there
Amadeusz Żołnowski [Sun, 7 Oct 2012 13:29:02 +0000 (15:29 +0200)] 
90crypt: call systemd commands only if systemd binaries are there

13 years agos/libnss*.so/libnss_*.so so that we don't install libnss3.so
Harald Hoyer [Thu, 4 Oct 2012 18:38:25 +0000 (14:38 -0400)] 
s/libnss*.so/libnss_*.so so that we don't install libnss3.so

13 years agosystemd: rename emergency.service to dracut-emergency.service for rd.shell
Harald Hoyer [Thu, 4 Oct 2012 17:24:07 +0000 (13:24 -0400)] 
systemd: rename emergency.service to dracut-emergency.service for rd.shell

13 years agoadd "--kernel-cmdline" and kernel_cmdline options for default parameters
Harald Hoyer [Thu, 4 Oct 2012 17:23:19 +0000 (13:23 -0400)] 
add "--kernel-cmdline" and kernel_cmdline options for default parameters

13 years agodracut-functions: add inst_rule_group_owner()
Harald Hoyer [Thu, 4 Oct 2012 17:04:36 +0000 (13:04 -0400)] 
dracut-functions: add inst_rule_group_owner()

add inst_rule_group_owner() to install GROUP and OWNER of udev rules

13 years agodracut-functions.sh:inst_rules_program() also recognize RUN+=
Harald Hoyer [Thu, 4 Oct 2012 16:15:36 +0000 (12:15 -0400)] 
dracut-functions.sh:inst_rules_program() also recognize RUN+=