dracut/dracut.changes

541 lines
21 KiB
Plaintext

-------------------------------------------------------------------
Wed Dec 18 16:20:04 UTC 2013 - trenn@suse.de
- Add purge kernel service/feature which before was part of mkinitrd
bnc#854348
-------------------------------------------------------------------
Thu Nov 28 09:56:36 CET 2013 - hare@suse.de
- Update with patches from git repository:
* kernel-modules: add ohci-pci to the list of forced module installs
* Run 'xz' and 'lzma' with multiple threads
* systemd: do not exit the initqueue, if systemd asks a password
* iscsi,nbd: do not fail in hostonly mode
* dracut-functions.sh: Avoid loading unnecessary 32-bit libraries
for 64-bit initrds
* fips: also install /etc/system-fips in the initramfs
* dracut.modules.7.asc: removed empty section
* dracut.sh: fixed PATH shortener
* dracut.spec: move /sbin/dracut to /usr/sbin/dracut
* iscsi/nbd: do not try to mount the whole disk, if root= is missing
* fips: include crct10dif_generic
* Handle crypto modules with and without modaliases
* usrmount/module-setup.sh: fixed typo
* lvm: always install thin utils for lvm
* kernel-modules(ARM): add mmc_block usb_storage to static list of
kernel mods
* dracut-functions.sh:check_block_and_slaves*() skip LVM internal devs
* mkdir basic dirs in /run
* network/fcoe: only redirect output to loginit.pipe, if exists
* dracut.sh: no need to make subdirs in run
* dracut.sh: also mkdir /run/lock, which is copied to
* lvm: fix thin recognition
* Add lzo, lz4 compression and read INITRD_COMPRESS
* remove resume-genrules.sh
* resume: fix swap detection in hostonly
* base/init.sh: also mkdir /run/lock
* dmsquash-live: add /dev/mapper/live-base
* Doc: cleanup, extend and split and reuse
* dracut.sh: do not bail out, if kernel modules dir is missing
* 10i18n/parse-i18n.sh: parse rd.vconsole and rd.locale
* */module-setup.sh: add comments for dracut called functions
* lvm: install thin utils for non-hostonly
- Patches for S/390 support
* 95dasd: Install kernel modules only once
* 95dasd: Only install module if normalize_dasd_arg is present
* 95dasd_mod: make dasd_cio_free optional
* 95zfcp: Make installation optional
* 95znet: Make installation optional
* Install /bin/mount
* Fixup keymap setting for openSUSE
* Add DASD configuration for SuSE
* Add zfcp scripts for SUSE
* Make logfile configurable
* Add SUSE compability wrapper for dracut
* Add manpage for SUSE compat mkinitrd
* Work around xsltproc bug
* Correct paths for openSUSE
* Check for plymouth lib directories
- Drop obsolete patches
- Install mkinitrd-suse
-------------------------------------------------------------------
Mon Oct 21 00:13:48 UTC 2013 - hrvoje.senjan@gmail.com
- Remove not needed logrotate Requires
-------------------------------------------------------------------
Thu Oct 17 02:22:43 UTC 2013 - crrodriguez@opensuse.org
- remove use_all_paths_udev.patch, /lib/udev.. is a symlink
to /usr nowadays this confuses other parts of the code causing
errors/warnings during the initrd generation.
-------------------------------------------------------------------
Mon Oct 14 03:48:40 UTC 2013 - crrodriguez@opensuse.org
- version 034
* fcoe: add FCoE UEFI boot device support
* rootfs-block: add support for the rootfallback= kernel
cmdline option
* btrfs: use inst_hook to install the timeout hook
-------------------------------------------------------------------
Sun Oct 13 15:25:37 UTC 2013 - tittiatcoke@gmail.com
- Correct patch mkinitrd-fix-boot-dir-detection. (";;" doesn't
really work)
-------------------------------------------------------------------
Wed Oct 9 10:59:01 UTC 2013 - tittiatcoke@gmail.com
- Updated the patch mkinitrd-fix-boot-dir-detection.patch to a
more generic validation that the inidcated initrd file doesn't
contain a path. If no path is given, then add the default
boot_dir.
-------------------------------------------------------------------
Tue Oct 8 18:59:30 UTC 2013 - tittiatcoke@gmail.com
- Fix again the mkinitrd script as that people don't seem to test.
Added mkinitrd-fix-boot-dir-detection.patch so that an initrd
is created.
-------------------------------------------------------------------
Mon Oct 7 08:58:00 UTC 2013 - trenn@suse.de
- Update to mainline git version 033, b7d1b6f904a5b0bdd9a5ad19149f3.
- Remove all patches which went mainline:
generalize_early_cpio.patch
microcode_cleanup.patch
acpi_override.patch
mkinitrd_allow_no_option.patch
mkinitrd_allow_multiple_args.patch
quiet_options.patch
implement_default.patch
root_fs.patch
suse_host_only.patch
- Fix missing root fs slash in lib/udev/rules.d resulting in:
/var/tmp/initramfs.Lusf6flib/udev/rules.d
- bcache: removed, it's in the upstream bcache-tools package
mainline git commit: 49268028b90f6344f79e3510d2
- Fix bad she-bang in mkinitrd_setup_dummy
-------------------------------------------------------------------
Fri Oct 4 17:23:19 UTC 2013 - tittiatcoke@gmail.com
- Add patch mkinitrd_update_bootloader.diff so that after
generating the initrd, the update-bootloader is called to update
grub2.
-------------------------------------------------------------------
Fri Oct 4 16:26:20 UTC 2013 - tittiatcoke@gmail.com
- Validate that the parameters passed with -i (initrd file) does
not already contain the boot_dir.
-------------------------------------------------------------------
Fri Oct 4 09:58:17 UTC 2013 - tittiatcoke@gmail.com
- Bring back the versioned Provides/Obsoletes for mkinitrd.
Otherwise we run into issues as that udev is conflicting with
mkinitrd < 2.7.0
-------------------------------------------------------------------
Wed Oct 2 14:54:51 UTC 2013 - trenn@suse.de
- Remove Provides/Obsoletes: mkinitrd versioning.
Simply obsolete and provide all mkinitrd versions.
-------------------------------------------------------------------
Wed Oct 2 13:19:23 UTC 2013 - mvyskocil@suse.com
- Mark /etc/dracut.conf.d/02-early-microcode.conf as config file
-------------------------------------------------------------------
Wed Sep 25 15:17:57 UTC 2013 - trenn@suse.de
- Add ACPI table override ability:
generalize_early_cpio.patch #PATCH-FIX-UPSTREAM
microcode_cleanup #PATCH-FIX-UPSTREAM
acpi_override.patch #PATCH-FIX-UPSTREAM
- This will replace mkinitrd with dracut as the default initrd generator.
Therefore Prefer: dracut tag in the project config of the repo is needed.
Otherwise OSC does not know how to build installation-images
(needing mkinitrd to build) and which package to take.
- To switch back and try mkinitrd instead of dracut will be:
Uninstall dracut:
- rpm -e dracut --nodeps
And install mkinitrd again:
- zypper install mkinitrd
- Adjust mkinitrd-dracut.sh to SUSE mkinitrd:
<none> : Before gives a "usage" error -> now scans /boot for kernels
and builds corresponding inirtrds for them
-i -k : Pass a list of kernels and initrd targets
(not sure it was worth the hassle to be able to pass)
-b : Boot directory to search for kernel images
-d : Change root file system. Not tested whether dracut's behavior
matches exactly what our mkinitrd does.
-s : Dummy (should even be obsolete in latest mkinitrd)
These patches have been submitted, but now feedback from mainline yet:
mkinitrd_allow_no_option.patch
mkinitrd_allow_multiple_args
quiet_options
implement_default
root_fs
suse_host_only
- Write caller and used parameters to syslog if mkinitrd is called.
So that those can easily be fixed and checked for correctness.
This should get reverted again before a bigger release.
This patch will never show up mainline and should also get reverted
from SUSE factory repo before the next release shows up:
suse_only_logger
- Build host only images for default paths in SUSE for faster build and
smaller images. Imply --force in this case as well.
* suse_host_only.patch
-------------------------------------------------------------------
Sat Sep 21 17:36:13 UTC 2013 - crrodriguez@opensuse.org
- save a few seconds on boot by always including the autofs4
kernel module in the initrd
-------------------------------------------------------------------
Sat Sep 21 17:31:15 UTC 2013 - crrodriguez@opensuse.org
- dracut 033
- improved hostonly device recognition
- improved hostonly module recognition
- do not install udev rules from /etc in generic mode
- fixed LABEL= parsing for swap devices
- fixed iBFT network setup
- removed caching of kernel cmdline
- bcache: support new blkid
- ifup with dhcp, if no "ip=" specified for the interface
- fixed ifup udev rules
-------------------------------------------------------------------
Mon Sep 9 01:09:44 UTC 2013 - crrodriguez@opensuse.org
- After testing, we need to correct a major problem, /usr/bin/mount
most be installed in /bin/mount on the initrd otherwise boot fails.
-------------------------------------------------------------------
Mon Sep 9 00:23:56 UTC 2013 - crrodriguez@opensuse.org
- version 032
- add parameter --print-cmdline
- dracut now creates the initramfs without udevadm
that means the udev database does not have to populated
and the initramfs can be built in a chroot with
/sys /dev /proc mounted.
- renamed dracut_install() to inst_multiple() for consistent naming
- if $libdirs is unset, fall back to ld.so.cache paths
- always assemble /usr device in initramfs
- bash module added (disable it, if you really want dash)
- continue to boot, if the main loop times out, in systemd mode
- removed inst*() shell pure versions, dracut-install binary is in charge now
- fixed ifcfg file generation for vlan
- do not include adjtime and localtime anymore
- fixed generation of zfcp.conf of CMS setups
- install vt102 terminfo
- dracut_install() is still there for backwards compat
- do not strip files in FIPS mode
- fixed iBFT interface configuration
- fs-lib: install fsck and fsck.ext*
- shutdown: fixed killall_proc_mountpoint()
- network: also wait for ethernet interfaces to setup
- fixed checking for FIPS mode
-------------------------------------------------------------------
Mon Aug 5 04:30:48 UTC 2013 - crrodriguez@opensuse.org
- version 031_git201308011055
* systemd: add support for kmod static devnodes
* crypt: Wait for udev to settle before unlocking disk
* systemd/dracut-pre-trigger.service: run after systemd-tmpfiles-setup-dev
* systemd: use systemd in the initramfs, if installed on the system
-------------------------------------------------------------------
Sat Aug 3 07:10:55 UTC 2013 - tittiatcoke@gmail.com
- Drop the buildrequire for the microcode_ctl. This package
is no longer in Factory and with the latest kernel (3.11)
no longer required.
-------------------------------------------------------------------
Sun Jul 28 00:39:55 UTC 2013 - crrodriguez@opensuse.org
- version 030_git201307241235
* systemd: Replace prefdm.service with display-manager.service
* modsign: do not install, if no keys present
* bcache: add support for bcache
* Use systemd-cat for logging on systemd systems, if logfile is empty
-------------------------------------------------------------------
Sun Jul 21 17:17:58 UTC 2013 - tittiatcoke@gmail.com
- Remove the http link for the Source0. Git snapshots can
not be obtained that way.
-------------------------------------------------------------------
Wed Jul 17 20:25:58 UTC 2013 - crrodriguez@opensuse.org
- Version 029_git201307171236
* support early microcode loading in x86
-------------------------------------------------------------------
Thu Jun 27 19:41:46 UTC 2013 - crrodriguez@opensuse.org
- Require pigz instead of gzip
-------------------------------------------------------------------
Tue Jun 18 00:48:24 UTC 2013 - crrodriguez@opensuse.org
- version 029
* fixes for the networking modules
* fixes for systemd integration
* fixes for the i18n module (removes dracut-font.patch now upstream)
-------------------------------------------------------------------
Thu Jun 6 19:20:47 UTC 2013 - crrodriguez@opensuse.org
- version 027_git201306061213
* setup correct system time and time zone in initrd
* systemd integration bugfixes
* lvm bugfixes.
-------------------------------------------------------------------
Wed May 8 23:05:40 UTC 2013 - crrodriguez@opensuse.org
- Recommend pigz for faster/parallel compression
-------------------------------------------------------------------
Sat Apr 20 14:55:20 UTC 2013 - crrodriguez@opensuse.org
- Ensure we use display-manager.service instead of prefdm.
-------------------------------------------------------------------
Mon Apr 15 00:59:59 UTC 2013 - crrodriguez@opensuse.org
- Update to 027_git201304121327
* much of patch correct-paths-for-opensuse.patch is no longer
need so it has shrinked significantly.
* since PRE-027 dracut requires systemd >= 199 reflect that in
in the rpm buildRequires.
-------------------------------------------------------------------
Wed Apr 3 09:23:22 UTC 2013 - tittiatcoke@gmail.com
- dracut-027
* systemd module now requires systemd >= 199
* dracut makes use of native systemd initrd units
* added hooks for new-kernel-pkg and kernel-install
* hostonly is now default for fedora
* comply with the BootLoaderSpec paths
http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
* added rescue module
* host_fs_types is now a hashmap
* new dracut argument "--regenerate-all"
* new dracut argument "--noimageifnotneeded"
* new man page dracut.bootup
* install all host filesystem drivers
* use -D_FILE_OFFSET_BITS=64 to build dracut-install
-------------------------------------------------------------------
Tue Mar 19 21:32:09 UTC 2013 - crrodriguez@opensuse.org
- Update to 026_git201303180829
* bugfixes
* adds bash completion Support
- Most importantly, fix the (silly) compatibility patch
that changes the name from initramfs to initrd that went broken
in last update (all initrds were suffixed by .img)
-------------------------------------------------------------------
Tue Mar 12 22:01:14 UTC 2013 - crrodriguez@opensuse.org
- dracut-026
- introduce /usr/lib/dracut/dracut.conf.d/ drop-in directory
/usr/lib/dracut/dracut.conf.d/*.conf can be overwritten by the same
filenames in /etc/dracut.conf.d.
Packages should use /usr/lib/dracut/dracut.conf.d rather than
/etc/dracut.conf.d for drop-in configuration files.
/etc/dracut.conf and /etc/dracut.conf.d belong to the system administrator.
- uses systemd-198 native initrd units
- totally rely on the fstab-generator in systemd mode for block devices
- dracut systemd now uses dracut.target rather than basic.target
- dracut systemd services optimize themselves away
- fixed hostonly parameter generation
- turn off curl globbing (fixes IPv6)
- modify the udev rules on install and not runtime time
- enable initramfs building without kernel modules (fixed regression)
- in the initqueue/timeout,
reset the main loop counter, as we see new udev events or initqueue/work
- fixed udev rule installation
-------------------------------------------------------------------
Fri Feb 22 00:16:46 UTC 2013 - crrodriguez@opensuse.org
- Update to 025_git201302211113
* Support out-of-tree and updated drivers in initramfs creation
* shutdown: call "losetup -D" on shutdown
* Mount /proc before including dracut-lib.sh.
* dracut.sh: make /var/log a symlink to /run/log
* systemd/dracut-pre-pivot.sh: remove /dev/root symlink after shell
* kernel-modules: Add ehci support for kernel 3.8+
* Other bugfixes
-------------------------------------------------------------------
Sun Feb 3 02:07:39 UTC 2013 - crrodriguez@opensuse.org
- BuildRequires: pkgconfig(systemd) so %{_unitdir} is defined
and systemd integration works..
-------------------------------------------------------------------
Mon Jan 28 17:52:28 UTC 2013 - crrodriguez@opensuse.org
- Require modutils instead of module-init-tools.
-------------------------------------------------------------------
Thu Jan 24 09:57:18 UTC 2013 - hrvoje.senjan@gmail.com
- Update to release 025:
+ do not strip signed kernel modules
+ add sosreport script and generate /run/initramfs/sosreport.txt
+ make short uuid specification for allow-discards work
+ turn off RateLimit for the systemd journal
+ fixed MAC address assignment
+ add systemd checkisomd5 service
+ splitout drm kernel modules from plymouth module
+ add 'swapoff' to initramfs to fix shutdown/reboot
+ add team device support
+ add pre-shutdown hook
+ kill all processes in shutdown and report remaining ones
+ "--device" changed to "--add-device" and "add_device=" added
for conf files
+ add memory usage trace to different hook points
+ cope with optional field #7 in /proc/self/mountinfo
+ lots of small bugfixes
-------------------------------------------------------------------
Thu Dec 6 20:15:41 UTC 2012 - crrodriguez@opensuse.org
- dracut wants "strip" installed which is part of binutils
recommend that package
-------------------------------------------------------------------
Mon Nov 5 08:44:30 UTC 2012 - tittiatcoke@gmail.com
- Added additional patches to make dracut work in an openSUSE
environment.
- Added patch (use_all_paths_udev.patch) to use both /usr/lib/udev
and /lib/udev as long as not all packages migrated.
- Added patch (use_initrd_insteadof_initramfs.patch) to change
the naming of the generated initrd file to be more openSUSE
- Added patch (use_sysconfig_values_correctly.patch) to read the
correct keymap value from /etc/sysconfig. (.gz extension)
-------------------------------------------------------------------
Thu Nov 1 17:47:45 UTC 2012 - tittiatcoke@gmail.com
- Update to release 024:
+ new dracut option "--device"
+ new dracut kernel command line options "rd.auto"
+ new dracut kernel command line options "rd.noverifyssl"
+ new dracut option "--kernel-cmdline" and "kernel_cmdline"
option for default parameters
+ fixes for systemd and crypto
+ fix for kexec in shutdown, if not included in initramfs
+ create the initramfs non-world readable
+ prelink/preunlink in the initramfs
+ strip binaries in the initramfs by default now
+ various FIPS fixes
+ various dracut-install fixes
- Added patch (correct-paths-for-opensuse.patch) to ensure correct
paths for openSUSE (Plymouth)
-------------------------------------------------------------------
Fri Sep 28 12:10:20 UTC 2012 - fcrozat@suse.com
- Add initramfs-non-world-readable.patch: fix CVE-2012-4453
(bnc#782734).
-------------------------------------------------------------------
Wed Aug 1 13:39:16 UTC 2012 - fcrozat@suse.com
- Update to release 023:
+ resume from hibernate fixes
+ -N option for --no-hostonly
+ support for systemd crypto handling
+ new dracut module "crypt-loop"
+ deprecate the old kernel command line options
+ more documentation
+ honor CFLAGS for dracut-install build
+ multipath fixes
+ / is mounted according to rootflags parameter but forced ro at
first. Later it is remounted according to /etc/fstab +
rootflags parameter and "ro"/"rw".
+ support for xfs / reiserfs separate journal device
+ new "ro_mnt" option to force ro mount of / and /usr
+ root on cifs support
+ dracut-install: fixed issue for /var/tmp containing a symlink
+ only lazy resolve with ldd, if the /var/tmp partition is not
mounted with "noexec".
+ i18n: fixed inclusion of "include" keymaps
- Drop dracut_makefile_cflags_pass.patch and separate-journal.patch
(merged upstream)
-------------------------------------------------------------------
Mon Jul 23 15:37:59 UTC 2012 - fcrozat@suse.com
- Update to release 022:
+ fixed host-only kernel module bug
- Changes from release 021:
+ fixed systemd in the initramfs (requires systemd >= 187)
+ dracut-install: massive speedup with /var on the same
filesystem with COW copy.
+ dracut-install: moved to /usr/lib/dracut until it becomes a
general purpose toot
+ new options: "rd.usrmount.ro" and "rd.skipfsck"
+ less mount/umount
+ apply "ro" on the kernel command line also to /usr
+ mount according to fstab, if neither "ro" or "rw" is specified
+ skip fsck for xfs and btrfs. remount is enough
+ give emergency_shell if /usr mount failed
+ dracut now uses getopt:
- options can be position independent now!!
- we can now use --option=<arg>
+ added option "--kver=<kernel-version>", and the image location
can be omitted : dracut --kver 3.5.0-0.rc7.git1.2.fc18.x86_64
+ dracut.sh: for --include copy also the symbolic links
+ man pages: lsinitrd and mkinitrd added
+ network: We do not support renaming in the kernel namespace
anymore (as udev does that not anymore). So, if a user wants to
use ifname, he has to rename to a custom namespace. "eth[0-9]+"
is not allowed anymore.
+ resume: moved the resume process to the initqueue.
This should prevent accidently mounting the root file system.
+ improve running testsuite
- Clean up package to be openSUSE only package and follow openSUSE
standard.
- Add dracut module to convert openSUSE/SLE initrd cmdline
parameters into dracut parameters at boot time.
- Add separate-journal.patch: add support for separate journal for
reiserfs and XFS.
-------------------------------------------------------------------
Thu Jul 12 15:39:12 UTC 2012 - trenn@suse.de
- First check in of version 020
- Fix Makefile so that make -e CFLAGS="$RPM_OPT_FLAGS" can be passed
- Remove Requires on libcap
- some more changes, most sent mainline