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