[Bug 1234709] New: static-initrd: embeds random tmpdir
https://bugzilla.suse.com/show_bug.cgi?id=1234709 Bug ID: 1234709 Summary: static-initrd: embeds random tmpdir Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: All Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de Blocks: 1062303 Target Milestone: --- Found By: Development Blocker: --- While working on reproducible builds for openSUSE, I found that our static-initrd:base package varies in every build, with such a diff: --- old//usr/share/initrd/static-initrd-base-6.11.8-1-default.unsigned.cpio/usr/lib/dracut/build-parameter.txt 2024-12-19 09:14:55.079200953 +0000 +++ new//usr/share/initrd/static-initrd-base-6.11.8-1-default.unsigned.cpio/usr/lib/dracut/build-parameter.txt 2024-12-19 09:14:55.367202831 +0000 @@ -1 +1 @@ - --confdir '/tmp/tmp.k0puBDnkWn' --kernel-image '/boot/vmlinuz' --kver '6.11.8-1-default' --kmoddir '/lib/modules/6.11.8-1-default' --fwdir '/lib/firmware' --no-hostonly --no-hostonly-cmdline --no-hostonly-default-device --conf './dracut.conf' --kernel-cmdline 'rw security=apparmor rd.multipath=0' --omit 'iscsi lunmask multipath memstrack' --xz --show-modules --add-drivers 'fat vfat' --filesystems 'vfat ext4 xfs btrfs overlay' + --confdir '/tmp/tmp.OQ9MWRE5Lv' --kernel-image '/boot/vmlinuz' --kver '6.11.8-1-default' --kmoddir '/lib/modules/6.11.8-1-default' --fwdir '/lib/firmware' --no-hostonly --no-hostonly-cmdline --no-hostonly-default-device --conf './dracut.conf' --kernel-cmdline 'rw security=apparmor rd.multipath=0' --omit 'iscsi lunmask multipath memstrack' --xz --show-modules --add-drivers 'fat vfat' --filesystems 'vfat ext4 xfs btrfs overlay' because: static-initrd.spec:228 has dracut \ --confdir $(mktemp -d) \ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234709 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |valentin.lefebvre@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234709 https://bugzilla.suse.com/show_bug.cgi?id=1234709#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- Additionally /usr/share/initrd/static-initrd-base-6.11.8-1-default.unsigned has variations in mtimes. The dracut --reproducible option helps there. https://build.opensuse.org/requests/1232164 has a fix for both issues. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234709 https://bugzilla.suse.com/show_bug.cgi?id=1234709#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- found some more diffs in the generic part: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/nvme/hostid differs (ASCII text) --- old//usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/nvme/hostid 2024-12-19 10:50:05.300239696 +0000 +++ new//usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/nvme/hostid 2024-12-19 10:50:05.912243573 +0000 @@ -1 +1 @@ -a748c5d6-bf5c-46b4-82fa-985b2417f2f0 +77ea4fc6-c84b-4355-98c0-a75170d8e604 /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/nvme/hostnqn differs (ASCII text) --- old//usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/nvme/hostnqn 2024-12-19 10:50:05.300239696 +0000 +++ new//usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/nvme/hostnqn 2024-12-19 10:50:05.912243573 +0000 @@ -1 +1 @@ -nqn.2014-08.org.nvmexpress:uuid:a748c5d6-bf5c-46b4-82fa-985b2417f2f0 +nqn.2014-08.org.nvmexpress:uuid:77ea4fc6-c84b-4355-98c0-a75170d8e604 Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/systemd/system/dbus.service Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/systemd/system/initrd.target.wants/cm-initrd.service Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/systemd/system/initrd.target.wants/cm-wait-online-initrd.service Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/systemd/system/initrd.target.wants/dracut-cmdline-ask.service Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/systemd/system/network-online.target.wants/cm-wait-online-initrd.service Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/etc/systemd/system/sysinit.target.wants/rngd.service Missing in old package: /usr/share/initrd/static-initrd-generic-6.11.8-1-default.unsigned.cpio/var/lock -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234709 https://bugzilla.suse.com/show_bug.cgi?id=1234709#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- The variations in static-initrd:generic go away, when I use identical hostnames and CPUs for the builds. CPU-type might influence whether aesni-intel.ko.zst and some other get added. I noticed that it gets extra variations when the build runs as root. Why is there a # needsrootforbuild comment when it builds fine without that? E.g. with root, /etc/shadow had a variation in the password-change-date field. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com