]> git.ipfire.org Git - thirdparty/dracut.git/blame - NEWS
dracut.sh: create the initramfs non-world readable also if early cpio is used
[thirdparty/dracut.git] / NEWS
CommitLineData
6fcd5c8e
HH
1dracut-045
2==========
3
4dracut now requires libkmod for the dracut-install binary helper.
5
6dracut.sh:
7- restorecon final image file
8- fail hard, if we find modules and modules.dep is missing
9
10dracut-functions.sh:
11- fix check_vol_slaves() volume group name stripping
12
13dracut-install:
14- catch ldd message "cannot execute binary file"
15- added kernel module handling with libkmod
16 Added parameters:
17 --module,-m
18 --mod-filter-path, -p
19 --mod-filter-nopath, -P
20 --mod-filter-symbol, -s
21 --mod-filter-nosymbol, -S
22 --mod-filter-noname, -N
23 --silent
24 --kerneldir
25 --firmwaredirs
26
27lsinitrd:
28- new option "--unpack"
29- new option "--unpackearly"
30- and "--verbose"
31
32general initramfs fixes:
33- don't remove 99-cmdline-ask on 'hostonly' cleanup
34- call dracut-cmdline-ask.service, if /etc/cmdline.d/*.conf exists
35- break at switch_root only for bare rd.break
36
37dmsquash-live:
38- fixed livenet-generator execution flag
39 and include only, if systemd is used
40- fixed dmsquash-live-root.sh for cases where the fstype of the liveimage is squashfs
41- fixed typo for rootfs.img
42
43dmraid:
44- added "nowatch" option in udev rule, otherwise udev would reread partitions for raid members
45
46shutdown:
47- handle readonly /run on shutdown
48
49kernel-modules:
50- add all HID drivers, regardless of hostonly mode
51 people swap keyboards sometimes and should be able to enter their disk password
52- add usb-storage
53 To save the rdsosreport.txt to a USB stick, the usb-storage module is needed.
54
55systemd:
56- add /etc/machine-info
57- fixed systemd-escape call for names beginning with "-"
58
9f521f76
TPG
59filesystems:
60- add support to F2FS filesystem (fsck)
61
6fcd5c8e
HH
62network:
63- fix carrier detection
64- correctly set mac address for ip=...:<mtu>:<mac>
65- fixed vlan, bonding, bridging, team logic
66 call ifup for the slaves and assemble afterwards
67- add mtu to list of variables to store in override
68- for rd.neednet=0 a bootdev is not needed anymore
69- dhclient-script.sh: add classless-static-routes support
70
71nbd:
72- add systemd generator
73- use export names instead of port numbers, because port number based
74 exports are deprecated and were removed.
75
76fcoe:
77- no more /dev/shm state copying
78
79multipath:
80- check all /dev/mapper devices if they are multipath devices, not only mpath*
81
82fips:
83- fixed .hmac installation in FIPS mode
84
85plymouth:
86- also trigger the acpi subsystem
87
6612ae0d
HH
88dracut-044
89==========
90creation:
91- better udev & systemd dir detection
92- split dracut-functions.sh in dracut-init.sh and dracut-functions.sh
93 dracut-functions.sh can now be sourced by external tools
94- detect all btrfs devices needed
95- added flag file if initqueue is needed
96- don't overwrite anything, if initramfs image file creation failed
97- if no compressor is specified, try to find a suitable one
98- drop scanning kernel config for CONFIG_MICROCODE_*_EARLY
99- remove "_EARLY" from CONFIG_MICROCODE_* checks
100- dracut.sh: add command line option for install_i18_all
101 --no-hostonly-i18n -> install_i18n_all=yes
102 --hostonly-i18n -> install_i18n_all=no
103- --no-reproducible to turn off reproducible mode
104- dracut-function.sh can now be sourced from outside of dracut
105- dracut-init.sh contains all functions, which only can be used from
106 within the dracut infrastructure
107- support --mount with just mountpoint as a parameter
108- removed action_on_fail support
109- removed host_modalias concept
110- do not create microcode, if no firmware is available
111- skip gpg files in microcode generation
112
113initramfs:
114- ensure pre-mount (and resume) run before root fsck
115- add --online option to initqueue
116
117qemu:
118- fixed virtual machine detection
119
120lvm:
121- remove all quirk arguments for lvm >= 2.2.221
122
123dmsquash:
124- fixup for checkisomd5
125- increase timeout for checkisomd5
126- use non-persistent metadata snapshots for transient overlays.
127- overflow support for persistent snapshot.
128- use non-persistent metadata snapshots.
129- avoid an overlay for persistent, uncompressed, read-write live installations.
130
131multipath:
132- multipath.conf included in hostonly mode
133- install all multipath path selector kernel modules
134
135iSCSI:
136- use the iBFT initiator name, if found and set
137- iscsid now present in the initramfs
138- iscsistart is done with systemd-run asynchrone to do things in
139 paralllel. Also restarted for every new interface which shows up.
140- If rd.iscsi.waitnet (default) is set, iscsistart is done only
141 after all interfaces are up.
142- If not all interfaces are up and rd.iscsi.testroute (default) is set,
143 the route to a iscsi target IP is checked and skipped, if there is none.
144- If all things fail, we issue a "dummy" interface iscsiroot to retry
145 everything in the initqueue/timeout.
146
147network:
148- added DHCP RENEW/REBIND
149- IPv4 DHCP lease time now optional (bootp)
150- IPv6 nfs parsing
151- fixed IPv6 route parsing
152- rd.peerdns=0 parameter to disable DHCP nameserver setting
153- detect duplicate IPv4 addresses for static addresses
154- if interfaces are specified with its enx* name, bind the correspondent MAC to the interface name
155- if multiple "ip=" are present on the kernel command line "rd.neednet=1" is assumed
156- add options to tweak timeouts
157 rd.net.dhcp.retry=<cnt>
158 If this option is set, dracut will try to connect via dhcp
159 <cnt> times before failing. Default is 1.
160
161 rd.net.timeout.dhcp=<arg>
162 If this option is set, dhclient is called with "-timeout <arg>".
163
164 rd.net.timeout.iflink=<seconds>
165 Wait <seconds> until link shows up. Default is 60 seconds.
166
167 rd.net.timeout.ifup=<seconds>
168 Wait <seconds> until link has state "UP". Default is 20 seconds.
169
170 rd.net.timeout.route=<seconds>
171 Wait <seconds> until route shows up. Default is 20 seconds.
172
173 rd.net.timeout.ipv6dad=<seconds>
174 Wait <seconds> until IPv6 DAD is finished. Default is 50 seconds.
175
176 rd.net.timeout.ipv6auto=<seconds>
177 Wait <seconds> until IPv6 automatic addresses are assigned.
178 Default is 40 seconds.
179
180 rd.net.timeout.carrier=<seconds>
181 Wait <seconds> until carrier is recognized. Default is 5 seconds.
182
183IMA:
184- load signed certificates in the IMA keyring, see modules.d/98integrity/README
185- load EVM public key in the kernel _evm keyring
186
187FCoE:
188 fcoe: start with fcoemon instead of fipvlan
189
eab03540
HH
190dracut-043
191==========
192- add missing dmsquash-generator
193
04bf862d
HH
194dracut-042
195==========
196- fixed dmsetup shutdown
197- new kernel command line option "rd.live.overlay.thin"
198 This option changes the underlying mechanism for the overlay in the
199 dmsquash module.
200 Instead of a plain dm snapshot a dm thin snapshot is used. The advantage
201 of the thin snapshot is, that the TRIM command is recognized, which
202 means that at runtime, only the occupied blocks will be claimed from
203 memory, and freed blocks will really be freed in ram.
204- dmsquash: Add squashfs support to rd.live.fsimg
205 Previously rd.live.fsimg only supported filesystems residing in
206 (compressed) archives.
207 Now rd.live.fsimg can also be used when a squashfs image is used.
208 This is achieved by extracting the rootfs image from the squashfs and
209 then continue with the default routines for rd.live.fsimg.
210- lvm: add support for LVM system id
211- split up the systemd dracut module
212 Basic systemd functionality is in 00systemd now.
213 Switching root and the initrd.target is in 00systemd-initrd.
214 Dracut additions to the systemd initrd are in 98dracut-systemd.
215- support for creating a UEFI boot executable via argument "--uefi"
216 With an EFI stub, the kernel, the initramfs and a kernel cmdline can be
217 glued together to a single UEFI executable, which can be booted by a
218 UEFI BIOS.
219- network: split out kernel-network-modules, now in 90kernel-network-modules
220- support for ethernet point-to-point connections configured via DHCP
221- kernel-modules: install all HID drivers
222- dracut.pc pkg-config file
223- mount /dev, /dev/shm and /run noexec
224
e97ed337
HH
225dracut-041
226==========
227- fixed the shutdown loop
228- fixed gzip compression for versions, which do not have --rsyncable
229- fixed ifcfg generation for persistent interface names
230- multipath:
231 * new option to turn off multipath "rd.multipath=0" completly
232 * preload scsi dh modules
233 * start multipathd via systemd service
234- do not fail, if user pressed ESC during media check
235- fixed systemd-journal by symlinking /var/log to /run/initramfs/log
236- initrd-release moved to /usr/lib
237- lots of iSCSI fixes
238- new "rd.timeout" to specify the systemd JobTimeoutSec for devices
239- if $initrd/etc/cmdline.d/* has a "root=" and the kernel cmdline does not,
240 generate a mount unit for it
241- increased the initqueue timeout for non systemd initramfs to 180s
242- $initrd/etc/cmdline.d/ hostonly files are now generated for NFS
243- make use of systemd-hibernate-resume, if available
244- fixed ldconfig parsing for hwcap output
245- network: add support for comma separated autoconf options like ip=eth0:auto6,dhcp
246- new parameter "rd.live.overlay.size" to specify the overlay for live images
247- changed the test suite for the new sfdisk syntax
248- added cache tools for dm-cache setups
249
1c08ad50
HH
250dracut-040
251==========
252- fixed dracut module dependency checks
253- fixed test suite
254
ba7dab6d
HH
255dracut-039
256==========
257- DRACUT_PATH can now be used to specify the PATH used by dracut
258 to search for binaries instead of the default
259 /usr/sbin:/sbin:/usr/bin:/bin
260 This should be set in the distribution config file
261 /usr/lib/dracut/dracut.conf.d/01-dist.conf
192990ce
HH
262- add "--loginstall <DIR>" and loginstall="<DIR>" options
263 to record all files, which are installed from the host fs
264- "rd.writable.fsimg" - support for read/write filesystem images
ba7dab6d
HH
265- "rd.route" kernel command line parameter added
266- "--install-optional" and install_optional_items added
267- find plymouth pkglibdir on debian
192990ce
HH
268- torrent support for live images
269 root=live:torrent://example.com/liveboot.img.torrent
270 and generally added as a download handler
271- disable microcode, if the kernel does not support it
ba7dab6d
HH
272- speed up ldconfig_paths()
273- more ARM modules
274- fixed inst*() functions and "-H" handling
192990ce
HH
275- fixed bridge setup
276- added --force-drivers parameter and force_drivers=+ config option
277 to enforce driver loading at early boot time
278- documented "iso-scan/filename" usage in grub
ba7dab6d
HH
279- various bugfixes
280
267a109a
HH
281dracut-038
282==========
283- "rd.cmdline=ask" will ask the user on the console to enter additional
284 kernel command line parameters
285- "rd.hostonly=0" removes all "hostonly" added custom files,
286 which is useful in combination with "rd.auto" or other specific parameters,
287 if you want to boot on the same hardware, but the compiled in configuration
288 does not match your setup anymore
289- inst* functions and dracut-install now accept the "-H" flag, which logs all
290 installed files to /lib/dracut/hostonly-files. This is used to remove those
291 files, if rd.hostonly is given on the kernel command line
292- strstr now only does literal string match,
293 please use strglob and strglobin for globs
294- fixed unpacking of the microcode image on shutdown
295- added systemd-gpt-auto-generator
296- fcoe: wait for lldpad to be ready
297- network: handle "ip=dhcp6"
298- network: DCHPv6: set valid_lft and preferred_lft
299- dm: support dm-cache
300- fstab: do not mount and fsck from fstab if using systemd
301- break at switch_root only for bare rd.break and not for any rd.break=...
302- nbd: make use of "--systemd-mark", otherwise it gets killed on switch_root
303- fcoe-uefi: fixed cmdline parameter generation
304- iscsi: deprecate "ip=ibft", use "rd.iscsi.ibft[=1]" from now on
305- "lsinitrd -m" now only lists the dracut modules of the image
306- a lot of small bugfixes
307
2bdf760f
HH
308dracut-037
309==========
310- dracut: hostonly_cmdline variable and command line switch
311 Toggle hostonly cmdline storing in the initramfs
312 --hostonly-cmdline:
313 Store kernel command line arguments needed in the initramfs
314 --no-hostonly-cmdline:
315 Do not store kernel command line arguments needed in the initramfs
316- dracut: --mount now understands full fstab lines
317- dracut now also includes drivers from the /lib/modules/<version>/updates directory
318- dracut: only set the owner of files to 0:0, if generated as non-root
319- dracut now directly writes to the initramfs file
320- dracut: call lz4 with the legacy flag (linux kernel does not support the new format)
321- systemd: rootfs-generator generates JobTimeout=0 units for the root device
322- systemd: added the systemd-sysctl service
323- systemd: add 80-net-setup-link.rules and .link files for persistent interface renaming
96087189 324- systemd: make dracut-shutdown.service failure non-fatal
2bdf760f
HH
325- network: various IPv6 fixes
326- network: DCHCP for IPv6
327- network: understand ip=.....:<dns1>:<dns2>
328- network: parse ibft nameserver settings
96087189
HH
329- shutdown: if kexec fails, just reboot
330- lvm: handle one LV at a time with lvchange
2bdf760f
HH
331- module-setup.sh:
332 New functions require_binaries() and require_any_binary() to be used
333 in the check() section of module-setup.sh.
334- a lot of small bugfixes
335
336Contributions from:
337Harald Hoyer
338Alexander Tsoy
339Till Maas
340Amadeusz Żołnowski
341Brian C. Lane
342Colin Guthrie
343Dave Young
344WANG Chao
345Shawn W Dunn
346
d50a99c5
HH
347dracut-036
348==========
349- fixed skipcpio signature checking
350
41351164
HH
351dracut-035
352==========
353- changed dracut tarball compression to xz
354- new argument "--rebuild"
355- add lzo, lz4 compression
356- install: install all binaries with <name> found in PATH
357- lsinitrd can now handle initramfs images with an early cpio prepended
358 (microcode, ACPI tables)
359- mkinitrd-suse added as a compat stub for dracut
360- lvm: install thin utils for non-hostonly
361- resume: fix swap detection in hostonly
362- avoid loading unnecessary 32-bit libraries for 64-bit initrds
363- crypt: wait for systemd password agents
364- crypt: skip crypt swaps with password files
365- network: before doing dhcp, dracut now checks, if the link has a carrier
366- network: dhclient-script.sh now sets the lease time
367- network: include usbnet drivers
368- network: include all ethernet drivers
369- network: add rd.bootif=0 to ignore BOOTIF
370- i18n: introduce i18n_install_all, to install everything i18n related
371- support SuSE DASD configurations
372- support SuSE zfcp configurations
373- support SuSE compressed KEYMAP= setting
374- usrmount: always install the module,
375 so always mount /usr from within the initramfs
376- test/TEST-17-LVM-THIN: new test case for lvm thin pools
377- "halt" the machine in systemd mode for die()
378
2f6ed29d
HH
379dracut-034
380==========
381- do not run dhcp on parts of assembled network interfaces (bond, bridge)
382- add option to turn on/off prelinking
383 --prelink, --noprelink
384 do_prelink=[yes|no]
385- add ACPI table overriding
386- do not log to syslog/kmsg/journal for UID != 0
387- lvm/mdraid: Fix LVM on MD activation
388- bcache module removed (now in bcache-tools upstream)
389- mdadm: also install configs from /etc/mdadm.conf.d
390- fixes for mdadm-3.2.6+
391- mkinitrd: better compat support for SUSE
392- fcoe: add FCoE UEFI boot device support
393- rootfs-block: add support for the rootfallback= kernel cmdline option
394
395Contributions from:
396Thomas Renninger
397Alexander Tsoy
398Peter Rajnoha
399WANG Chao
400Harald Hoyer
401
402
d8cc8c04
HH
403dracut-033
404==========
405- improved hostonly device recognition
406- improved hostonly module recognition
407- add dracut.css for dracut.html
408- do not install udev rules from /etc in generic mode
409- fixed LABEL= parsing for swap devices
410- fixed iBFT network setup
411- url-lib.sh: handle 0-size files with curl
412- dracut.asc: document debugging dracut on shutdown
413- if rd.md=0, use dmraid for imsm and ddf
414- skip empty dracut modules
415- removed caching of kernel cmdline
416- fixed iso-scan, if the loop device driver is a kernel module
417- bcache: support new blkid
418- fixed ifup udev rules
419- ifup with dhcp, if no "ip=" specified for the interface
420
2f6ed29d
HH
421Contributions from:
422WANG Chao
423Colin Walters
424Harald Hoyer
425
426
a073aa5a
HH
427dracut-032
428==========
429- add parameter --print-cmdline
430 This prints the kernel command line parameters for the current disk
431 layout.
432 $ dracut --print-cmdline
433 rd.luks.uuid=luks-e68c8906-6542-4a26-83c4-91b4dd9f0471
434 rd.lvm.lv=debian/root rd.lvm.lv=debian/usr root=/dev/mapper/debian-root
435 rootflags=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered
436 rootfstype=ext4
437- dracut.sh: add --persistent-policy option and persistent_policy conf option
438 --persistent-policy <policy>:
439 Use <policy> to address disks and partitions.
440 <policy> can be any directory name found in /dev/disk.
441 E.g. "by-uuid", "by-label"
442- dracut now creates the initramfs without udevadm
443 that means the udev database does not have to populated
444 and the initramfs can be built in a chroot with
445 /sys /dev /proc mounted
446- renamed dracut_install() to inst_multiple() for consistent naming
447- if $libdirs is unset, fall back to ld.so.cache paths
448- always assemble /usr device in initramfs
449- bash module added (disable it, if you really want dash)
450- continue to boot, if the main loop times out, in systemd mode
451- removed inst*() shell pure versions, dracut-install binary is in charge now
452- fixed ifcfg file generation for vlan
453- do not include adjtime and localtime anymore
454- fixed generation of zfcp.conf of CMS setups
455- install vt102 terminfo
456 dracut_install() is still there for backwards compat
457- do not strip files in FIPS mode
458- fixed iBFT interface configuration
459- fs-lib: install fsck and fsck.ext*
460- shutdown: fixed killall_proc_mountpoint()
461- network: also wait for ethernet interfaces to setup
462- fixed checking for FIPS mode
463
464Contributions from:
465Harald Hoyer
466WANG Chao
467Baoquan He
468Daniel Schaal
469Dave Young
470James Lee
471Radek Vykydal
472
473
de50e9c0
HH
474dracut-031
475==========
476- do not include the resume dracut module in hostonly mode,
477 if no swap is present
478- don't warn twice about omitted modules
479- use systemd-cat for logging on systemd systems, if logfile is unset
480- fixed PARTUUID parsing
481- support kernel module signing keys
482- do not install the usrmount dracut module in hostonly mode,
483 if /sbin/init does not live in /usr
484- add debian udev rule files
485- add support for bcache
486- network: handle bootif style interfaces
487 e.g. ip=77-77-6f-6f-64-73:dhcp
488- add support for kmod static devnodes
489- add vlan support for iBFT
490
491Contributions from:
492Harald Hoyer
493Amadeusz Żołnowski
494Brandon Philips
495Colin Walters
496James Lee
497Kyle McMartin
498Peter Jones
499
8642792c
HH
500dracut-030
501==========
502- support new persistent network interface names
503- fix findmnt calls, prevents hang on stale NFS mounts
504- add systemd.slice and slice.target units
505- major shell cleanup
506- support root=PARTLABEL= and root=PARTUUID=
507- terminfo: only install l/linux v/vt100 and v/vt220
508- unset all LC_* and LANG, 10% faster
509- fixed dependency loop for dracut-cmdline.service
510- do not wait_for_dev for the root devices
511- do not wait_for_dev for devices, if dracut-initqueue is not needed
512- support early microcode loading with --early-microcode
513- dmraid, let dmraid setup its own partitions
514- sosreport renamed to rdsosreport
515
de50e9c0
HH
516Contributions from:
517Harald Hoyer
518Konrad Rzeszutek Wilk
519WANG Chao
520
416d3d63
HH
521dracut-029
522==========
523- wait for IPv6 autoconfiguration
524- i18n: make the default font configurable
525 To set the default font for your distribution, add
526 i18n_default_font="latarcyrheb-sun16"
527 to your /lib/dracut/dracut.conf.d/01-dist.conf distribution config.
528- proper handle "rd.break" in systemd mode before switch-root
529- systemd: make unit files symlinks
530- build without dash requirement
531- add dracut-shutdown.service.8 manpage
532- handle MACs for "ip="
533 "ip=77-77-6f-6f-64-73:dhcp"
534- don't explode when mixing BOOTIF and ip=
535- 90lvm/module-setup.sh: redirect error message of lvs to /dev/null
536
537Contributions from:
538Harald Hoyer
539Will Woods
540Baoquan He
541
03671254
HH
542dracut-028
543==========
544- full integration of crypto devs in systemd logic
545- support for bridge over team and vlan tagged team
546- support multiple bonding interfaces
547- new kernel command line param "rd.action_on_fail"
548 to control the emergency action
549- support for bridge over a vlan tagged interface
550- support for "iso-scan/filename" kernel parameter
551- lsinitrd got some love and does not use "file" anymore
552- fixed issue with noexec mounted tmp dirs
553- FIPS mode fixed
554- dracut_install got some love
555- fixed some /usr mounting problems
556- ifcfg dracut module got some love and fixes
557- default installed font is now latarcyrheb-sun16
558- new parameters rd.live.dir and rd.live.squashimg
559- lvm: add tools for thin provisioning
560- also install non-hwcap libs
561- setup correct system time and time zone in initrd
562- s390: fixed cms setup
563- add systemd-udevd persistent network interface naming
564
565Contributions from:
566Harald Hoyer
567Kamil Rytarowski
568WANG Chao
569Baoquan He
570Adam Williamson
571Colin Guthrie
572Dan Horák
573Dave Young
574Dennis Gilmore
575Dennis Schridde
576
75369f8b
HH
577dracut-027
578==========
579- dracut now has bash-completion
580- require bash version 4
581- systemd module now requires systemd >= 199
582- dracut makes use of native systemd initrd units
583- added hooks for new-kernel-pkg and kernel-install
584- hostonly is now default for fedora
585- comply with the BootLoaderSpec paths
586 http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
587- added rescue module
588- host_fs_types is now a hashmap
589- new dracut argument "--regenerate-all"
590- new dracut argument "--noimageifnotneeded"
591- new man page dracut.bootup
592- install all host filesystem drivers
593- use -D_FILE_OFFSET_BITS=64 to build dracut-install
594
19d69051
HH
595dracut-026
596==========
597- introduce /usr/lib/dracut/dracut.conf.d/ drop-in directory
598
599 /usr/lib/dracut/dracut.conf.d/*.conf can be overwritten by the same
600 filenames in /etc/dracut.conf.d.
601
602 Packages should use /usr/lib/dracut/dracut.conf.d rather than
603 /etc/dracut.conf.d for drop-in configuration files.
604
605 /etc/dracut.conf and /etc/dracut.conf.d belong to the system administrator.
606
607- uses systemd-198 native initrd units
608- totally rely on the fstab-generator in systemd mode for block devices
609- dracut systemd now uses dracut.target rather than basic.target
610- dracut systemd services optimize themselves away
611- fixed hostonly parameter generation
612- turn off curl globbing (fixes IPv6)
613- modify the udev rules on install and not runtime time
614- enable initramfs building without kernel modules (fixed regression)
615- in the initqueue/timeout,
616 reset the main loop counter, as we see new udev events or initqueue/work
617- fixed udev rule installation
618
66f01450
HH
619dracut-025
620==========
621- do not strip signed kernel modules
622- add sosreport script and generate /run/initramfs/sosreport.txt
623- make short uuid specification for allow-discards work
624- turn off RateLimit for the systemd journal
625- fixed MAC address assignment
626- add systemd checkisomd5 service
627- splitout drm kernel modules from plymouth module
628- add 'swapoff' to initramfs to fix shutdown/reboot
629- add team device support
630- add pre-shutdown hook
631- kill all processes in shutdown and report remaining ones
632- "--device" changed to "--add-device" and "add_device=" added for conf files
633- add memory usage trace to different hook points
634- cope with optional field #7 in /proc/self/mountinfo
635- lots of small bugfixes
636
f046336c
HH
637dracut-024
638==========
639- new dracut option "--device"
640- new dracut kernel command line options "rd.auto"
641- new dracut kernel command line options "rd.noverifyssl"
642- new dracut option "--kernel-cmdline" and "kernel_cmdline" option for default parameters
643- fixes for systemd and crypto
644- fix for kexec in shutdown, if not included in initramfs
645- create the initramfs non-world readable
646- prelink/preunlink in the initramfs
647- strip binaries in the initramfs by default now
648- various FIPS fixes
649- various dracut-install fixes
650
6af5a4ac
HH
651dracut-023
652==========
653- resume from hibernate fixes
654- -N option for --no-hostonly
655- support for systemd crypto handling
656- new dracut module "crypt-loop"
657- deprecate the old kernel command line options
658- more documentation
659- honor CFLAGS for dracut-install build
660- multipath fixes
661- / is mounted according to rootflags parameter but forced ro at first.
662 Later it is remounted according to /etc/fstab + rootflags parameter
663 and "ro"/"rw".
664- support for xfs / reiserfs separate journal device
665- new "ro_mnt" option to force ro mount of / and /usr
666- root on cifs support
667- dracut-install: fixed issue for /var/tmp containing a symlink
668- only lazy resolve with ldd, if the /var/tmp partition is not mounted with "noexec"
669- i18n: fixed inclusion of "include" keymaps
670
df7be11b
HH
671dracut-022
672==========
673- fixed host-only kernel module bug
674
ddf818da
HH
675dracut-021
676==========
677- fixed systemd in the initramfs (requires systemd >= 187)
678- dracut-install: massive speedup with /var on the same filesystem with COW copy
679- dracut-install: moved to /usr/lib/dracut until it becomes a general purpose tool
680- new options: "rd.usrmount.ro" and "rd.skipfsck"
681- less mount/umount
682- apply "ro" on the kernel command line also to /usr
683- mount according to fstab, if neither "ro" or "rw" is specified
684- skip fsck for xfs and btrfs. remount is enough
685- give emergency_shell if /usr mount failed
686- dracut now uses getopt:
687 * options can be position independent now!!
688 * we can now use --option=<arg>
689- added option "--kver=<kernel-version>", and the image location can be omitted
690 # dracut --kver 3.5.0-0.rc7.git1.2.fc18.x86_64
691- dracut.sh: for --include copy also the symbolic links
692- man pages: lsinitrd and mkinitrd added
693- network: We do not support renaming in the kernel namespace anymore (as udev does
694 that not anymore). So, if a user wants to use ifname, he has to rename
695 to a custom namespace. "eth[0-9]+" is not allowed anymore. !!!!!
696- resume: moved the resume process to the initqueue.
697 This should prevent accidently mounting the root file system.
698- testsuite: add support for: make V=1 TESTS="01 20 40" check
699 $ sudo make V=1 clean check
700 now runs the testsuite in verbose mode
701
702 $ sudo make TESTS="01 20 40" clean check
703 now only runs the 01, 20 and 40 tests.
704
09eaf9f5
HH
705dracut-020
706==========
707- changed rd.dasd kernel parameter
708- arm kernel modules added to kernel-modules
709- make udevdir systemdutildir systemdsystemunitdir global vars
710 your distribution should ship those settings in
711 /etc/dracut.conf.d/01-distro.conf
712 see dracut.conf.d/fedora.conf.example
713- kernel modules are now only handled with /sys/modules and modules.dep
714- systemd fixups
715- mdraid: wait for md devices to be clean, before shutdown
716- ifup fixed for ipv6
717- add PARTUUID as root=PARTUUID=<partition uuid> parameter
718- fixed instmods() return code and set pipefail globally
719- add 04watchdog dracut module
720- dracut-shutdown.service: fixed ordering to be before shutdown.target
721- make use of "ln -r" instead of shell functions, if new coreutils is installed
722- network: support vlan tagged bonding
723- new dracut module qemu and qemu-net to install all kernel driver
724- fs-lib/fs-lib.sh: removed test mounting of btrfs and xfs
725- no more "mknod" in the initramfs!!
726- replaced all "tr" calls with "sed"
727- speedup with lazy kernel module dependency resolving
728- lots of speedup optimizations and last but not least
729- dracut-install:
730 - new binary to significanlty speedup the installation process
731 - dracut-functions.sh makes use of it, if installed
732
733
6d82d7bc
HH
734dracut-019
735==========
736- initqueue/online hook
737- fixes for ifcfg write out
738- rootfs-block: avoid remount when options don't change
739- Debian multiarch support
740- virtfs root filesystem support
741- cope with systemd-udevd
742- mount tmpfs with strictatime
743- include all kernel/drivers/net/phy drivers
744- add debug_on() and debug_off() functions
745- add arguments for source_hook() and source_all()
746- cleanup hook
747- plymouth: get consoledev from /sys/class/tty/console/active
748- experimental systemd dracut module for systemd in the initramfs
749- install xhci-hcd kernel module
750- dracut: new "--mount" option
751- lsinitrd: new option --printsize
752- ARM storage kernel modules added
753- s390 cms conf file support
754- /etc/initrd-release in the initrd
755- vlan support
756- full bonding and bridge support
757- removed scsi_wait_scan kernel module from standard install
758- support rd.luks.allow-discards and honor options in crypttab
759- lots of bugfixes
760
08842612
HH
761dracut-018
762==========
ef5c6eb9
HH
763- lvm: ignore lvm mirrors
764- lsinitrd: handle LZMA images
765- iscsi: add rd.iscsi.param
766- iscsi: add iscsi interface binding
767- new module cms to read and handle z-Series cms config files
768- fixed fstab.sys handling
769- new dracut option "--tmpdir"
770- new dracut option "--no-hostonly"
771- nbd: name based nbd connects
08842612
HH
772- converted manpage and documentation source to asciidoc
773- write-ifcfg fixes and cleanups
774- ifup is now done in the initqueue
775- netroot cleanup
776- initqueue/online is now for hooks, which require network
777- no more /tmp/root.info
778- 98pollcdrom: factored out the ugly cdrom polling in the main loop
779- simplified rd.luks.uuid testing
780- removed "egrep" and "ls" calls
781- speedup kernel module installation
782- make bzip2 optional
783- lots of bugfixes
784
f5a9e459
HH
785dracut-017
786==========
787- a _lot_ faster than dracut-016 in image creation
788- systemd service dracut-shutdown.service
789- livenet fixes
790- ssh-client module install fix
791- root=iscsi:... fixed
792- lots of restructuring and optimizing in dracut-functions.sh
793- usrmount: honor fs_passno in /etc/fstab
794- renamed all shell scripts to .sh
795- new option "--omit-drivers" and config option "omit_drivers"
796- hostonly mode fixups
797
6bee3369
HH
798dracut-016
799==========
800- fixed lsinitrd
801- honor binaries in sbin first
802- fixed usrmount module
803- added systemd service for shutdown
804- fixed terminfo on distros with /usr/share/terminfo
805- reload udev rules after "pre-trigger" hook
806- improved test suite
807- new parameter "--omit-drivers" and new conf param omit_drivers
808- "--offroot" support for mdraid
809- new libs: net-lib.sh, nfs-lib.sh, url-lib.sh, img-lib.sh
810 full of functions to use in your dracut module
811
a74eae77
HH
812dracut-015
813==========
814- hostonly mode automatically adds command line options for root and /usr
815- --add-fstab --mount parameters
816- ssh-client module
817- --ctty option: add job control
818- cleanup /run/initramfs
819- convertfs module
820- /sbin/ifup can be called directly
821- support kernel modules compressed with xz
822- s390 iscsi modules added
823- terminfo module
824- lsinitrd can handle concatened images
825- lsinitrd can sort by size
826
ef8b121e
HH
827dracut-014
828==========
829- new dracut arguments:
830 --lvmconf
831 --nolvmconf
832 --fscks [LIST]
833 --nofscks
834- new .conf options:
835 install_items
836 fscks
837 nofscks
838- new kernel options:
839 rd.md.ddf
840 rd.md.waitclean
841 plymouth.enable
842- dracut move from /sbin to /usr/bin
843- dracut modules dir moved from /usr/share/dracut to /usr/lib/dracut
844- profiling with "dracut --profile"
845- new TEST-16-DMSQUASH, test for Fedora LiveCDs
846- speedup of initramfs creation
847- ask_for_password fallback to CLI
848- mdraid completely switched to incremental assembly
849- no more cdrom polling
850- "switch_root" breakpoint is now very late
851- /dev/live is gone
852- /dev/root is gone
853- fs-lib dracut module for fscks added
854- xen dracut module removed
855- usb mass storage kernel drivers now included
856- usrmount dracut module added:
857 mount /usr if found in /sysroot/etc/fstab
858- only include fsck helper needed for hostonly
859- fcoe: support for bnx2fc
860- support iSCSI drivers: qla4xxx, cxgb3i, cxgb4i, bnx2i, be2iscsi
861- fips-aesni dracut module added
862- add install_items to dracut.conf
863 install_items+=" <file>[ <file> ...] "
864- speedup internal testsuite
865- internal testsuite: store temporary data in a temporary dir
866
e9519a39
HH
867dracut-013
868==========
869- speedup of initramfs creation
870- fixed inst_dir for symbolic links
871- add unix kernel module
872
e22ad509
HH
873dracut-012
874==========
875- better fsck handling
876- fixed wait condition for LVM volumes
877- fix for hardlinks (welcome Debian! :-)
878- shutdown bugfixes
879- automatic busybox symlink creation
880- try to mount /usr, if init points to a path in /usr
881- btrfs with multiple devices
882- "--force-add" option for dracut, to force-add dracut modules,
883 without hostonly checks
884- lsinitrd also display the initramfs size in human readable form
885- livenet module, to mount live-isos over http
886- masterkey,ecryptfs,integrity security modules
887- initqueue/timeout queue e.g. for starting degraded raids
888- "make rpm" creates an rpm with an increasing release number from any
889 git checkout
890- support lvm mirrors
891- start degraded lvm mirrors after a timeout
892- start degraded md raids after a timeout
893- getarg() now returns wildcards without file matching to the current fs
894- lots of bugfixes
895
b99dc517
HH
896dracut-011
897==========
898- use udev-168 features for shutting down udev
4765889b
HH
899- introduce "--prefix" to put all initramfs files in e.g "/run/initramfs"
900- new shutdown script (called by systemd >= 030) to disassemble the root device
901- lots of bugfixes
902- new module for gpg-encrypted keys - 91crypt-gpg
b99dc517 903
5dcd565d
HH
904dracut-010
905==========
906- lots of bugfixes
907- plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth
908- add "/lib/firmware/updates" to default firmware path
909
6981a0bf
HH
910dracut-009
911==========
9a54908f
HH
912- dracut generator
913 - dracut-logger
914 - xz compression
915 - better argument handling
916
917- initramfs
918 - hooks moved to /lib/dracut/hooks in initramfs
7641c73d 919 - rd.driver.{blacklist|pre|post} accept comma separated driver list
9a54908f
HH
920 - iSCSI: iSCSI Boot Firmware Table (iBFT) support
921 - support for /run
922 - live image: support for generic rootfs.img (instead of ext3fs.img)
923 - caps module
924 - FCoE: EDD support
925
c033d96e
HH
926dracut-008
927==========
9d1015b6 928- removed --ignore-kernel-modules option (no longer necessary)
6ae5caf0 929- renamed kernel command line arguments to follow the rd. naming scheme
71df3c43 930- merged check, install, installkernel to module-setup.sh
6ae5caf0
HH
931- support for bzip2 and xz compressed initramfs images.
932- source code beautification
933- lots of documentation
934- lsinitrd: "catinitrd" functionality
935- dracut: --list-modules
936- lvm: support for dynamic LVM SNAPSHOT root volume
937- 95fstab-sys: mount all /etc/fstab.sys volumes before switch_root
938- 96insmodpost dracut module
939- rd.shell=1 per default
940- rootfs-block:mount-root.sh add fsck
941- busybox shell replacements module
942- honor old "real_init="
943- 97biosdevname dracut module
c033d96e 944
0b2ddf8f
HH
945dracut-007
946==========
947- module i18n is no longer fedora/red hat specific (Amadeusz Żołnowski)
948- distribution specific conf file
949- bootchartd support
950- debug module now has fsck
620d0315 951- use "hardlink", if available, to save some space
0b2ddf8f 952- /etc/dracut.conf can be overwritten by settings in /etc/dracut.conf.d/*.conf
01816f2b
HH
953- gentoo splash module
954- --ignore-kernel-modules option
955- crypto keys on external devices support
0b2ddf8f
HH
956- bugfixes
957
bdcb63b0
HH
958dracut-006
959==========
960- fixed mdraid with IMSM
961- fixed dracut manpages
962- dmraid parse different error messages
963- add cdrom polling mechanism for slow cdroms
964- add module btrfs
8f74a60c 965- add btrfsctl scan for btrfs multi-devices (raid)
bdcb63b0
HH
966- teach dmsquash live-root to use rootflags
967- trigger udev with action=add
3b403b32 968- fixed add_drivers handling
bdcb63b0
HH
969- add sr_mod
970- use pigz instead of gzip, if available
7d86d90d
HH
971- boot from LVM mirrors and snapshots
972- iscsi: add support for multiple netroot=iscsi:
973- Support old version of module-init-tools
974- got rid of rdnetdebug
975- fixed "ip=auto6"
976- dracut.conf: use "+=" as default for config variables
977- bugfixes
bdcb63b0 978
e8767636
HH
979dracut-005
980==========
3b403b32 981- dcb support to dracut's FCoE support
e8767636
HH
982- add readonly overlay support for dmsquash
983- add keyboard kernel modules
984- dracut.conf: added add_dracutmodules
985- add /etc/dracut.conf.d
986- add preliminary IPv6 support
987- bugfixes
988
3ee26913
HH
989dracut-004
990==========
991- dracut-lib: read multiple lines from $init/etc/cmdline
992- lsinitrd and mkinitrd
993- dmsquash: add support for loopmounted *.iso files
994- lvm: add rd_LVM_LV and "--poll n"
995- user suspend support
996- add additional drivers in host-only mode, too
997- improved emergency shell
998- support for compressed kernel modules
999- support for loading Xen modules
1000- rdloaddriver kernel command line parameter
1001- man pages for dracut-catimages and dracut-gencmdline
1002- bugfixes
1003
b59d3549
HH
1004dracut-003
1005==========
9993392f
HH
1006- add debian package modules
1007- add dracut.conf manpage
b59d3549
HH
1008- add module 90multipath
1009- add module 01fips
1010- crypt: ignore devices in /etc/crypttab (root is not in there)
1011 unless rd_NO_CRYPTTAB is specified
1012- kernel-modules: add scsi_dh scsi_dh_rdac scsi_dh_emc
1013- add multinic support
1014- add s390 zfcp support
1015- add s390 dasd support
1016- add s390 network support
1017- fixed dracut-gencmdline for root=UUID or LABEL
1018- do not destroy assembled raid arrays if mdadm.conf present
3b403b32 1019- mount /dev/shm
b59d3549
HH
1020- let udevd not resolve group and user names
1021- moved network from udev to initqueue
1022- improved debug output: specifying "rdinitdebug" now logs
1023 to dmesg, console and /init.log
1024- strip kernel modules which have no x bit set
1025- redirect stdin, stdout, stderr all RW to /dev/console
1026 so the user can use "less" to view /init.log and dmesg
3b403b32 1027- add new device mapper udev rules and dmeventd
a8a3ca51 1028- fixed dracut-gencmdline for root=UUID or LABEL
95b4875c
HH
1029- do not destroy assembled raid arrays if mdadm.conf present
1030- mount /dev/shm
1031- let udevd not resolve group and user names
1032- preserve timestamps of tools on initramfs generation
1033- generate symlinks for binaries correctly
1034- moved network from udev to initqueue
1035- mount nfs3 with nfsvers=3 option and retry with nfsvers=2
1036- fixed nbd initqueue-finished
1037- improved debug output: specifying "rdinitdebug" now logs
1038 to dmesg, console and /init.log
95b4875c
HH
1039- strip kernel modules which have no x bit set
1040- redirect stdin, stdout, stderr all RW to /dev/console
1041 so the user can use "less" to view /init.log and dmesg
1042- make install of new dm/lvm udev rules optionally
95b4875c
HH
1043- add new device mapper udev rules and dmeventd
1044- Fix LiveCD boot regression
1045- bail out if selinux policy could not be loaded and
1046 selinux=0 not specified on kernel command line
95b4875c
HH
1047- do not cleanup dmraids
1048- copy over lvm.conf
1049
4d924752
HH
1050dracut-002
1051==========
1052- add ifname= argument for persistent netdev names
1053- new /initqueue-finished to check if the main loop can be left
1054- copy mdadm.conf if --mdadmconf set or mdadmconf in dracut.conf
1055- plymouth: use plymouth-populate-initrd
1056- add add_drivers for dracut and dracut.conf
1057- add modprobe scsi_wait_scan to be sure everything was scanned
1058- fix for several problems with md raid containers
1059- fix for selinux policy loading
1060- fix for mdraid for IMSM
1061- fix for bug, which prevents installing 61-persistent-storage.rules (bug #520109)
1062- fix for missing grep for md
1063
d889c019
HH
1064dracut-001
1065==========
1066- better --hostonly checks
1067- better lvm/mdraid/dmraid handling
1068- fcoe booting support
1069 Supported cmdline formats:
1070 fcoe=<networkdevice>:<dcb|nodcb>
1071 fcoe=<macaddress>:<dcb|nodcb>
3b403b32 1072
d889c019
HH
1073 Note currently only nodcb is supported, the dcb option is reserved for
1074 future use.
3b403b32 1075
d889c019 1076 Note letters in the macaddress must be lowercase!
3b403b32 1077
d889c019
HH
1078 Examples:
1079 fcoe=eth0:nodcb
1080 fcoe=4A:3F:4C:04:F8:D7:nodcb
1081
3b403b32 1082- Syslog support for dracut
d889c019
HH
1083 This module provides syslog functionality in the initrd.
1084 This is especially interesting when complex configuration being
1085 used to provide access to the device the rootfs resides on.
1086
1087
5d12f1a4
HH
1088dracut-0.9
1089==========
1090- let plymouth attach to the terminal (nice text output now)
1091- new kernel command line parameter "rdinfo" show dracut output, even when
1092 "quiet" is specified
1093- rd_LUKS_UUID is now handled correctly
1094- dracut-gencmdline: rd_LUKS_UUID and rd_MD_UUID is now correctly generated
1095- now generates initrd-generic with around 15MB
1096- smaller bugfixes
1097
0de91060
HH
1098dracut-0.8
1099==========
1100- iSCSI with username and password
1101- support for live images (dmsquashed live images)
1102- iscsi_firmware fixes
1103- smaller images
1104- bugfixes
1105
1106dracut-0.7
1107==========
1108- dracut: strip binaries in initramfs
3b403b32 1109
0de91060
HH
1110 --strip
1111 strip binaries in the initramfs (default)
3b403b32 1112
0de91060
HH
1113 --nostrip
1114 do not strip binaries in the initramfs
1115- dracut-catimages
3b403b32 1116
0de91060
HH
1117 Usage: ./dracut-catimages [OPTION]... <initramfs> <base image>
1118 [<image>...]
1119 Creates initial ramdisk image by concatenating several images from the
1120 command
1121 line and /boot/dracut/
3b403b32 1122
0de91060
HH
1123 -f, --force Overwrite existing initramfs file.
1124 -i, --imagedir Directory with additional images to add
1125 (default: /boot/dracut/)
1126 -o, --overlaydir Overlay directory, which contains files that
1127 will be used to create an additional image
1128 --nooverlay Do not use the overlay directory
1129 --noimagedir Do not use the additional image directory
1130 -h, --help This message
1131 --debug Output debug information of the build process
1132 -v, --verbose Verbose output during the build process
1133
1134- s390 dasd support
1135
1136dracut-0.6
1137==========
1138- dracut: add --kernel-only and --no-kernel arguments
3b403b32 1139
0de91060
HH
1140 --kernel-only
1141 only install kernel drivers and firmware files
3b403b32 1142
0de91060
HH
1143 --no-kernel
1144 do not install kernel drivers and firmware files
3b403b32 1145
0de91060
HH
1146 All kernel module related install commands moved from "install"
1147 to "installkernel".
3b403b32 1148
0de91060
HH
1149 For "--kernel-only" all installkernel scripts of the specified
1150 modules are used, regardless of any checks, so that all modules
1151 which might be needed by any dracut generic image are in.
3b403b32 1152
0de91060
HH
1153 The basic idea is to create two images. One image with the kernel
1154 modules and one without. So if the kernel changes, you only have
1155 to replace one image.
3b403b32 1156
0de91060
HH
1157 Grub and the kernel can handle multiple images, so grub entry can
1158 look like this:
3b403b32 1159
0de91060
HH
1160 title Fedora (2.6.29.5-191.fc11.i586)
1161 root (hd0,0)
1162 kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro rhgb quiet
1163 initrd /initrd-20090722.img /initrd-kernel-2.6.29.5-191.fc11.i586.img /initrd-config.img
3b403b32 1164
0de91060
HH
1165 initrd-20090722.img
1166 the image provided by the initrd rpm
1167 one old backup version is kept like with the kernel
3b403b32 1168
0de91060
HH
1169 initrd-kernel-2.6.29.5-191.fc11.i586.img
1170 the image provided by the kernel rpm
3b403b32 1171
0de91060
HH
1172 initrd-config.img
1173 optional image with local configuration files
1174
1175- dracut: add --kmoddir directory, where to look for kernel modules
3b403b32 1176
0de91060
HH
1177 -k, --kmoddir [DIR]
1178 specify the directory, where to look for kernel modules
1179
1180
1181
1182dracut-0.5
1183==========
1184- more generic (all plymouth modules, all keyboards, all console fonts)
1185- more kernel command line parameters (see also man dracut(8))
1186- a helper tool, which generates the kernel command line (dracut-gencmdline)
1187- bridged network boot
1188- a lot of new command line parameter
1189
1190dracut-0.4
1191==========
1192- bugfixes
1193- firmware loading support
1194- new internal queue (initqueue)
1195 initqueue now loops until /dev/root exists or root is mounted
3b403b32 1196
0de91060 1197 init now has the following points to inject scripts:
3b403b32 1198
0de91060
HH
1199 /cmdline/*.sh
1200 scripts for command line parsing
3b403b32 1201
0de91060
HH
1202 /pre-udev/*.sh
1203 scripts to run before udev is started
3b403b32 1204
0de91060
HH
1205 /pre-trigger/*.sh
1206 scripts to run before the main udev trigger is pulled
3b403b32 1207
0de91060
HH
1208 /initqueue/*.sh
1209 runs in parallel to the udev trigger
1210 Udev events can add scripts here with /sbin/initqueue.
1211 If /sbin/initqueue is called with the "--onetime" option, the script
1212 will be removed after it was run.
1213 If /initqueue/work is created and udev >= 143 then this loop can
1214 process the jobs in parallel to the udevtrigger.
1215 If the udev queue is empty and no root device is found or no root
1216 filesystem was mounted, the user will be dropped to a shell after
1217 a timeout.
1218 Scripts can remove themselves from the initqueue by "rm $job".
3b403b32 1219
0de91060
HH
1220 /pre-mount/*.sh
1221 scripts to run before the root filesystem is mounted
1222 NFS is an exception, because it has no device node to be created
1223 and mounts in the udev events
3b403b32 1224
0de91060
HH
1225 /mount/*.sh
1226 scripts to mount the root filesystem
1227 NFS is an exception, because it has no device node to be created
1228 and mounts in the udev events
1229 If the udev queue is empty and no root device is found or no root
1230 filesystem was mounted, the user will be dropped to a shell after
1231 a timeout.
3b403b32 1232
0de91060
HH
1233 /pre-pivot/*.sh
1234 scripts to run before the real init is executed and the initramfs
1235 disappears
1236 All processes started before should be killed here.
3b403b32 1237
0de91060
HH
1238 The behaviour of the dmraid module demonstrates how to use the new
1239 mechanism. If it detects a device which is part of a raidmember from a
1240 udev rule, it installs a job to scan for dmraid devices, if the udev
1241 queue is empty. After a scan, it removes itsself from the queue.
1242
1243
1244
1245dracut-0.3
1246==========
1247
1248- first public version
1249