platform/upstream/dracut.git
11 years agoudev-rules: add 80-net-name-slot.rules
Harald Hoyer [Thu, 6 Jun 2013 13:40:29 +0000 (15:40 +0200)]
udev-rules: add 80-net-name-slot.rules

11 years agocms/cmssetup.sh: untabify
Harald Hoyer [Thu, 6 Jun 2013 12:13:36 +0000 (14:13 +0200)]
cms/cmssetup.sh: untabify

11 years agocms/cmssetup.sh: reload udev rules after adding them
Harald Hoyer [Thu, 6 Jun 2013 12:13:01 +0000 (14:13 +0200)]
cms/cmssetup.sh: reload udev rules after adding them

11 years agocms/cmssetup.sh: fix LAYER2 ccw.conf setup
Harald Hoyer [Thu, 6 Jun 2013 10:32:36 +0000 (12:32 +0200)]
cms/cmssetup.sh: fix LAYER2 ccw.conf setup

11 years agocms/cmsifup.sh: correctly set MACADDR and MTU for the ip line
Harald Hoyer [Thu, 6 Jun 2013 10:28:02 +0000 (12:28 +0200)]
cms/cmsifup.sh: correctly set MACADDR and MTU for the ip line

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

11 years agocms/cmssetup.sh: do not echo newlines for ccw.conf
Harald Hoyer [Thu, 6 Jun 2013 10:27:19 +0000 (12:27 +0200)]
cms/cmssetup.sh: do not echo newlines for ccw.conf

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

11 years agobase: setup correct system time and time zone in initrd
WANG Chao [Thu, 6 Jun 2013 09:56:11 +0000 (17:56 +0800)]
base: setup correct system time and time zone in initrd

Currently in initrd, hardware clock is always considered to use UTC time
format and system time zone is also UTC. Thus system time isn't correct
if hw clock is localtime or we're using other time zone in real root.

To fix this, install /etc/adjtime and /etc/localtime to initrd. If not
using systemd, install /usr/sbin/hwclock for dracut init to setup system
time.

[harald: combined the two hostonly if's]

Signed-off-by: WANG Chao <chaowang@redhat.com>
Signed-off-by: Harald Hoyer <harald@redhat.com>
11 years agoMakefile: report syntax check files for V=1
Harald Hoyer [Thu, 6 Jun 2013 09:31:07 +0000 (11:31 +0200)]
Makefile: report syntax check files for V=1

11 years agodracut-install: install libs also from one dir above
Harald Hoyer [Thu, 6 Jun 2013 09:06:55 +0000 (11:06 +0200)]
dracut-install: install libs also from one dir above

some HW has different flavors of basic libs

$ ldconfig -p|fgrep libc.so
libc.so.6 (libc6,64bit, hwcap: 0x0000001000000000, OS ABI: Linux 2.6.32) => /lib64/power6/libc.so.6
libc.so.6 (libc6,64bit, hwcap: 0x0000000000000200, OS ABI: Linux 2.6.32) => /lib64/power6x/libc.so.6
libc.so.6 (libc6,64bit, OS ABI: Linux 2.6.32) => /lib64/libc.so.6

because setting LD_HWCAP_MASK=0 does not work, we have to workaround
this.

$ LD_TRACE_LOADED_OBJECTS=1  LD_HWCAP_MASK=0 /lib64/ld64.so.1 /bin/sh | fgrep libc.so
libc.so.6 => /lib64/power6/libc.so.6 (0x000000804e260000)

Now we try to install the same library from one directory above the one
we installed also.

11 years agolvm: fixed "thin" recognition
Harald Hoyer [Thu, 6 Jun 2013 07:40:04 +0000 (09:40 +0200)]
lvm: fixed "thin" recognition

11 years agoinclude panel-tfp410 module on arm systems in the initramfs needed for framebuffer...
Dennis Gilmore [Tue, 4 Jun 2013 18:40:49 +0000 (13:40 -0500)]
include panel-tfp410 module on arm systems in the initramfs needed for framebuffer on omap systems

11 years agoTEST-99-RPM: generate rpms and exclude /boot loader entries
Harald Hoyer [Fri, 31 May 2013 08:00:07 +0000 (10:00 +0200)]
TEST-99-RPM: generate rpms and exclude /boot loader entries

11 years agodmsquash-live/dmsquash-live-root.sh: fixup 32214acb3ae
Harald Hoyer [Fri, 31 May 2013 07:04:55 +0000 (09:04 +0200)]
dmsquash-live/dmsquash-live-root.sh: fixup 32214acb3ae

11 years agodracut-functions.sh:get_persistent_dev() fix case for multipath
Harald Hoyer [Fri, 31 May 2013 05:46:08 +0000 (07:46 +0200)]
dracut-functions.sh:get_persistent_dev() fix case for multipath

/dev/mapper/mpath* is not a persistent device path

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

11 years agoifcfg/write-ifcfg.sh: fixed logic
Harald Hoyer [Thu, 30 May 2013 12:37:41 +0000 (14:37 +0200)]
ifcfg/write-ifcfg.sh: fixed logic

seems like nobody tested this with recent dracut versions.

11 years agolvm: add tools for thin provisioning
Harald Hoyer [Thu, 30 May 2013 10:02:59 +0000 (12:02 +0200)]
lvm: add tools for thin provisioning

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

11 years agonetwork: wait for all required interfaces if "rd.neednet=1"
Harald Hoyer [Thu, 30 May 2013 09:38:23 +0000 (11:38 +0200)]
network: wait for all required interfaces if "rd.neednet=1"

also set bootdev to the first configured interface, if missing

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

11 years agosystemd/emergency.service: do not run for action_on_fail=continue
Harald Hoyer [Thu, 30 May 2013 09:14:39 +0000 (11:14 +0200)]
systemd/emergency.service: do not run for action_on_fail=continue

same as for dracut-emergency.service

11 years agodmsquash-live/dmsquash-live-root.sh: add parameter rd.live.squashimg
Harald Hoyer [Thu, 30 May 2013 07:26:43 +0000 (09:26 +0200)]
dmsquash-live/dmsquash-live-root.sh: add parameter rd.live.squashimg

rd.live.squashimg names the squash image in the rd.live.dir
and defaults to squashfs.img

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

11 years agokernel-modules/module-setup.sh: add hid-hyperv and hv-vmbus
Harald Hoyer [Thu, 30 May 2013 06:38:40 +0000 (08:38 +0200)]
kernel-modules/module-setup.sh: add hid-hyperv and hv-vmbus

11 years agobase/dracut-lib.sh: export DRACUT_SYSTEMD and NEWROOT
Harald Hoyer [Thu, 30 May 2013 06:32:18 +0000 (08:32 +0200)]
base/dracut-lib.sh: export DRACUT_SYSTEMD and NEWROOT

11 years agoselinux: load_policy script fix
dyoung@redhat.com [Thu, 30 May 2013 06:19:00 +0000 (14:19 +0800)]
selinux: load_policy script fix

chroot load_policy will use selinuxfs which should be mounted
in $NEWROOT/sys/fs/selinux for Fedora 19, but because there's
no $NEWROOT/sys/fs, so later process will fail.

Fixing this by bind mount /sys to $NEWROOT/sys.

Signed-off-by: Dave Young <dyoung@redhat.com>
11 years agouse system provides udev rule and initialization script
Dan Horák [Wed, 29 May 2013 09:26:56 +0000 (11:26 +0200)]
use system provides udev rule and initialization script

11 years ago99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck
Baoquan He [Wed, 29 May 2013 06:33:06 +0000 (14:33 +0800)]
99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck

The fsck is ignored when replace emergency_shell with action_on_fail,
now add it.

Signed-off-by: Baoquan He <bhe@redhat.com>
11 years agofs-lib/module-setup.sh: add xfs_metadump
Harald Hoyer [Wed, 29 May 2013 15:51:57 +0000 (17:51 +0200)]
fs-lib/module-setup.sh: add xfs_metadump

11 years agokernel-modules/module-setup.sh: add nvme kernel module
Harald Hoyer [Wed, 29 May 2013 12:45:59 +0000 (14:45 +0200)]
kernel-modules/module-setup.sh: add nvme kernel module

apparently not caught by the block driver regexp

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

11 years agoifcfg/write-ifcfg.sh:
Harald Hoyer [Wed, 29 May 2013 12:38:52 +0000 (14:38 +0200)]
ifcfg/write-ifcfg.sh:

- fix ONBOOT for slaves
- set TYPE=Bond for bonding

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

11 years agoudev-rules/module-setup.sh: optionally install /etc/pcmcia/config.opts
Harald Hoyer [Wed, 29 May 2013 12:28:25 +0000 (14:28 +0200)]
udev-rules/module-setup.sh: optionally install /etc/pcmcia/config.opts

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

11 years agocrypt-loop/module-setup.sh: install loop kernel module
Harald Hoyer [Wed, 29 May 2013 11:31:54 +0000 (13:31 +0200)]
crypt-loop/module-setup.sh: install loop kernel module

11 years agoi18n/module-setup.sh: install default font latarcyrheb-sun16
Harald Hoyer [Wed, 29 May 2013 11:20:00 +0000 (13:20 +0200)]
i18n/module-setup.sh: install default font latarcyrheb-sun16

11 years agodracut-emergency.service: do not start for "action_on_fail=continue"
Harald Hoyer [Wed, 29 May 2013 09:33:25 +0000 (11:33 +0200)]
dracut-emergency.service: do not start for "action_on_fail=continue"

11 years ago[40network] Provide a hostname fallback function, in case there is no executable...
Dennis Schridde [Fri, 17 May 2013 11:54:57 +0000 (13:54 +0200)]
[40network] Provide a hostname fallback function, in case there is no executable of this name

11 years agoifcfg/write-ifcfg.sh: proper NAME the interfaces
Harald Hoyer [Tue, 28 May 2013 14:56:40 +0000 (16:56 +0200)]
ifcfg/write-ifcfg.sh: proper NAME the interfaces

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

11 years agobtrfs: include btrfs-zero-log in the initramfs
Harald Hoyer [Tue, 28 May 2013 14:34:34 +0000 (16:34 +0200)]
btrfs: include btrfs-zero-log in the initramfs

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

11 years agourl-lib/url-lib.sh: turn off curl globbing
Harald Hoyer [Tue, 28 May 2013 14:15:24 +0000 (16:15 +0200)]
url-lib/url-lib.sh: turn off curl globbing

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

11 years agodracut.spec: put selinux for kdump crash file contexts
Harald Hoyer [Tue, 28 May 2013 13:40:45 +0000 (15:40 +0200)]
dracut.spec: put selinux for kdump crash file contexts

11 years agoFix memory leak
Kamil Rytarowski [Sat, 11 May 2013 12:54:38 +0000 (14:54 +0200)]
Fix memory leak

11 years agoAlways check the return number of asprintf
Kamil Rytarowski [Sat, 11 May 2013 12:40:19 +0000 (14:40 +0200)]
Always check the return number of asprintf

asprintf prints to an allocated string. When  successful,  the
functions return the number of bytes printed. If memory allocation
wasn't possible, or some other error occurs, the function will return
-1.

Don't check strp as a result of asprintf, it's content may be undefined.

man 3 asprintf

11 years agoUse consistiently termination code macros
Kamil Rytarowski [Sat, 11 May 2013 11:49:00 +0000 (13:49 +0200)]
Use consistiently termination code macros

Operate in install_all and install_one consequently on EXIT_SUCCESS
and EXIT_FAILURE termination code macros as they are meant to be
returned from these functions.

11 years agoIntroduce stricter type correctness
Kamil Rytarowski [Sat, 11 May 2013 15:06:45 +0000 (17:06 +0200)]
Introduce stricter type correctness

11 years agoFix parsing command line arguments
Kamil Rytarowski [Sat, 11 May 2013 09:39:46 +0000 (11:39 +0200)]
Fix parsing command line arguments

Adjust correctly the *optstring argument of getopt_long. Add support
for a missing option -v|--verbose and drop unknown options -D, -I and -L.

11 years ago01fips/module-setup.sh: add libssl.so.10 to make kdump work with fips mode
Baoquan He [Thu, 9 May 2013 08:38:53 +0000 (16:38 +0800)]
01fips/module-setup.sh: add libssl.so.10 to make kdump work with fips mode

FIPS can work well in 1st kernel, but failed in kdump kernel. the
libssl.so.10 and related hmac file are needed. Now add it and it
works.

Signed-off-by: Baoquan He <bhe@redhat.com>
11 years agodracut-functions.sh: clarify instmods() error message
Harald Hoyer [Tue, 28 May 2013 12:25:49 +0000 (14:25 +0200)]
dracut-functions.sh: clarify instmods() error message

11 years agodon't add volatile swap partitions to host_devs
Harald Hoyer [Tue, 28 May 2013 11:26:05 +0000 (13:26 +0200)]
don't add volatile swap partitions to host_devs

11 years agosystemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
Harald Hoyer [Tue, 28 May 2013 10:50:57 +0000 (12:50 +0200)]
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file

11 years agodon't specify "p" as a separator for dmraid arrays (RHBZ #966162)
Adam Williamson [Wed, 22 May 2013 20:56:58 +0000 (13:56 -0700)]
don't specify "p" as a separator for dmraid arrays (RHBZ #966162)

As per RHBZ #966162, parted stopped unconditionally using "p" as a
separator for dmraid device names in version 3.1, so other things need
to fall in line with that convention now.

11 years agodracut.sh: degrade message about missing tools for stripping
Harald Hoyer [Mon, 6 May 2013 12:06:29 +0000 (14:06 +0200)]
dracut.sh: degrade message about missing tools for stripping

warning -> info

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

11 years agousrmount: Fix miss-detection of btrfs subvolumes.
Colin Guthrie [Fri, 3 May 2013 16:16:05 +0000 (17:16 +0100)]
usrmount: Fix miss-detection of btrfs subvolumes.

This causes the root FS options to be incorrectly applied to to /usr
In some cases this can cause boot failure e.g. due to and XFS /usr
not supporting the 'acl' option from the ext4 root FS.

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

11 years agozfcp: match udev rule against KERNEL=="zfcp"
Harald Hoyer [Tue, 30 Apr 2013 16:55:12 +0000 (18:55 +0200)]
zfcp: match udev rule against KERNEL=="zfcp"

zfcp_cfdc will go away in the future

tt

11 years agotest: use grep option "-F" and install /etc/os-release
Harald Hoyer [Tue, 30 Apr 2013 16:54:33 +0000 (18:54 +0200)]
test: use grep option "-F" and install /etc/os-release

11 years ago_emergency_shell: Show current working directory correctly in shell.
WANG Chao [Fri, 26 Apr 2013 07:16:19 +0000 (15:16 +0800)]
_emergency_shell: Show current working directory correctly in shell.

When dropped to emergency shell, for example, use rd.break=pre-pivot,
the PS1 won't correctly show current directory we're in:

pre-pivot:/# cd /sysroot/
pre-pivot:/#
(still shows "/")

Let's take a look at PS1 variable:

(I'm adding prefix/suffix 'x' to make it clear):
pre-pivot:/# echo x${PS1}x
xpre-pivot:/# x
(PS1 isn't dynamic)

Regarding the current dracut code, it should be:

pre-pivot:/# cd /sysroot/etc
pre-pivot:/sysroot/etc#

With this patch:

pre-pivot:/# echo x${PS1}x
xpre-pivot:${PWD}# x
(Now PS1 is dynamic, it will show the directory correctly)

I tested for both normal boot and kdump boot.

Signed-off-by: WANG Chao <chaowang@redhat.com>
11 years agodracut-install: make use of _cleanup_* macros
Harald Hoyer [Mon, 29 Apr 2013 09:35:23 +0000 (11:35 +0200)]
dracut-install: make use of _cleanup_* macros

11 years agofips: do not fail immediatly after loading the crypto modules
Harald Hoyer [Mon, 29 Apr 2013 09:34:26 +0000 (11:34 +0200)]
fips: do not fail immediatly after loading the crypto modules

Fail only if tcrypt insmod failed.

11 years agodracut.sh: do not preunlink for fips mode
Harald Hoyer [Thu, 25 Apr 2013 19:16:03 +0000 (21:16 +0200)]
dracut.sh: do not preunlink for fips mode

just install prelink and the cache files

11 years agofixed fips mode
Harald Hoyer [Thu, 25 Apr 2013 17:44:01 +0000 (19:44 +0200)]
fixed fips mode

- preserve timestamps
- copy /lib*/hmaccalc files
- run sha512hmac after kernel module loading
- add more fips kernel modules

11 years agofixup 3be5d63c2f
Harald Hoyer [Fri, 19 Apr 2013 13:08:16 +0000 (15:08 +0200)]
fixup 3be5d63c2f

either test or []

11 years agoshutdown: redirect output to /dev/console only if it exists
Harald Hoyer [Fri, 19 Apr 2013 13:00:20 +0000 (15:00 +0200)]
shutdown: redirect output to /dev/console only if it exists

11 years agodracut-install: error out, if ldd reports no execution permission
Harald Hoyer [Thu, 18 Apr 2013 10:54:55 +0000 (12:54 +0200)]
dracut-install: error out, if ldd reports no execution permission

This turns off lazy resolving on noexec mounted tmp directories.

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

11 years agobase/dracut-lib.sh: do not setdebug, if not in initramfs
Harald Hoyer [Thu, 18 Apr 2013 10:54:30 +0000 (12:54 +0200)]
base/dracut-lib.sh: do not setdebug, if not in initramfs

11 years agoMakefile: remove dracut-version.sh on clean
Harald Hoyer [Tue, 16 Apr 2013 11:41:19 +0000 (13:41 +0200)]
Makefile: remove dracut-version.sh on clean

11 years ago.gitignore: ignore more files
Harald Hoyer [Tue, 16 Apr 2013 11:38:16 +0000 (13:38 +0200)]
.gitignore: ignore more files

11 years agolsinitrd.sh: do not output filename for a single file
Harald Hoyer [Tue, 16 Apr 2013 11:33:40 +0000 (13:33 +0200)]
lsinitrd.sh: do not output filename for a single file

11 years agolsinitrd: drop use of "file"
Harald Hoyer [Tue, 16 Apr 2013 10:44:25 +0000 (12:44 +0200)]
lsinitrd: drop use of "file"

11 years agodracut-bash-completion.sh: file filename completion
Harald Hoyer [Tue, 16 Apr 2013 09:18:18 +0000 (11:18 +0200)]
dracut-bash-completion.sh: file filename completion

11 years agolsinitrd: add bash completion
Harald Hoyer [Tue, 16 Apr 2013 08:43:39 +0000 (10:43 +0200)]
lsinitrd: add bash completion

11 years agolsinitrd: switch to getopt and add "-f" and "-k" parameter
Harald Hoyer [Tue, 16 Apr 2013 08:44:56 +0000 (10:44 +0200)]
lsinitrd: switch to getopt and add "-f" and "-k" parameter

11 years agoMakefile: fixup tarball Makefile
Harald Hoyer [Mon, 15 Apr 2013 09:53:03 +0000 (11:53 +0200)]
Makefile: fixup tarball Makefile

11 years agodmsquash-live: add support for "iso-scan/filename" kernel parameter
Harald Hoyer [Mon, 15 Apr 2013 09:39:32 +0000 (11:39 +0200)]
dmsquash-live: add support for "iso-scan/filename" kernel parameter

now you can write grub entries like

  set isofile="/Fedora-live.iso"
  loopback loop $isofile
  linux loop)/isolinux/vmlinuz iso-scan/filename=$isofile root=live:CDLABEL=Fedora-...
  initrd (loop)/isolinux/initrd0.img

11 years agourl-lib/module-setup.sh: install ca-bundle.crt by libcurl.so
Harald Hoyer [Thu, 11 Apr 2013 09:29:00 +0000 (11:29 +0200)]
url-lib/module-setup.sh: install ca-bundle.crt by libcurl.so

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

curl seems to look for /etc/pki/tls/certs/ca-bundle.crt

extract the correct path by disecting libcurl.so

11 years agosystemd: include the systemd-random-seed-load.service
Harald Hoyer [Thu, 11 Apr 2013 11:10:24 +0000 (13:10 +0200)]
systemd: include the systemd-random-seed-load.service

The systemd cryptsetup-generator wants systemd-random-seed-load.service
in case /dev/urandom is the device.

11 years agoMakefile,git2spec.pl: use "git describe"
Harald Hoyer [Thu, 11 Apr 2013 08:11:14 +0000 (10:11 +0200)]
Makefile,git2spec.pl: use "git describe"

11 years agoAUTHORS: update
Harald Hoyer [Thu, 11 Apr 2013 08:10:49 +0000 (10:10 +0200)]
AUTHORS: update

11 years agoplymouth/plymouth-pretrigger.sh: fixup of ca2c6936
Harald Hoyer [Fri, 12 Apr 2013 13:25:44 +0000 (15:25 +0200)]
plymouth/plymouth-pretrigger.sh: fixup of ca2c6936

11 years agoDo not call plymouth with full path
Harald Hoyer [Thu, 11 Apr 2013 14:08:26 +0000 (16:08 +0200)]
Do not call plymouth with full path

11 years agocrypt/module-setup.sh: also handle UUID= while filtering crypttab
Harald Hoyer [Wed, 10 Apr 2013 08:15:43 +0000 (10:15 +0200)]
crypt/module-setup.sh: also handle UUID= while filtering crypttab

The crypttab filter for host-only did not handle UUID= entries.
https://bugzilla.redhat.com/show_bug.cgi?id=919752

11 years agoifup.sh: Add support for bridge over a vlan tagged interface
WANG Chao [Tue, 9 Apr 2013 10:56:40 +0000 (18:56 +0800)]
ifup.sh: Add support for bridge over a vlan tagged interface

This patch add support for bridge a vlan tagged interface, like
br0 -> bond0.7 -> bond0 -> eth0

Signed-off-by: WANG Chao <chaowang@redhat.com>
11 years agoLet user specify the action after fail
Baoquan He [Fri, 29 Mar 2013 10:36:16 +0000 (18:36 +0800)]
Let user specify the action after fail

Currently the default action is emergency_shell when failure happened
during system boot. In kdump, this default may not be expected. E.g,
if dump target is not rootfs, it does not matter if mount root failed.
Adding an action which allow dracut always go ahead though failure
happens is needed by kdump.

So here add a function action_on_fail() and cmdline parameter
action_on_fail=<shell | continue>. Use action_to_fail() to replace
emergency_shell which was called after failure. By $(getarg action_on_fail=),
decide to drop into shell, or to leave away the failure and go ahead.

v3->v4:
add handling of selinux policy loaded failure, and change code format to
be consitent

Signed-off-by: Baoquan He <bhe@redhat.com>
[Edited by harald@redhat.com]

11 years agoWait for logical interface to be up
Baoquan He [Mon, 8 Apr 2013 09:47:50 +0000 (17:47 +0800)]
Wait for logical interface to be up

If bootdev is logical interface like bond, bridge or vlan, we need
wait them up.

Signed-off-by: Baoquan He <bhe@redhat.com>
11 years agonetwork: support multiple bonding interfaces
Harald Hoyer [Mon, 8 Apr 2013 09:47:49 +0000 (17:47 +0800)]
network: support multiple bonding interfaces

Currently dracut only support 1 bond, namyly bond0 by default. However multiple
bonds configuration may be needed. For example in kdump, in 1st kernel, more
than one bonds may be configured, and bondX other than bond0 is used as output
interface to remote host which will store dump core. This patch can solve this
problem, to write real bond information to initramfs, 2nd kdump kernel will
use it to create the relevant bondX interface.

Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Baoquan He <bhe@redhat.com>
11 years agoifup.sh: Add support for bridge over team and vlan tagged team
WANG Chao [Mon, 1 Apr 2013 12:34:40 +0000 (20:34 +0800)]
ifup.sh: Add support for bridge over team and vlan tagged team

Team is the same network stack as bonding. Therefore give ifup the ability to
handle bridge over team and vlan tagged team as bonding too.

Signed-off-by: WANG Chao <chaowang@redhat.com>
11 years agocrypt/module-setup.sh: filter /etc/crypttab in host-only mode
Harald Hoyer [Tue, 9 Apr 2013 08:48:26 +0000 (10:48 +0200)]
crypt/module-setup.sh: filter /etc/crypttab in host-only mode

only take those /etc/crypttab entries, which we need to boot the system

11 years agodracut-functions.sh: make use of findmnt
Harald Hoyer [Tue, 9 Apr 2013 08:47:39 +0000 (10:47 +0200)]
dracut-functions.sh: make use of findmnt

11 years agonfs/module-setup.sh: combine egreps for /etc/passwd and /etc/group
Harald Hoyer [Fri, 5 Apr 2013 14:34:36 +0000 (16:34 +0200)]
nfs/module-setup.sh: combine egreps for /etc/passwd and /etc/group

11 years agoTEST-99-RPM: ignore rescue images
Harald Hoyer [Fri, 5 Apr 2013 09:52:33 +0000 (11:52 +0200)]
TEST-99-RPM: ignore rescue images

11 years agoTESTSUITE: s/i6300esbwdt/i6300esb ib700wdt/g
Harald Hoyer [Fri, 5 Apr 2013 09:07:55 +0000 (11:07 +0200)]
TESTSUITE: s/i6300esbwdt/i6300esb ib700wdt/g

11 years agoTEST-50-MULTINIC: fixup test suite
Harald Hoyer [Fri, 5 Apr 2013 09:05:39 +0000 (11:05 +0200)]
TEST-50-MULTINIC: fixup test suite

qemu of the day doesn't like multicast anymore

11 years agoAdd missing options to manpage and --help output
Harald Hoyer [Fri, 5 Apr 2013 07:01:48 +0000 (09:01 +0200)]
Add missing options to manpage and --help output

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

11 years agobase/dracut-lib.sh:wait_for_dev()/cancel_wait_for_dev() set systemd timeouts
Harald Hoyer [Thu, 4 Apr 2013 10:56:42 +0000 (12:56 +0200)]
base/dracut-lib.sh:wait_for_dev()/cancel_wait_for_dev() set systemd timeouts

Set systemd unit timeouts for the devices we wait for. The systemd
default is 90 seconds, which is way too low for complicated setups.

11 years agocrypt/parse-crypt.sh: create udev rule for systemd
Harald Hoyer [Thu, 4 Apr 2013 10:54:59 +0000 (12:54 +0200)]
crypt/parse-crypt.sh: create udev rule for systemd

Start the systemd-cryptsetup@luks-*.service for the detected crypto_LUKS
device in the initqueue, so we block in the initqueue and wait for the
password entry.

11 years agobase/dracut-lib.sh: add dev_unit_name()
Harald Hoyer [Thu, 4 Apr 2013 10:51:33 +0000 (12:51 +0200)]
base/dracut-lib.sh: add dev_unit_name()

add helper function to convert device path to systemd unit names

11 years agobase/init.sh: fix version output
Harald Hoyer [Tue, 2 Apr 2013 11:29:24 +0000 (13:29 +0200)]
base/init.sh: fix version output

11 years agodracut.spec: Require systemd >= 199
Harald Hoyer [Tue, 26 Mar 2013 16:04:43 +0000 (17:04 +0100)]
dracut.spec: Require systemd >= 199

11 years agoversion 027 027
Harald Hoyer [Tue, 26 Mar 2013 15:55:03 +0000 (16:55 +0100)]
version 027

11 years agodracut.spec: don't BuildRequire bash-completion for rhel
Harald Hoyer [Tue, 26 Mar 2013 15:54:34 +0000 (16:54 +0100)]
dracut.spec: don't BuildRequire bash-completion for rhel

11 years agosystemd: add new timers.target and paths.target
Harald Hoyer [Tue, 26 Mar 2013 15:19:27 +0000 (16:19 +0100)]
systemd: add new timers.target and paths.target

11 years agouse systemd*dir variables everywhere
Harald Hoyer [Tue, 26 Mar 2013 15:19:00 +0000 (16:19 +0100)]
use systemd*dir variables everywhere

11 years agotest: change qemu param -nographic to -display none for -daemonize
Harald Hoyer [Tue, 26 Mar 2013 15:17:24 +0000 (16:17 +0100)]
test: change qemu param -nographic to -display none for -daemonize

qemu does not like -nographic in combination with -daemonize

11 years agox-initrd-rootfs.mount -> x-initrd.mount
Harald Hoyer [Tue, 26 Mar 2013 14:38:50 +0000 (15:38 +0100)]
x-initrd-rootfs.mount -> x-initrd.mount

11 years agomultipath: install native systemd service
Harald Hoyer [Fri, 22 Mar 2013 08:09:57 +0000 (09:09 +0100)]
multipath: install native systemd service

11 years agosystemd: add dracut.bootup(7) reference to service man pages
Harald Hoyer [Fri, 22 Mar 2013 08:21:06 +0000 (09:21 +0100)]
systemd: add dracut.bootup(7) reference to service man pages