]> git.ipfire.org Git - thirdparty/dracut.git/blame - NEWS
systemd: add version check in install()
[thirdparty/dracut.git] / NEWS
CommitLineData
66f01450
HH
1dracut-025
2==========
3- do not strip signed kernel modules
4- add sosreport script and generate /run/initramfs/sosreport.txt
5- make short uuid specification for allow-discards work
6- turn off RateLimit for the systemd journal
7- fixed MAC address assignment
8- add systemd checkisomd5 service
9- splitout drm kernel modules from plymouth module
10- add 'swapoff' to initramfs to fix shutdown/reboot
11- add team device support
12- add pre-shutdown hook
13- kill all processes in shutdown and report remaining ones
14- "--device" changed to "--add-device" and "add_device=" added for conf files
15- add memory usage trace to different hook points
16- cope with optional field #7 in /proc/self/mountinfo
17- lots of small bugfixes
18
f046336c
HH
19dracut-024
20==========
21- new dracut option "--device"
22- new dracut kernel command line options "rd.auto"
23- new dracut kernel command line options "rd.noverifyssl"
24- new dracut option "--kernel-cmdline" and "kernel_cmdline" option for default parameters
25- fixes for systemd and crypto
26- fix for kexec in shutdown, if not included in initramfs
27- create the initramfs non-world readable
28- prelink/preunlink in the initramfs
29- strip binaries in the initramfs by default now
30- various FIPS fixes
31- various dracut-install fixes
32
6af5a4ac
HH
33dracut-023
34==========
35- resume from hibernate fixes
36- -N option for --no-hostonly
37- support for systemd crypto handling
38- new dracut module "crypt-loop"
39- deprecate the old kernel command line options
40- more documentation
41- honor CFLAGS for dracut-install build
42- multipath fixes
43- / is mounted according to rootflags parameter but forced ro at first.
44 Later it is remounted according to /etc/fstab + rootflags parameter
45 and "ro"/"rw".
46- support for xfs / reiserfs separate journal device
47- new "ro_mnt" option to force ro mount of / and /usr
48- root on cifs support
49- dracut-install: fixed issue for /var/tmp containing a symlink
50- only lazy resolve with ldd, if the /var/tmp partition is not mounted with "noexec"
51- i18n: fixed inclusion of "include" keymaps
52
df7be11b
HH
53dracut-022
54==========
55- fixed host-only kernel module bug
56
ddf818da
HH
57dracut-021
58==========
59- fixed systemd in the initramfs (requires systemd >= 187)
60- dracut-install: massive speedup with /var on the same filesystem with COW copy
61- dracut-install: moved to /usr/lib/dracut until it becomes a general purpose tool
62- new options: "rd.usrmount.ro" and "rd.skipfsck"
63- less mount/umount
64- apply "ro" on the kernel command line also to /usr
65- mount according to fstab, if neither "ro" or "rw" is specified
66- skip fsck for xfs and btrfs. remount is enough
67- give emergency_shell if /usr mount failed
68- dracut now uses getopt:
69 * options can be position independent now!!
70 * we can now use --option=<arg>
71- added option "--kver=<kernel-version>", and the image location can be omitted
72 # dracut --kver 3.5.0-0.rc7.git1.2.fc18.x86_64
73- dracut.sh: for --include copy also the symbolic links
74- man pages: lsinitrd and mkinitrd added
75- network: We do not support renaming in the kernel namespace anymore (as udev does
76 that not anymore). So, if a user wants to use ifname, he has to rename
77 to a custom namespace. "eth[0-9]+" is not allowed anymore. !!!!!
78- resume: moved the resume process to the initqueue.
79 This should prevent accidently mounting the root file system.
80- testsuite: add support for: make V=1 TESTS="01 20 40" check
81 $ sudo make V=1 clean check
82 now runs the testsuite in verbose mode
83
84 $ sudo make TESTS="01 20 40" clean check
85 now only runs the 01, 20 and 40 tests.
86
09eaf9f5
HH
87dracut-020
88==========
89- changed rd.dasd kernel parameter
90- arm kernel modules added to kernel-modules
91- make udevdir systemdutildir systemdsystemunitdir global vars
92 your distribution should ship those settings in
93 /etc/dracut.conf.d/01-distro.conf
94 see dracut.conf.d/fedora.conf.example
95- kernel modules are now only handled with /sys/modules and modules.dep
96- systemd fixups
97- mdraid: wait for md devices to be clean, before shutdown
98- ifup fixed for ipv6
99- add PARTUUID as root=PARTUUID=<partition uuid> parameter
100- fixed instmods() return code and set pipefail globally
101- add 04watchdog dracut module
102- dracut-shutdown.service: fixed ordering to be before shutdown.target
103- make use of "ln -r" instead of shell functions, if new coreutils is installed
104- network: support vlan tagged bonding
105- new dracut module qemu and qemu-net to install all kernel driver
106- fs-lib/fs-lib.sh: removed test mounting of btrfs and xfs
107- no more "mknod" in the initramfs!!
108- replaced all "tr" calls with "sed"
109- speedup with lazy kernel module dependency resolving
110- lots of speedup optimizations and last but not least
111- dracut-install:
112 - new binary to significanlty speedup the installation process
113 - dracut-functions.sh makes use of it, if installed
114
115
6d82d7bc
HH
116dracut-019
117==========
118- initqueue/online hook
119- fixes for ifcfg write out
120- rootfs-block: avoid remount when options don't change
121- Debian multiarch support
122- virtfs root filesystem support
123- cope with systemd-udevd
124- mount tmpfs with strictatime
125- include all kernel/drivers/net/phy drivers
126- add debug_on() and debug_off() functions
127- add arguments for source_hook() and source_all()
128- cleanup hook
129- plymouth: get consoledev from /sys/class/tty/console/active
130- experimental systemd dracut module for systemd in the initramfs
131- install xhci-hcd kernel module
132- dracut: new "--mount" option
133- lsinitrd: new option --printsize
134- ARM storage kernel modules added
135- s390 cms conf file support
136- /etc/initrd-release in the initrd
137- vlan support
138- full bonding and bridge support
139- removed scsi_wait_scan kernel module from standard install
140- support rd.luks.allow-discards and honor options in crypttab
141- lots of bugfixes
142
08842612
HH
143dracut-018
144==========
ef5c6eb9
HH
145- lvm: ignore lvm mirrors
146- lsinitrd: handle LZMA images
147- iscsi: add rd.iscsi.param
148- iscsi: add iscsi interface binding
149- new module cms to read and handle z-Series cms config files
150- fixed fstab.sys handling
151- new dracut option "--tmpdir"
152- new dracut option "--no-hostonly"
153- nbd: name based nbd connects
08842612
HH
154- converted manpage and documentation source to asciidoc
155- write-ifcfg fixes and cleanups
156- ifup is now done in the initqueue
157- netroot cleanup
158- initqueue/online is now for hooks, which require network
159- no more /tmp/root.info
160- 98pollcdrom: factored out the ugly cdrom polling in the main loop
161- simplified rd.luks.uuid testing
162- removed "egrep" and "ls" calls
163- speedup kernel module installation
164- make bzip2 optional
165- lots of bugfixes
166
f5a9e459
HH
167dracut-017
168==========
169- a _lot_ faster than dracut-016 in image creation
170- systemd service dracut-shutdown.service
171- livenet fixes
172- ssh-client module install fix
173- root=iscsi:... fixed
174- lots of restructuring and optimizing in dracut-functions.sh
175- usrmount: honor fs_passno in /etc/fstab
176- renamed all shell scripts to .sh
177- new option "--omit-drivers" and config option "omit_drivers"
178- hostonly mode fixups
179
6bee3369
HH
180dracut-016
181==========
182- fixed lsinitrd
183- honor binaries in sbin first
184- fixed usrmount module
185- added systemd service for shutdown
186- fixed terminfo on distros with /usr/share/terminfo
187- reload udev rules after "pre-trigger" hook
188- improved test suite
189- new parameter "--omit-drivers" and new conf param omit_drivers
190- "--offroot" support for mdraid
191- new libs: net-lib.sh, nfs-lib.sh, url-lib.sh, img-lib.sh
192 full of functions to use in your dracut module
193
a74eae77
HH
194dracut-015
195==========
196- hostonly mode automatically adds command line options for root and /usr
197- --add-fstab --mount parameters
198- ssh-client module
199- --ctty option: add job control
200- cleanup /run/initramfs
201- convertfs module
202- /sbin/ifup can be called directly
203- support kernel modules compressed with xz
204- s390 iscsi modules added
205- terminfo module
206- lsinitrd can handle concatened images
207- lsinitrd can sort by size
208
ef8b121e
HH
209dracut-014
210==========
211- new dracut arguments:
212 --lvmconf
213 --nolvmconf
214 --fscks [LIST]
215 --nofscks
216- new .conf options:
217 install_items
218 fscks
219 nofscks
220- new kernel options:
221 rd.md.ddf
222 rd.md.waitclean
223 plymouth.enable
224- dracut move from /sbin to /usr/bin
225- dracut modules dir moved from /usr/share/dracut to /usr/lib/dracut
226- profiling with "dracut --profile"
227- new TEST-16-DMSQUASH, test for Fedora LiveCDs
228- speedup of initramfs creation
229- ask_for_password fallback to CLI
230- mdraid completely switched to incremental assembly
231- no more cdrom polling
232- "switch_root" breakpoint is now very late
233- /dev/live is gone
234- /dev/root is gone
235- fs-lib dracut module for fscks added
236- xen dracut module removed
237- usb mass storage kernel drivers now included
238- usrmount dracut module added:
239 mount /usr if found in /sysroot/etc/fstab
240- only include fsck helper needed for hostonly
241- fcoe: support for bnx2fc
242- support iSCSI drivers: qla4xxx, cxgb3i, cxgb4i, bnx2i, be2iscsi
243- fips-aesni dracut module added
244- add install_items to dracut.conf
245 install_items+=" <file>[ <file> ...] "
246- speedup internal testsuite
247- internal testsuite: store temporary data in a temporary dir
248
e9519a39
HH
249dracut-013
250==========
251- speedup of initramfs creation
252- fixed inst_dir for symbolic links
253- add unix kernel module
254
e22ad509
HH
255dracut-012
256==========
257- better fsck handling
258- fixed wait condition for LVM volumes
259- fix for hardlinks (welcome Debian! :-)
260- shutdown bugfixes
261- automatic busybox symlink creation
262- try to mount /usr, if init points to a path in /usr
263- btrfs with multiple devices
264- "--force-add" option for dracut, to force-add dracut modules,
265 without hostonly checks
266- lsinitrd also display the initramfs size in human readable form
267- livenet module, to mount live-isos over http
268- masterkey,ecryptfs,integrity security modules
269- initqueue/timeout queue e.g. for starting degraded raids
270- "make rpm" creates an rpm with an increasing release number from any
271 git checkout
272- support lvm mirrors
273- start degraded lvm mirrors after a timeout
274- start degraded md raids after a timeout
275- getarg() now returns wildcards without file matching to the current fs
276- lots of bugfixes
277
b99dc517
HH
278dracut-011
279==========
280- use udev-168 features for shutting down udev
4765889b
HH
281- introduce "--prefix" to put all initramfs files in e.g "/run/initramfs"
282- new shutdown script (called by systemd >= 030) to disassemble the root device
283- lots of bugfixes
284- new module for gpg-encrypted keys - 91crypt-gpg
b99dc517 285
5dcd565d
HH
286dracut-010
287==========
288- lots of bugfixes
289- plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth
290- add "/lib/firmware/updates" to default firmware path
291
6981a0bf
HH
292dracut-009
293==========
9a54908f
HH
294- dracut generator
295 - dracut-logger
296 - xz compression
297 - better argument handling
298
299- initramfs
300 - hooks moved to /lib/dracut/hooks in initramfs
7641c73d 301 - rd.driver.{blacklist|pre|post} accept comma separated driver list
9a54908f
HH
302 - iSCSI: iSCSI Boot Firmware Table (iBFT) support
303 - support for /run
304 - live image: support for generic rootfs.img (instead of ext3fs.img)
305 - caps module
306 - FCoE: EDD support
307
c033d96e
HH
308dracut-008
309==========
9d1015b6 310- removed --ignore-kernel-modules option (no longer necessary)
6ae5caf0 311- renamed kernel command line arguments to follow the rd. naming scheme
71df3c43 312- merged check, install, installkernel to module-setup.sh
6ae5caf0
HH
313- support for bzip2 and xz compressed initramfs images.
314- source code beautification
315- lots of documentation
316- lsinitrd: "catinitrd" functionality
317- dracut: --list-modules
318- lvm: support for dynamic LVM SNAPSHOT root volume
319- 95fstab-sys: mount all /etc/fstab.sys volumes before switch_root
320- 96insmodpost dracut module
321- rd.shell=1 per default
322- rootfs-block:mount-root.sh add fsck
323- busybox shell replacements module
324- honor old "real_init="
325- 97biosdevname dracut module
c033d96e 326
0b2ddf8f
HH
327dracut-007
328==========
329- module i18n is no longer fedora/red hat specific (Amadeusz Żołnowski)
330- distribution specific conf file
331- bootchartd support
332- debug module now has fsck
620d0315 333- use "hardlink", if available, to save some space
0b2ddf8f 334- /etc/dracut.conf can be overwritten by settings in /etc/dracut.conf.d/*.conf
01816f2b
HH
335- gentoo splash module
336- --ignore-kernel-modules option
337- crypto keys on external devices support
0b2ddf8f
HH
338- bugfixes
339
bdcb63b0
HH
340dracut-006
341==========
342- fixed mdraid with IMSM
343- fixed dracut manpages
344- dmraid parse different error messages
345- add cdrom polling mechanism for slow cdroms
346- add module btrfs
8f74a60c 347- add btrfsctl scan for btrfs multi-devices (raid)
bdcb63b0
HH
348- teach dmsquash live-root to use rootflags
349- trigger udev with action=add
3b403b32 350- fixed add_drivers handling
bdcb63b0
HH
351- add sr_mod
352- use pigz instead of gzip, if available
7d86d90d
HH
353- boot from LVM mirrors and snapshots
354- iscsi: add support for multiple netroot=iscsi:
355- Support old version of module-init-tools
356- got rid of rdnetdebug
357- fixed "ip=auto6"
358- dracut.conf: use "+=" as default for config variables
359- bugfixes
bdcb63b0 360
e8767636
HH
361dracut-005
362==========
3b403b32 363- dcb support to dracut's FCoE support
e8767636
HH
364- add readonly overlay support for dmsquash
365- add keyboard kernel modules
366- dracut.conf: added add_dracutmodules
367- add /etc/dracut.conf.d
368- add preliminary IPv6 support
369- bugfixes
370
3ee26913
HH
371dracut-004
372==========
373- dracut-lib: read multiple lines from $init/etc/cmdline
374- lsinitrd and mkinitrd
375- dmsquash: add support for loopmounted *.iso files
376- lvm: add rd_LVM_LV and "--poll n"
377- user suspend support
378- add additional drivers in host-only mode, too
379- improved emergency shell
380- support for compressed kernel modules
381- support for loading Xen modules
382- rdloaddriver kernel command line parameter
383- man pages for dracut-catimages and dracut-gencmdline
384- bugfixes
385
b59d3549
HH
386dracut-003
387==========
9993392f
HH
388- add debian package modules
389- add dracut.conf manpage
b59d3549
HH
390- add module 90multipath
391- add module 01fips
392- crypt: ignore devices in /etc/crypttab (root is not in there)
393 unless rd_NO_CRYPTTAB is specified
394- kernel-modules: add scsi_dh scsi_dh_rdac scsi_dh_emc
395- add multinic support
396- add s390 zfcp support
397- add s390 dasd support
398- add s390 network support
399- fixed dracut-gencmdline for root=UUID or LABEL
400- do not destroy assembled raid arrays if mdadm.conf present
3b403b32 401- mount /dev/shm
b59d3549
HH
402- let udevd not resolve group and user names
403- moved network from udev to initqueue
404- improved debug output: specifying "rdinitdebug" now logs
405 to dmesg, console and /init.log
406- strip kernel modules which have no x bit set
407- redirect stdin, stdout, stderr all RW to /dev/console
408 so the user can use "less" to view /init.log and dmesg
3b403b32 409- add new device mapper udev rules and dmeventd
a8a3ca51 410- fixed dracut-gencmdline for root=UUID or LABEL
95b4875c
HH
411- do not destroy assembled raid arrays if mdadm.conf present
412- mount /dev/shm
413- let udevd not resolve group and user names
414- preserve timestamps of tools on initramfs generation
415- generate symlinks for binaries correctly
416- moved network from udev to initqueue
417- mount nfs3 with nfsvers=3 option and retry with nfsvers=2
418- fixed nbd initqueue-finished
419- improved debug output: specifying "rdinitdebug" now logs
420 to dmesg, console and /init.log
95b4875c
HH
421- strip kernel modules which have no x bit set
422- redirect stdin, stdout, stderr all RW to /dev/console
423 so the user can use "less" to view /init.log and dmesg
424- make install of new dm/lvm udev rules optionally
95b4875c
HH
425- add new device mapper udev rules and dmeventd
426- Fix LiveCD boot regression
427- bail out if selinux policy could not be loaded and
428 selinux=0 not specified on kernel command line
95b4875c
HH
429- do not cleanup dmraids
430- copy over lvm.conf
431
4d924752
HH
432dracut-002
433==========
434- add ifname= argument for persistent netdev names
435- new /initqueue-finished to check if the main loop can be left
436- copy mdadm.conf if --mdadmconf set or mdadmconf in dracut.conf
437- plymouth: use plymouth-populate-initrd
438- add add_drivers for dracut and dracut.conf
439- add modprobe scsi_wait_scan to be sure everything was scanned
440- fix for several problems with md raid containers
441- fix for selinux policy loading
442- fix for mdraid for IMSM
443- fix for bug, which prevents installing 61-persistent-storage.rules (bug #520109)
444- fix for missing grep for md
445
d889c019
HH
446dracut-001
447==========
448- better --hostonly checks
449- better lvm/mdraid/dmraid handling
450- fcoe booting support
451 Supported cmdline formats:
452 fcoe=<networkdevice>:<dcb|nodcb>
453 fcoe=<macaddress>:<dcb|nodcb>
3b403b32 454
d889c019
HH
455 Note currently only nodcb is supported, the dcb option is reserved for
456 future use.
3b403b32 457
d889c019 458 Note letters in the macaddress must be lowercase!
3b403b32 459
d889c019
HH
460 Examples:
461 fcoe=eth0:nodcb
462 fcoe=4A:3F:4C:04:F8:D7:nodcb
463
3b403b32 464- Syslog support for dracut
d889c019
HH
465 This module provides syslog functionality in the initrd.
466 This is especially interesting when complex configuration being
467 used to provide access to the device the rootfs resides on.
468
469
5d12f1a4
HH
470dracut-0.9
471==========
472- let plymouth attach to the terminal (nice text output now)
473- new kernel command line parameter "rdinfo" show dracut output, even when
474 "quiet" is specified
475- rd_LUKS_UUID is now handled correctly
476- dracut-gencmdline: rd_LUKS_UUID and rd_MD_UUID is now correctly generated
477- now generates initrd-generic with around 15MB
478- smaller bugfixes
479
0de91060
HH
480dracut-0.8
481==========
482- iSCSI with username and password
483- support for live images (dmsquashed live images)
484- iscsi_firmware fixes
485- smaller images
486- bugfixes
487
488dracut-0.7
489==========
490- dracut: strip binaries in initramfs
3b403b32 491
0de91060
HH
492 --strip
493 strip binaries in the initramfs (default)
3b403b32 494
0de91060
HH
495 --nostrip
496 do not strip binaries in the initramfs
497- dracut-catimages
3b403b32 498
0de91060
HH
499 Usage: ./dracut-catimages [OPTION]... <initramfs> <base image>
500 [<image>...]
501 Creates initial ramdisk image by concatenating several images from the
502 command
503 line and /boot/dracut/
3b403b32 504
0de91060
HH
505 -f, --force Overwrite existing initramfs file.
506 -i, --imagedir Directory with additional images to add
507 (default: /boot/dracut/)
508 -o, --overlaydir Overlay directory, which contains files that
509 will be used to create an additional image
510 --nooverlay Do not use the overlay directory
511 --noimagedir Do not use the additional image directory
512 -h, --help This message
513 --debug Output debug information of the build process
514 -v, --verbose Verbose output during the build process
515
516- s390 dasd support
517
518dracut-0.6
519==========
520- dracut: add --kernel-only and --no-kernel arguments
3b403b32 521
0de91060
HH
522 --kernel-only
523 only install kernel drivers and firmware files
3b403b32 524
0de91060
HH
525 --no-kernel
526 do not install kernel drivers and firmware files
3b403b32 527
0de91060
HH
528 All kernel module related install commands moved from "install"
529 to "installkernel".
3b403b32 530
0de91060
HH
531 For "--kernel-only" all installkernel scripts of the specified
532 modules are used, regardless of any checks, so that all modules
533 which might be needed by any dracut generic image are in.
3b403b32 534
0de91060
HH
535 The basic idea is to create two images. One image with the kernel
536 modules and one without. So if the kernel changes, you only have
537 to replace one image.
3b403b32 538
0de91060
HH
539 Grub and the kernel can handle multiple images, so grub entry can
540 look like this:
3b403b32 541
0de91060
HH
542 title Fedora (2.6.29.5-191.fc11.i586)
543 root (hd0,0)
544 kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro rhgb quiet
545 initrd /initrd-20090722.img /initrd-kernel-2.6.29.5-191.fc11.i586.img /initrd-config.img
3b403b32 546
0de91060
HH
547 initrd-20090722.img
548 the image provided by the initrd rpm
549 one old backup version is kept like with the kernel
3b403b32 550
0de91060
HH
551 initrd-kernel-2.6.29.5-191.fc11.i586.img
552 the image provided by the kernel rpm
3b403b32 553
0de91060
HH
554 initrd-config.img
555 optional image with local configuration files
556
557- dracut: add --kmoddir directory, where to look for kernel modules
3b403b32 558
0de91060
HH
559 -k, --kmoddir [DIR]
560 specify the directory, where to look for kernel modules
561
562
563
564dracut-0.5
565==========
566- more generic (all plymouth modules, all keyboards, all console fonts)
567- more kernel command line parameters (see also man dracut(8))
568- a helper tool, which generates the kernel command line (dracut-gencmdline)
569- bridged network boot
570- a lot of new command line parameter
571
572dracut-0.4
573==========
574- bugfixes
575- firmware loading support
576- new internal queue (initqueue)
577 initqueue now loops until /dev/root exists or root is mounted
3b403b32 578
0de91060 579 init now has the following points to inject scripts:
3b403b32 580
0de91060
HH
581 /cmdline/*.sh
582 scripts for command line parsing
3b403b32 583
0de91060
HH
584 /pre-udev/*.sh
585 scripts to run before udev is started
3b403b32 586
0de91060
HH
587 /pre-trigger/*.sh
588 scripts to run before the main udev trigger is pulled
3b403b32 589
0de91060
HH
590 /initqueue/*.sh
591 runs in parallel to the udev trigger
592 Udev events can add scripts here with /sbin/initqueue.
593 If /sbin/initqueue is called with the "--onetime" option, the script
594 will be removed after it was run.
595 If /initqueue/work is created and udev >= 143 then this loop can
596 process the jobs in parallel to the udevtrigger.
597 If the udev queue is empty and no root device is found or no root
598 filesystem was mounted, the user will be dropped to a shell after
599 a timeout.
600 Scripts can remove themselves from the initqueue by "rm $job".
3b403b32 601
0de91060
HH
602 /pre-mount/*.sh
603 scripts to run before the root filesystem is mounted
604 NFS is an exception, because it has no device node to be created
605 and mounts in the udev events
3b403b32 606
0de91060
HH
607 /mount/*.sh
608 scripts to mount the root filesystem
609 NFS is an exception, because it has no device node to be created
610 and mounts in the udev events
611 If the udev queue is empty and no root device is found or no root
612 filesystem was mounted, the user will be dropped to a shell after
613 a timeout.
3b403b32 614
0de91060
HH
615 /pre-pivot/*.sh
616 scripts to run before the real init is executed and the initramfs
617 disappears
618 All processes started before should be killed here.
3b403b32 619
0de91060
HH
620 The behaviour of the dmraid module demonstrates how to use the new
621 mechanism. If it detects a device which is part of a raidmember from a
622 udev rule, it installs a job to scan for dmraid devices, if the udev
623 queue is empty. After a scan, it removes itsself from the queue.
624
625
626
627dracut-0.3
628==========
629
630- first public version
631