]>
git.ipfire.org Git - thirdparty/dracut.git/log
Harald Hoyer [Wed, 29 Oct 2014 12:39:28 +0000 (13:39 +0100)]
dracut-functions.sh: fixup for
34a1ec6 for non-local mode
Harald Hoyer [Wed, 29 Oct 2014 12:37:15 +0000 (13:37 +0100)]
Merge pull request #29 from Quarky9/master
Fix location of dracut-install for local mode
Stefan Reimer [Wed, 29 Oct 2014 00:58:22 +0000 (17:58 -0700)]
Fix location of dracut-install for local mode
Harald Hoyer [Fri, 24 Oct 2014 13:47:24 +0000 (15:47 +0200)]
ifcfg/write-ifcfg: only write DEVICE for non-kernel names
Rename an interface to the kernel namespace is not allowed, so don't add
DEVICE="<iface>", if HWADDR is given.
Harald Hoyer [Fri, 24 Oct 2014 12:41:29 +0000 (14:41 +0200)]
NEWS: add 040 entry
Harald Hoyer [Fri, 24 Oct 2014 11:19:58 +0000 (13:19 +0200)]
dracut: fixed module dependency handling
Fail for "--modules" and "--force-add" dracut modules, if they or their
dependencies cannot be included.
Harald Hoyer [Fri, 24 Oct 2014 11:19:34 +0000 (13:19 +0200)]
test: add "fs-lib" to dracut module list
Harald Hoyer [Fri, 24 Oct 2014 11:18:35 +0000 (13:18 +0200)]
TEST-99-RPM: ignore more files
Harald Hoyer [Fri, 24 Oct 2014 11:17:30 +0000 (13:17 +0200)]
TEST-30-ISCSI: udev does not export path_id for iscsi
therefore root=iscsi.... does not work anymore :-/
disabled for now
Harald Hoyer [Fri, 24 Oct 2014 09:16:26 +0000 (11:16 +0200)]
dmsquash-live: addresss the device via it's symlink
Otherwise multipath parts might be passed, before it's assembled.
https://bugzilla.redhat.com/show_bug.cgi?id=
1152948
Harald Hoyer [Fri, 24 Oct 2014 07:37:19 +0000 (09:37 +0200)]
Makefile: removed dangling space
Harald Hoyer [Fri, 24 Oct 2014 07:37:03 +0000 (09:37 +0200)]
NEWS: update
Vaughan Cao [Thu, 9 Oct 2014 08:41:31 +0000 (16:41 +0800)]
Add hyperv-keyboard kernel module for Hyper-V Gen2 VM
The synthetic keyboard of a Gen2 Linux VM doesn't work before the
hyperv_keyboard module is loaded. Without it, we can't cancel the media check
phase if boot with rd.live.check option.
Gen1 Linux VM doesn't have the same issue because the host emulates the legacy
i8042 keyboard for Gen1 VM.
Signed-off-by: Vaughan Cao <vaughan.cao@oracle.com>
Harald Hoyer [Fri, 24 Oct 2014 07:00:56 +0000 (09:00 +0200)]
TODO: update
Harald Hoyer [Thu, 23 Oct 2014 12:37:02 +0000 (14:37 +0200)]
mdraid: also accept ID_FS_UUID for rd.md.uuid
As blkid also reports MD_UUID as ID_FS_UUID, although in slightly
different format, accept it also.
Harald Hoyer [Thu, 23 Oct 2014 12:34:33 +0000 (14:34 +0200)]
network/net-lib.sh:is_persistent_ethernet_name() eth* is not
eth* is _not_ a persistent ethernet name... tsk, tsk, tsk
Will Woods [Thu, 28 Aug 2014 17:44:47 +0000 (13:44 -0400)]
do 'ip route replace default' instead of 'add'
When you define the gateway for an interface, dracut sets it up with:
ip route add default via $gw dev $netif
If a default route is already set (e.g. if you have multiple NICs), this
will fail with the message "RTNETLINK answers: File exists".
So, if your first NIC isn't usable as a default route
Using "ip route replace default" instead allows ifup/dhclient-script to
correctly change the default route to the new interface.
Harald Hoyer [Fri, 12 Sep 2014 08:19:28 +0000 (10:19 +0200)]
dracut-functions.sh: exit for missing --force-add or --add dracut modules
Better exit with fail early, so there is no surprise on reboot.
Harald Hoyer [Fri, 12 Sep 2014 08:03:59 +0000 (10:03 +0200)]
qemu: install virtio_console kernel module
https://bugzilla.redhat.com/show_bug.cgi?id=
1097999
Harald Hoyer [Fri, 12 Sep 2014 07:59:03 +0000 (09:59 +0200)]
cms/cmssetup.sh: understand DASD="none"
Treat DASD="none" as unset.
https://bugzilla.redhat.com/show_bug.cgi?id=
1096979
Harald Hoyer [Fri, 12 Sep 2014 07:57:13 +0000 (09:57 +0200)]
cms/cmssetup.sh: fixed indention
Harald Hoyer [Fri, 12 Sep 2014 07:48:00 +0000 (09:48 +0200)]
ifcfg/write-ifcfg.sh: bind bond and bridge interfaces to HW
either by s390 SUBCHANNELS or HWADDR, if the interface name is not
persistent.
Previously, this was bound unconditionally with HWADDR.
Harald Hoyer [Thu, 11 Sep 2014 14:42:36 +0000 (16:42 +0200)]
add "--loginstall <DIR>" and loginstall="<DIR>" options
loginstall specifies a directory, in which dracut-install records all
files, which were installed from the host system to the initramfs.
Use case is e.g. to create a list of packages to watch for updates, to
maybe trigger a recreation of the initramfs.
Brian C. Lane [Thu, 21 Aug 2014 18:31:51 +0000 (11:31 -0700)]
Support spaces in mount_nfs (#
1109933 )
nfs paths may contain spaces, make sure they are preserved when passed
to nfs_to_var and mount.
Related: rhbz#
1109933
Harald Hoyer [Tue, 9 Sep 2014 11:35:13 +0000 (13:35 +0200)]
replaced ip=auto with ip=dhcp in the documentation
https://bugzilla.redhat.com/show_bug.cgi?id=
1086931
Harald Hoyer [Tue, 9 Sep 2014 11:31:10 +0000 (13:31 +0200)]
network/net-lib.sh: do not enforce iscsi target name policy
also untabified
Harald Hoyer [Mon, 8 Sep 2014 14:18:06 +0000 (16:18 +0200)]
dracut.cmdline.7: add iso-scan/filename docs
Harald Hoyer [Mon, 8 Sep 2014 11:25:53 +0000 (13:25 +0200)]
kernel-modules: added hid-lcpower
Thomas Renninger [Mon, 8 Sep 2014 10:34:48 +0000 (12:34 +0200)]
dracut: Introduce --force-drivers parameter and force_drivers=+ config option
Which will not only add listed drivers, but also enforce that they are
tried to be loaded at early boot time.
This is needed if drivers which are not autoloaded (e.g. loop and a lot
others) shall get loaded via initramfs.
Harald Hoyer [Fri, 5 Sep 2014 14:42:59 +0000 (16:42 +0200)]
dracut.sh: change the PATH we search for our binaries
/sbin /bin versions should be used over /usr/sbin and /usr/bin versions,
because non-usr is meant for early boot.
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755271
Harald Hoyer [Fri, 29 Aug 2014 12:06:57 +0000 (14:06 +0200)]
ssh-client: handle /etc/ssh/ssh_config
- disable ProxyCommand
- install the GlobalKnownHostsFile
https://bugzilla.redhat.com/show_bug.cgi?id=
1086778
Harald Hoyer [Fri, 29 Aug 2014 11:23:38 +0000 (13:23 +0200)]
remove all vim and emacs code format comments
Harald Hoyer [Fri, 29 Aug 2014 11:33:40 +0000 (13:33 +0200)]
add kate and emacs per directory config files
Harald Hoyer [Fri, 29 Aug 2014 11:22:11 +0000 (13:22 +0200)]
install: add more error handling
also limit local variable scopes
and remove bogus checks to negativity of unsigned vars
Harald Hoyer [Fri, 29 Aug 2014 11:22:37 +0000 (13:22 +0200)]
skipcpio: limit the local var scope
Harald Hoyer [Fri, 29 Aug 2014 11:22:48 +0000 (13:22 +0200)]
Makefile: add more warnings to CFLAGS
Harald Hoyer [Thu, 21 Aug 2014 16:20:22 +0000 (18:20 +0200)]
dracut-shutdown now executes the unpacking on ExecStop
To ensure that unpacking happens before any boot.automount is stopped,
let dracut-shutdown start as a sysinit.target service and unpack on
ExecStop.
Harald Hoyer [Thu, 21 Aug 2014 14:45:12 +0000 (16:45 +0200)]
dracut-lib.sh:dev_unit_name(): use systemd-escape, if available
Harald Hoyer [Thu, 21 Aug 2014 14:38:35 +0000 (16:38 +0200)]
dracut-lib.sh:cancel_wait_for_dev() fixed double escape
Harald Hoyer [Wed, 20 Aug 2014 08:21:43 +0000 (10:21 +0200)]
dracut.sh: source dracut-version.sh earlier than dracut-functions.sh
Otherwise dracut-logger.sh outputs an empty version on journal testing.
Aug 20 10:15:49 lenovo dracut[11144]: dracut-
Aug 20 10:15:49 lenovo dracut[11148]: Executing: /sbin/dracut
Harald Hoyer [Wed, 20 Aug 2014 08:13:55 +0000 (10:13 +0200)]
Check kernel config for early microcode and ACPI override
Disable early microcode and ACPI override, if the kernel does not
support it.
Harald Hoyer [Fri, 15 Aug 2014 15:35:11 +0000 (17:35 +0200)]
url-lib: check for ctorrent binary before adding the url handler
Antony Messerli [Fri, 15 Aug 2014 14:44:11 +0000 (09:44 -0500)]
Adds bittorrent support for live images
This patch adds bittorrent support to 45url-lib for those that might want
to retrieve the same live image for multiple systems at once without
saturating the network.
This patch requires ctorrent to be installed into initramfs.
Torrent kernel command line format:
root=live:torrent://example.com/liveboot.img.torrent
Start a tracker:
bttrack --bind <tracker_ip> --port 6969 --dfile dstate --reannounce_interval 60
Create the torrent:
ctorrent -t live_image -u http://<tracker_ip>:6969/announce -s live_image.torrent
Seed the initial torrent:
ctorrent live_image.torrent
Boot the live image.
Major Hayden [Mon, 4 Aug 2014 15:27:36 +0000 (10:27 -0500)]
Adding support for read/write filesystem images
A user can provide a filesystem image (rootfs.img) inside a compressed
tarball and that filesystem image will be mounted read/write. This provides
some benefits over a device mapper snapshot overlay, especially when the
live system becomes full. The boot command line simple needs
"rd.writable.fsimg" added to utilize this feature.
Additional documentation for this option as well as other live boot
options is included.
Signed-off-by: Major Hayden <major@mhtx.net>
Harald Hoyer [Fri, 15 Aug 2014 12:58:34 +0000 (14:58 +0200)]
50-dracut.install: install pregenerated initrd
If there is an already pregenerated initrd at the same location as the
kernel install that and do not generate a new one.
Harald Hoyer [Fri, 15 Aug 2014 12:58:02 +0000 (14:58 +0200)]
50-dracut.install: fixed /proc/cmdline reading
and beautified the code a bit
Harald Hoyer [Fri, 15 Aug 2014 12:56:42 +0000 (14:56 +0200)]
51-dracut-rescue.install: fixed /proc/cmdline read
Harald Hoyer [Fri, 15 Aug 2014 12:03:39 +0000 (14:03 +0200)]
Makefile:rpm: wget the lgpl license for Source1
Harald Hoyer [Thu, 3 Jul 2014 10:52:58 +0000 (12:52 +0200)]
Generate reproducible initramfs images
With the same source of files, it should be possible to generate the
same image file with every dracut run.
To accomplish this, we modify the timestamps of the files we generate at
runtime, call gzip with "-n" and cpio with "--reproducible".
The cpio --reproducible option is not yet upstream though, so if you
feel like it should be then please nag at the cpio mailing list.
http://lists.gnu.org/archive/html/bug-cpio/2014-08/msg00000.html
Harald Hoyer [Fri, 15 Aug 2014 10:36:04 +0000 (12:36 +0200)]
dracut-functions.sh:get_persistent_dev(): use printf, instead of echo
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:39 +0000 (22:04 +0200)]
Introduce ARM specific modules needed by drm
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:38 +0000 (22:04 +0200)]
Categorize needed modules on ARM
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:37 +0000 (22:04 +0200)]
Test soc path for modalias needed by drm
On ARM, both pci and soc path can be tested for drm.
With this patchset, that was missing in recent kernel,
the tegra_drm case is not needed anymore:
http://patchwork.ozlabs.org/patch/361765/
http://www.spinics.net/lists/linux-tegra/msg17948.html
WANG Chao [Mon, 28 Jul 2014 14:26:28 +0000 (22:26 +0800)]
dracut-functions: get_persistent_dev() fall back to the original name
In case of raw disk/partition, ex. /dev/vda1, which doesn't contain any
filesystem on it. get_persistent_dev() would return empty. Now fix it to
return its original name, /dev/vda1 in above case. So that we don't have
to check its return string every time.
Signed-off-by: WANG Chao <chaowang@redhat.com>
Harald Hoyer [Fri, 15 Aug 2014 09:50:31 +0000 (11:50 +0200)]
dracut.usage.asc: also add a link for RHEL-7 storage admin guide
Harald Hoyer [Fri, 15 Aug 2014 09:44:26 +0000 (11:44 +0200)]
dracut.usage.asc: extend parameters for shutdown debug procedure
Harald Hoyer [Thu, 14 Aug 2014 10:56:53 +0000 (12:56 +0200)]
i18n: check for $i18n_install_all == "yes" rather than being set
i18n_install_all="no" does not have the expected effect without this
patch
Alex Harpin [Sat, 2 Aug 2014 19:08:25 +0000 (20:08 +0100)]
bridging: update the ifcfg files generated for bridge slaves
Update the ifcfg files generated for bridge slaves so they reference
the bridge they are part of. Related to early patch submitted as a
fix for Bug #
1123552 .
Bug #
1123552 https://bugzilla.redhat.com/show_bug.cgi?id=
1123552
Harald Hoyer [Fri, 8 Aug 2014 11:34:04 +0000 (13:34 +0200)]
test: make testsuite work with the new systemd minimal root req
systemd needs more directories to switch root
Harald Hoyer [Fri, 1 Aug 2014 11:16:29 +0000 (13:16 +0200)]
fixed bridge setup
renamed "ethnames" in bridge.info to "bridgeslaves"
fixed ifcfg generation
Harald Hoyer [Fri, 1 Aug 2014 11:15:44 +0000 (13:15 +0200)]
TEST-20-NFS: add more commands and fix client root dirs
Harald Hoyer [Fri, 1 Aug 2014 11:15:05 +0000 (13:15 +0200)]
TEST-20-NFS:client-init.sh: add shell on rd.shell
Harald Hoyer [Tue, 29 Jul 2014 09:04:09 +0000 (11:04 +0200)]
NEWS: update
Harald Hoyer [Thu, 24 Jul 2014 12:47:14 +0000 (14:47 +0200)]
dracut.spec: fixed license file packaging
Harald Hoyer [Tue, 22 Jul 2014 12:43:33 +0000 (14:43 +0200)]
dracut.sh: add DRACUT_PATH
DRACUT_PATH can now be used to specify the PATH used by dracut
to search for binaries instead of the default
/usr/sbin:/sbin:/usr/bin:/bin
This should be set in the distribution config file
/usr/lib/dracut/dracut.conf.d/01-dist.conf
Harald Hoyer [Tue, 22 Jul 2014 12:22:21 +0000 (14:22 +0200)]
test/TEST-30-ISCSI: add rd.shell to client root
Harald Hoyer [Tue, 22 Jul 2014 12:09:06 +0000 (14:09 +0200)]
add "--install-optional" and install_optional_items
Harald Hoyer [Tue, 22 Jul 2014 09:03:56 +0000 (11:03 +0200)]
network: add rd.route parameter
Harald Hoyer [Tue, 22 Jul 2014 09:51:08 +0000 (11:51 +0200)]
base/dracut-lib:pidof() turn off debugging
Peter Robinson [Sun, 20 Jul 2014 21:20:04 +0000 (22:20 +0100)]
ARM: update modules for ARM host only options
Harald Hoyer [Mon, 21 Jul 2014 14:58:15 +0000 (16:58 +0200)]
dracut-functions.sh: fix inst*() functions for "-H" handling
because some inst*() functions check the existance of the source files
and do not know about the "-H" option, some failed to install the
hostonly files.
Praveen_Paladugu@Dell.com [Tue, 10 Jun 2014 15:35:16 +0000 (10:35 -0500)]
Installing an OS with VLAN enabled to an ISCSI LUN (from ibft)
When installing OS to a VLAN enabled iscsi LUN (extracted from iBFT), "/tmp/net.{xyz}.has_ibft_config" is not being set properly.
Then anaconda installer requires 'BOOTPROTO="ibft"' populated in ifcfg of the vlan interface (ex: ibft0.20), for it to properly populate the kernel parameters post installation. The setting 'BOOTPROTO="ibft"' is populated by write-ifcfg.sh script only if the corresponding interface has a file /tmp/net.{xyz}.has_inft_config
To get around this issue, in ibft_to_cmdline() function in net-lib.sh file, I made the following changes to populate the has_ibft_config file for the vlan interface(ex: ibft0.20):
Harald Hoyer [Tue, 8 Jul 2014 10:54:21 +0000 (12:54 +0200)]
dracut-functions.sh: speed up ldconfig_paths()
Harald Hoyer [Tue, 8 Jul 2014 09:50:51 +0000 (11:50 +0200)]
plymouth: also find the pkglibdir on debian
Harald Hoyer [Tue, 8 Jul 2014 09:50:04 +0000 (11:50 +0200)]
dracut.sh: always copy prelink files in FIPS mode
regardless of the the prelink={yes|no} switch
Harald Hoyer [Thu, 3 Jul 2014 13:04:17 +0000 (15:04 +0200)]
lvm:module-setup.sh: check for existance of 69-dm-lvm-metad.rules
fixup for
12819a579900b9691e2bfaf14e76fbb025851530
Alexander Tsoy [Mon, 31 Mar 2014 13:56:13 +0000 (17:56 +0400)]
modsign: do not hardcode path to keyctl
https://bugs.gentoo.org/show_bug.cgi?id=506094
Harald Hoyer [Tue, 24 Jun 2014 16:09:07 +0000 (18:09 +0200)]
NEWS: update for version 038
Harald Hoyer [Mon, 30 Jun 2014 09:29:56 +0000 (11:29 +0200)]
TEST-15-BTRFSRAID: install /etc/os-release
makes systemd switch-root happy
Harald Hoyer [Mon, 30 Jun 2014 09:29:37 +0000 (11:29 +0200)]
test: add udev settle after sfdisk
Harald Hoyer [Mon, 30 Jun 2014 09:28:08 +0000 (11:28 +0200)]
ifcfg: depends on network
Harald Hoyer [Fri, 27 Jun 2014 16:05:37 +0000 (18:05 +0200)]
base/init.sh: use loop counter with unique varname
$i can be polluted too easily
Harald Hoyer [Fri, 27 Jun 2014 10:47:56 +0000 (12:47 +0200)]
resume: only install hostonly files, if in hostonly mode
Harald Hoyer [Fri, 27 Jun 2014 10:02:14 +0000 (12:02 +0200)]
Add "rd.cmdline=ask" kernel command line parameter
prompts the user for additional kernel command line parameters
Harald Hoyer [Wed, 25 Jun 2014 14:54:04 +0000 (16:54 +0200)]
default to hostonly_cmdline=yes, if hostonly
if hostonly_cmdline is not yet set, set it to "yes", if in hostonly
mode.
Harald Hoyer [Wed, 25 Jun 2014 10:02:30 +0000 (12:02 +0200)]
kernel-modules: add tegra arm modules
Harald Hoyer [Wed, 25 Jun 2014 09:45:42 +0000 (11:45 +0200)]
TEST-04-FULL-SYSTEMD/test.sh: removed debug comments
Harald Hoyer [Tue, 24 Jun 2014 16:55:49 +0000 (18:55 +0200)]
print out, what kernel command line parameters are used
Harald Hoyer [Tue, 24 Jun 2014 16:54:35 +0000 (18:54 +0200)]
usable_root(): only check for ld-*.so
current systemd allows booting with only /usr on the root partition
see, if we can find an elf loader
Harald Hoyer [Tue, 24 Jun 2014 16:13:28 +0000 (18:13 +0200)]
Add rd.hostonly kernel command line parameters
rd.hostonly=0 will remove all configuration compiled in the initramfs
from the host on which it was build
Harald Hoyer [Tue, 24 Jun 2014 16:12:04 +0000 (18:12 +0200)]
Makefile: add debugtestimage and debughostimage targets
Harald Hoyer [Tue, 24 Jun 2014 16:11:47 +0000 (18:11 +0200)]
install: add -H flag for install
inst* functions and dracut-install now accept the "-H" flag, which
logs all installed files to /lib/dracut/hostonly-files. This is used
to remove those files, if rd.hostonly is given on the kernel command line.
Hari Bathini [Mon, 2 Jun 2014 10:57:37 +0000 (16:27 +0530)]
lsinird: Adding option "-m|--mod" to list dracut modules in the image
This patch adds option "-m|--mod" to lsinitrd to list dracut
modules in the image because sometimes having an option to
only list the dracut modules in the image could be handy.
Sample output:
--------------
[hbathini@localhost dracut]$ sudo ./lsinitrd.sh initramfs-3.11.10-100.fc18.x86_64.img -m
Image: initramfs-3.11.10-100.fc18.x86_64.img: 33M
========================================================================
Version: dracut-029-1.fc18.2
dracut modules:
i18n
network
ifcfg
drm
plymouth
btrfs
crypt
dm
dmraid
kernel-modules
lvm
mdraid
cifs
iscsi
nfs
resume
rootfs-block
terminfo
udev-rules
biosdevname
systemd
usrmount
base
fs-lib
shutdown
========================================================================
Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
Tobias Geerinckx [Tue, 3 Jun 2014 02:59:34 +0000 (04:59 +0200)]
lsinitrd.sh: don't choke on LZO-compressed images
lsinitrd (and hence dracut) currently fail to list the contents of any
LZO-compressed image, and merely spit out misleading xzcat errors.
I guess no-one actually uses them.
Daniel Schaal [Thu, 19 Jun 2014 09:38:25 +0000 (11:38 +0200)]
98systemd: also install systemd-journald-dev-log.socket
The /dev/log socket was moved to /run on systemd 214, install the
newly added socket unit.
Cristian RodrÃguez [Mon, 16 Jun 2014 05:13:44 +0000 (01:13 -0400)]
systemd: Optionally, include efivarsfs module
It is, however not an error if this module can't be found.
Harald Hoyer [Fri, 20 Jun 2014 12:27:09 +0000 (14:27 +0200)]
deprecate "ip=ibft" kernel command line parameter
rd.iscsi.ibft[=1] should be used instead.
Thing is, 'ip=ibft' is not really an ip setting, but rather a marker
that iBFT should be evaluated.
Also removed the trigger of the warning:
"Warning: Please supply bootdev argument for multiple ip= lines"
Harald Hoyer [Fri, 20 Jun 2014 09:19:49 +0000 (11:19 +0200)]
dracut.sh: add libgcc_s, if libpthread is installed
workaround the fact, that pthread_cancel() wants to
dlopen libgcc_s.so.1
Harald Hoyer [Wed, 11 Jun 2014 12:58:55 +0000 (14:58 +0200)]
iscsi: correctly install the settled iscsiroot dummy call
initqueue parses $1 as the executable command
Harald Hoyer [Wed, 11 Jun 2014 12:55:11 +0000 (14:55 +0200)]
iscsi: correctly install the timeout iscsiroot dummy call
initqueue parses $1 as the executable command