Jóhann B. Guðmundsson
dcaff88ac9
feat(pcsc): introducing the pcsc module
2 years ago
Jóhann B. Guðmundsson
c5907f82d8
feat(pkcs11): include the module in the spec file
...
Adding the module to the spec file
2 years ago
Renaud Métrich
7ab1d00227
fix(dracut-shutdown): add cleanup handler on failure
...
It may happen that dracut-shutdown.service fails, for example on timeout
due to very low bandwidth.
In such case, for hardening purposes, a new dracut-shutdown-onfailure.service
unit doing dracut-shutdown.service cleanup needs to execute to make sure
switching root to an incomplete initramfs won't occur later.
See also RHBZ #1924587 (https://bugzilla.redhat.com/show_bug.cgi?id=1924587 ).
2 years ago
Tony Asleson
fe8df0240a
feat(spec): add systemd-integritysetup module
...
Signed-off-by: Tony Asleson <tasleson@redhat.com>
2 years ago
Antonio Alvarez Feijoo
049973b708
feat(fido2): introducing the fido2 module
...
This module allows to unlock an encrypted filesystem using a FIDO2
security token.
3 years ago
Jóhann B. Guðmundsson
fc88af5413
feat(systemd-sysext): introducing the systemd-sysext module
...
Introducing the systemd-sysext module.
3 years ago
Jóhann B. Guðmundsson
3697891b75
feat(systemd-journald): introducing the systemd-journald module
3 years ago
Jóhann B. Guðmundsson
0eca191405
chore(tree): move html files to the dosc directory
...
Moving the html files into the docs directory.
3 years ago
Jóhann B. Guðmundsson
215365441e
feat(systemd-rfkill): introducing the systemd-rfkill module
...
Introducing the systemd-rfkill module
3 years ago
Jóhann B. Guðmundsson
563c434ecb
feat(systemd-ldconfig): introducing the systemd-ldconfig module
...
Introducing the systemd-ldconfig module
3 years ago
Jóhann B. Guðmundsson
2b61be32b8
feat(systemd-tmpfiles): introducing the systemd-tmpfiles module
...
Introducing the systemd-tmpfiles module
3 years ago
Jóhann B. Guðmundsson
9ffe2e4c4b
refactor(systemd-networkd): cosmetic move to 01
...
Moving systemd-networkd to 01 systemd namespace to keep everything in
order.
3 years ago
Jóhann B. Guðmundsson
0620677238
chore(tree): move package build files in their own directory
...
Creating pkgbuild directory and move relevant files there.
3 years ago
Jóhann B. Guðmundsson
a876c27085
chore(tree): move docs into the docs directory
...
Consolidating all the projects documentation into the docs
directory with the exception of news and readme.
3 years ago
Jóhann B. Guðmundsson
8743b07356
feat(tpm2-tss): introducing the tpm2-tss module
...
Introducing the tpm2-tss module
3 years ago
Jóhann B. Guðmundsson
3534789cc4
feat(systemd-udevd): introducing the systemd-udevd module
...
Introducing the systemd-udevd module
3 years ago
Jóhann B. Guðmundsson
ba92d1fcad
fix(systemd-verity): incorrect reference to cryptsetup target
...
Incorrect include of remote-cryptsetup.target in hostonly.
Corrected to point to remote-veritysetup.target
3 years ago
Jóhann B. Guðmundsson
3d4dea58f9
feat(systemd-verity): introducing the systemd-verity module
...
Introducing the systemd-verity module.
3 years ago
Jóhann B. Guðmundsson
e942d86c9d
feat(systemd-network-management): introducing systemd-network-management module
...
Introducing the systemd-network-management meta module which will
allow distribution users and vendors to easily include
systemd + systemd's network management modules by simply include this
module instead of systemd network modules individually.
Obviously if the intent is to glue together somekind of network stack
out of random existing modules such as NetworkManager and or Wicked,
this meta module should not be enabled.
3 years ago
Jóhann B. Guðmundsson
020212534b
feat(systemd-timedated): add systemd-timedated module to the spec file
3 years ago
Jóhann B. Guðmundsson
b7d3caef67
feat(systemd-resolved): introducing the systemd-resolved module
...
Introducing the systemd-resolved module
3 years ago
Jóhann B. Guðmundsson
bf273e3e86
feat(systemd-hostnamed): introducing the systemd-hostnamed module
...
Introducing the systemd-hostnamed module.
3 years ago
Jóhann B. Guðmundsson
e740723069
feat(systemd-ac-power): introducing the systemd-ac-power module
...
Introducing the systemd-ac-power module
3 years ago
Jóhann B. Guðmundsson
2257d54583
feat(systemd-timesyncd): introducing the systemd-timesyncd module
...
Introducing the systemd-timesyncd module
3 years ago
Adam Alves
64ee2a5386
feat(bluetooth): implement bluetooth support in initrd
...
- Included a bluetooth module that installs modules, firmware, udev rules and bluetoothd.
- systemd and dbus are required by bluetoothd
- Include bluetooth by default if BT keyboard or combo found
3 years ago
Harald Hoyer
43df4ee274
feat(mkinitrd): remove mkinitrd
...
It was not working anyway, so nobody used it for years.
If it is not used, just remove it.
mkinitrd-suse.sh will be maintained by SUSE as it is SUSE specific
anyway.
3 years ago
Harald Hoyer
501d82f796
fix: correctly handle kernel parameters
...
The kernel has an odd way to handle `"` surrounded parameters.
To handle the parameters as the kernel would do, no simple shell script
suffices, so a new utility `dracut-util` is introduced. Written in "C"
it handles `dracut-getarg` and `dracut-getargs` as the old shell script
functions `_dogetarg` and `_dogetargs` would.
3 years ago
Harald Hoyer
095b77bee8
docs: move NEWS to NEWS.md
3 years ago
Beniamino Galvani
79ed45e021
fix: update dbus module directory in spec file
...
The directory name was changed in 16efdfa25c
.
3 years ago
Jóhann B. Guðmundsson
9edabfa600
fix: add sdaskpw and sdsyctl to spec file
...
Adding systemd-ask-password and systemd-sysctl to the spec file
Alphabeticaly order the newly introduced systemd based module
in the spec file.
3 years ago
Jóhann B. Guðmundsson
fdbe7f9fbf
feat(systemd-modules-load): introducing systemd-modules-load module
...
Introducing systemd-modules-load which is an early boot service
that loads kernel modules from a static list, which is required for
kernel modules that do for example not support automatic module loading
( like key type parsers ).
3 years ago
Daniel Molkentin
786ca932e8
fix: BuildRequiring git-core is enough in dracut.spec
3 years ago
Jóhann B. Guðmundsson
c3446a7ce0
feat(systemd-repart): introducing systemd-repart module
...
This modules introduces systemd-repart which can be used
to generate partition(s), via a simple systemd-repart
drop-in(s), which can be useful in wide varity of usecase.
feat(systemd-repart): adding module to spec file
feat(systemd-repart): removing unessary requirement on type unit
fix: spelling error
3 years ago
Jóhann B. Guðmundsson
7135c81931
feat(dbus-daemon): introducing the dbus-daemon module
...
Introdusing dbus-daemon which is based on but superseeds
the previous 06dbus implementation with various enhancements and fixes.
fix: adding new modules to rpm spec file
fix: missed an echo
3 years ago
Harald Hoyer
457e7b7a4a
docs: remove TODO file
...
TODO file copied to https://github.com/dracutdevs/dracut/issues/1068
and also filed as individual issues on
https://github.com/dracutdevs/dracut/issues
3 years ago
Lukas Nykryn
62d52ad2be
fix(spec): add new systemd-coredump module to spec
3 years ago
Jóhann B. Guðmundsson
a2472e6e60
feat(systemd-sysusers): introducing systemd-sysuser module
3 years ago
Jóhann B. Guðmundsson
dd9288bb62
chore(removal): eliminate bootchart module
3 years ago
Harald Hoyer
1ed4b9f100
docs(development): add HACKING.md
...
Merge HACKING, README.modules, README.testsuite into HACKING.md.
Provide a new paragraph about git commit messages.
4 years ago
Adam Williamson
b3e55bde30
Drop 51-dracut-rescue-postinst.sh entirely
...
It is only installed on RHEL 8+, but as noted in the first commit
that tried to do this - 0bb9a683
- we already have branches for
all RHEL releases, so there's no point keeping such a conditional
on the master branch. After 0bb9a683
, 51-dracut-rescue-postinst.sh
was re-added because Fedora 30 needed it, with a FIXME saying to
remove it after F30 was released. But instead of that happening, it
got changed to a conditional to install it on Fedora <= 30 or RHEL
<= 8 in 9e68789d
and the FIXME was removed, then in 9eb1d1ed
that
conditional was simplified to only refer to RHEL, so we wound up
with this situation.
Note the last two commits were never ported to the RHEL-8 branch,
so it's broken, I will send a separate PR for that.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
4 years ago
Daniel Molkentin
ed7ce0d64f
35network-wicked: introduce wicked support module
4 years ago
Daniel Molkentin
e1845955ff
06dbus: introduce dbus support
4 years ago
Harald Hoyer
ee6ce31003
dracut.spec: Use make macros
...
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
4 years ago
Harald Hoyer
9eb1d1ed5e
dracut.spec: remove fedora pre 30 quirks
4 years ago
Beniamino Galvani
f3e328a7fd
dracut.spec: include the 04watchdog-modules module
...
Include the 04watchdog-modules module that was added in 39d90012a6
("04watchdog: split the watchdog module install").
4 years ago
mulhern
fe761330e5
Remove stratis module
...
It is obsolete. An approach which does not start the daemon is being worked
on.
Signed-off-by: mulhern <amulhern@redhat.com>
4 years ago
Hannes Reinecke
2f03d69f9d
95nvmf: add module for NVMe-oF
...
Add a module for booting from NVMe-oF devices.
Signed-off-by: Hannes Reinecke <hare@suse.de>
4 years ago
Harald Hoyer
871d63c3be
Fix CI badges in README.md and fix dracut description
...
While fixing the CI badges, I removed some old crufty README text.
4 years ago
Kairui Song
7dd8a2f4d3
Add 99memstrack module
...
memstrack is a new tool to track the overall memory usage and
allocation, which can help off load the improve the builtin module
memory tracing function in dracut.
With this change, the rd.memdebug=4 behavior is similiar with before,
but the report is defered to pre-pivot, so the memory usage info
during the whole initramfs run is traced. And the ourput format is
changed a bit:
dracut-pre-pivot[519]: ======== Report format module_summary: ========
dracut-pre-pivot[519]: Module squashfs using 10.4MB (2658 pages), peak allocation 10.4MB (2671 pages)
dracut-pre-pivot[519]: Module qxl using 3.4MB (865 pages), peak allocation 3.4MB (880 pages)
dracut-pre-pivot[519]: Module crc32c_intel using 2.0MB (519 pages), peak allocation 3.0MB (769 pages)
dracut-pre-pivot[519]: Module serio_raw using 2.0MB (505 pages), peak allocation 3.6MB (918 pages)
dracut-pre-pivot[519]: Module virtio_console using 1.6MB (416 pages), peak allocation 1.6MB (419 pages)
... snip ...
dracut-pre-pivot[519]: ======== Report format module_summary END ========
It now contains more detail and also includes the peak usage which could
be more helpful.
And now it have a rd.memdebug=5, which will print more detail about
the stack trace of the top memory user, also printed on pri-pivot:
dracut-pre-pivot[519]: ======== Report format module_top: ========
dracut-pre-pivot[519]: Top stack usage of module squashfs:
dracut-pre-pivot[519]: (null) Pages: 2658 (peak: 2671)
dracut-pre-pivot[519]: (null) Pages: 2658 (peak: 2671)
dracut-pre-pivot[519]: async_page_fault (0xffffffff81a01149) Pages: 1448 (peak: 1461)
dracut-pre-pivot[519]: do_async_page_fault (0xffffffff8105c509) Pages: 1448 (peak: 1461)
dracut-pre-pivot[519]: do_page_fault (0xffffffff8106296a) Pages: 1448 (peak: 1461)
dracut-pre-pivot[519]: do_user_addr_fault (0xffffffff810626bd) Pages: 1448 (peak: 1461)
dracut-pre-pivot[519]: handle_mm_fault (0xffffffff812940c4) Pages: 1448 (peak: 1461)
dracut-pre-pivot[519]: __handle_mm_fault (0xffffffff81293627) Pages: 1195 (peak: 1208)
dracut-pre-pivot[519]: __do_fault (0xffffffff8128b07e) Pages: 1195 (peak: 1208)
dracut-pre-pivot[519]: filemap_fault (0xffffffff8124c0b9) Pages: 1195 (peak: 1208)
dracut-pre-pivot[519]: __do_page_cache_readahead (0xffffffff812585da) Pages: 1063 (peak: 1076)
dracut-pre-pivot[519]: read_pages (0xffffffff812583c2) Pages: 1063 (peak: 1076)
dracut-pre-pivot[519]: squashfs_readpage squashfs (0xffffffffc0022073) Pages: 1039 (peak: 1052)
dracut-pre-pivot[519]: squashfs_readpage_block squashfs (0xffffffffc0024334) Pages: 744 (peak: 744)
dracut-pre-pivot[519]: squashfs_copy_cache squashfs (0xffffffffc0021a3f) Pages: 744 (peak: 744)
dracut-pre-pivot[519]: pagecache_get_page (0xffffffff8124abf7) Pages: 744 (peak: 744)
dracut-pre-pivot[519]: __page_cache_alloc (0xffffffff81247df6) Pages: 744 (peak: 744)
dracut-pre-pivot[519]: alloc_pages_current (0xffffffff812cdca7) Pages: 744 (peak: 744)
dracut-pre-pivot[519]: __alloc_pages_nodemask (0xffffffff812b3107) Pages: 744 (peak: 744)
dracut-pre-pivot[519]: __alloc_pages_nodemask (0xffffffff812b3107) Pages: 1488 (peak: 1488)
dracut-pre-pivot[519]: Top stack usage of module qxl:
dracut-pre-pivot[519]: (null) Pages: 865 (peak: 880)
dracut-pre-pivot[519]: entry_SYSCALL_64_after_hwframe (0xffffffff81a0008c) Pages: 855 (peak: 858)
dracut-pre-pivot[519]: do_syscall_64 (0xffffffff81002a5a) Pages: 855 (peak: 858)
dracut-pre-pivot[519]: __x64_sys_finit_module (0xffffffff8117ccea) Pages: 811 (peak: 811)
dracut-pre-pivot[519]: __do_sys_finit_module (0xffffffff8117cc6e) Pages: 811 (peak: 811)
dracut-pre-pivot[519]: load_module (0xffffffff8117c6be) Pages: 802 (peak: 802)
dracut-pre-pivot[519]: do_init_module (0xffffffff81179e72) Pages: 802 (peak: 802)
dracut-pre-pivot[519]: do_one_initcall (0xffffffff81000d5a) Pages: 802 (peak: 802)
dracut-pre-pivot[519]: serio_raw_poll serio_raw (0xffffffffc0200054) Pages: 802 (peak: 802)
dracut-pre-pivot[519]: __pci_register_driver (0xffffffff81557804) Pages: 802 (peak: 802)
dracut-pre-pivot[519]: driver_register (0xffffffff8167ed24) Pages: 802 (peak: 802)
dracut-pre-pivot[519]: bus_add_driver (0xffffffff8167cbb2) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: driver_attach (0xffffffff8167d28e) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: bus_for_each_dev (0xffffffff8167b62c) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: __driver_attach (0xffffffff8167e18f) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: device_driver_attach (0xffffffff8167e0ed) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: driver_probe_device (0xffffffff8167de6c) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: really_probe (0xffffffff8167d9c9) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: pci_device_probe (0xffffffff81559627) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: local_pci_probe (0xffffffff81557f98) Pages: 801 (peak: 801)
dracut-pre-pivot[519]: qxl_pci_probe qxl (0xffffffffc01f0387) Pages: 773 (peak: 773)
dracut-pre-pivot[519]: drm_fbdev_generic_setup drm_kms_helper (0xffffffffc01b30c5) Pages: 773 (peak: 773)
dracut-pre-pivot[519]: drm_fbdev_client_hotplug drm_kms_helper (0xffffffffc01b2656) Pages: 773 (peak: 773)
dracut-pre-pivot[519]: __drm_fb_helper_initial_config_and_unlock drm_kms_helper (0xffffffffc01b1a28) Pages: 770 (peak: 770)
dracut-pre-pivot[519]: drm_fb_helper_generic_probe drm_kms_helper (0xffffffffc01b2fa5) Pages: 770 (peak: 770)
dracut-pre-pivot[519]: vzalloc (0xffffffff812aa39c) Pages: 770 (peak: 770)
dracut-pre-pivot[519]: __vmalloc_node_range (0xffffffff812aa200) Pages: 768 (peak: 768)
... snip ...
======== Report format module_top END ========
This could be very helpful for debuging memory usage issues.
4 years ago
Martin Wilck
5a720ebf67
dracut.spec: add 90nvdimm
4 years ago