![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1188915 https://bugzilla.suse.com/show_bug.cgi?id=1188915#c2 Thomas Blume <thomas.blume@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.blume@suse.com --- Comment #2 from Thomas Blume <thomas.blume@suse.com> --- (In reply to Joerg Roedel from comment #1)
The issue is likely here in /usr/bin/dracut:
| # source our config file | if [[ -f $conffile ]]; then | check_conf_file "$conffile" | # shellcheck disable=SC1090 | . "$conffile" | fi | | # source our config dir | for f in $(dropindirs_sort ".conf" "$confdir" "$dracutbasedir/dracut.conf.d"); do | check_conf_file "$f" | # shellcheck disable=SC1090 | [[ -e $f ]] && . "$f" | done
The config file is sourced before the config directories. The directory which constains 01-dist.conf is even sourced last, so there is no way to overwrite the hostonly default set by the package.
I think the dist-defaults belong into /etc/dracut.conf so that users can replace/update them.
Indeed, that order looks wrong, the configs in /etc must be able to overwrite the vendor defaults. But the dist-defaults in /usr/lib/dracut/dracut.conf* is correct. /etc/dracut.conf* is for the admin not for the vendor. -- You are receiving this mail because: You are on the CC list for the bug.