Commit 766dc80
committed
chore(dracut): drop 292 vestigial upstream snapshots; keep MiOS configs only
Audit finding F10 remediation. The repo carried verbatim copies of the
upstream dracut RPM contents under usr/lib/dracut/ (binaries
dracut-cpio, dracut-functions.sh, dracut-init.sh, dracut-install,
dracut-logger.sh, dracut-util, dracut-version.sh, the 100+ module
directories under modules.d/, and the distro-default conf files
01-dist.conf, 02-generic-image.conf, gce.conf). Investigation:
- Single import commit 39ce4e8 ("overlay: add upstream system files"),
no subsequent edits to any file -> verbatim snapshots, not patches.
- Zero MiOS-authored modules under modules.d/ (no mios-* directory
entries) -> nothing depends on the vendored copies.
- The dracut RPM is pulled by the base image (ucore-hci /
fedora-bootc), so the deployed system already has canonical
binaries + modules at /usr/lib/dracut/. Vendored snapshots could
only mask newer RPM versions on update, never improve them.
Action:
- git rm 292 files (the 7 dracut-* binaries, all 104 modules.d/
subdirs, the 3 distro-default dracut.conf.d/*.conf files, plus
ossl-config / ossl-files / skipcpio / dracut-functions / dracut-util
/ dracut-version.sh / dracut-initramfs-restore).
- .gitignore: replace `!/usr/lib/dracut/**` blanket whitelist with a
surgical pattern that allows ONLY
`usr/lib/dracut/dracut.conf.d/*-mios-*.conf`. Future stray imports
won't slip back in.
- Kept (5 MiOS-authored drop-ins layering over upstream):
dracut.conf.d/10-mios-generic.conf
dracut.conf.d/50-mios-hyperv.conf
dracut.conf.d/51-mios-virtio.conf
dracut.conf.d/52-mios-nvidia-exclude.conf
dracut.conf.d/90-mios-verify.conf
- usr/share/doc/mios/reference/engineering-reference.md: dracut
section rewritten to reflect the new layering posture.
- usr/share/doc/mios/audits/AUDIT-FINDINGS-20260505.md: F10 row +
detail block + executive summary marked REMEDIATED post-507a7fa
on 2026-05-05.
- automation/manifest.json + tools/manifest.json regenerated via
tools/generate-ai-manifest.py.
User-visible change at deploy time: none. /usr/lib/dracut/ on a built
MiOS host still looks identical because the dracut RPM populates it
during the build's initramfs phase. The repo just stops pretending to
own those files.1 parent 03dc73a commit 766dc80
297 files changed
Lines changed: 23 additions & 18577 deletions
File tree
- automation
- tools
- usr
- lib/dracut
- dracut.conf.d
- modules.d
- 10bash
- 10systemd-network-management
- 10systemd
- 10warpclock
- 11fips-crypto-policies
- 11fips
- 11systemd-ac-power
- 11systemd-ask-password
- 11systemd-battery-check
- 11systemd-bsod
- 11systemd-coredump
- 11systemd-creds
- 11systemd-cryptsetup
- 11systemd-hostnamed
- 11systemd-initrd
- 11systemd-integritysetup
- 11systemd-journald
- 11systemd-ldconfig
- 11systemd-modules-load
- 11systemd-pcrphase
- 11systemd-portabled
- 11systemd-pstore
- 11systemd-repart
- 11systemd-resolved
- 11systemd-sysctl
- 11systemd-sysext
- 11systemd-timedated
- 11systemd-timesyncd
- 11systemd-tmpfiles
- 11systemd-udevd
- 11systemd-veritysetup
- 13modsign
- 13rescue
- 14watchdog-modules
- 14watchdog
- 16dbus-broker
- 16dbus-daemon
- 16rngd
- 19dbus
- 20i18n
- 30convertfs
- 30gcp-udev-rules
- 45drm
- 45net-lib
- 45plymouth
- 45simpledrm
- 45url-lib
- 68lvmmerge
- 68lvmthinpool-monitor
- 68systemd-sysusers
- 70bluetooth
- 70btrfs
- 70crypt
- 70dmraid
- 70dm
- 70fs-lib
- 70kernel-modules-extra
- 70kernel-modules
- 70lvm
- 70mdraid
- 70multipath
- 70numlock
- 70nvdimm
- 70overlayfs
- 70pcmcia
- 70ppcmac
- 70qemu
- 71prefixdevname-tools
- 71prefixdevname
- 73crypt-gpg
- 73crypt-loop
- 73fido2
- 73pcsc
- 73pkcs11
- 73tpm2-tss
- 74debug
- 74fstab-sys
- 74hwdb
- 74lunmask
- 74resume
- 74rootfs-block-fallback
- 74rootfs-block
- 74terminfo
- 74udev-rules
- 74virtfs
- 74virtiofs
- 75securityfs
- 76biosdevname
- 76masterkey
- 76systemd-emergency
- 77dracut-systemd
- 77ecryptfs
- 77initqueue
- 77integrity
- 77pollcdrom
- 77selinux
- 77syslog
- 77usrmount
- 80base
- 81busybox
- 84memstrack
- 85shell-interpreter
- 86shutdown
- 99openssl
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
288 | 296 | | |
289 | 297 | | |
290 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Binary file not shown.
This file was deleted.
0 commit comments