On Thu, Aug 05, 2021 at 10:21:30PM +0200, Michael Banck wrote: > I've run "dracut --no-kernel" in a minimal lxc container, once with > pkg-config and once without and then diffoscope'd the two generated > initrds. Most of what diffoscope complains about are timestamp > differences in directories and symlinks which I don't know how to get > rid of, but there's some changes in etc/conf.d/systemd.conf that I have > attached. Not sure whether those are problematic?
To clarify, the above was done on bullseye, on a usrmerge system. I see the same path changes in /etc/conf.d/systemd.conf if I try that on a real bullseye system. On a non-usrmerge buster system, diffoscope sees no such path differences between a dracut run with or without pkg-config. > │ ├── etc/conf.d/systemd.conf > │ │ @@ -1,3 +1,3 @@ > │ │ -systemdutildir="/lib/systemd" > │ │ -systemdsystemunitdir="/lib/systemd/system" > │ │ +systemdutildir="/usr/lib/systemd" > │ │ +systemdsystemunitdir="/usr/lib/systemd/system" > │ │ systemdsystemconfdir="/etc/systemd/system" > │ ├── usr/lib/systemd/system/ctrl-alt-del.target > │ │┄ symlink > │ │ @@ -1 +1 @@ > │ │ -destination: ../../../../lib/systemd/system/reboot.target > │ │ +destination: reboot.target Michael -- Michael Banck Projektleiter / Senior Berater Tel.: +49 2166 9901-171 Fax: +49 2166 9901-100 Email: michael.ba...@credativ.de credativ GmbH, HRB Mönchengladbach 12080 USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Sascha Heuer, Geoff Richardson, Peter Lilley Unser Umgang mit personenbezogenen Daten unterliegt folgenden Bestimmungen: https://www.credativ.de/datenschutz