Your message dated Fri, 25 Aug 2023 13:35:08 +0000
with message-id <[email protected]>
and subject line Bug#1036920: fixed in systemd 254.1-3
has caused the Debian Bug report #1036920,
regarding systemd: please ship a placeholder in /usr/lib/modules-load.d/
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1036920: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036920
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: 252.6-1
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package ships an empty
directory (/usr/lib/modules-load.d/) which disappears after installation
and removal of another package (e.g. multipath-tools) in a merged-/usr
setup. This is not a bug in the other package, but an effect of our
merged-/usr implementation.
Side question first: does systemd evaluate both
/usr/lib/modules-load.d/* and /lib/modules-load.d/* ?
Otherwise all packages shipping something in /lib/modules-load.d/ are
broken on unmerged-/usr because their config snippets are not being
taken into account.
This is happening to trigger the bug:
systemd ships /usr/lib/modules-load.d/ (empty directory)
multipath-tools ships /lib/modules-load.d/multipath.conf
dpkg doesn't know that /lib/modules-load.d/ and /usr/lib/modules-load.d/
are the same, and therefore removal of multipath-tools causes removal of
* /lib/modules-load.d/multipath.conf (OK)
* /lib/modules-load.d/ (if it was the last owner of that directory), while
it effectively is /usr/lib/modules-load.d/ getting removed
When adding a placeholder file, it needs to be something that is ignored
by the processing of the .d directory (the pattern could be *.conf, but I
might be mistaken here).
An alternative to shipping a placeholder file could be shipping
/lib/modules-load.d/ as additional empty directory, but I don't know
whether this would be allowed w.r.t. merged-/usr.
>From the attached log (scroll to the bottom...):
0m39.2s ERROR: FAIL: After purging files have disappeared:
/usr/lib/modules-load.d/ owned by: systemd
This is not caught by default piuparts tests as there is no test with
systemd explicitly installed.
I could not reproduce this issue in bullseye (and haven't tried to
reproduce it in earlier releases).
cheers,
Andreas
PS: packages shipping files in modules-load.d/ (in sid):
# apt-file search /lib/modules-load.d/
aoetools: /usr/lib/modules-load.d/aoetools.conf
dlm-controld: /usr/lib/modules-load.d/configfs.conf
drbd-utils: /lib/modules-load.d/drbd.conf
ecryptfs-utils: /lib/modules-load.d/ecryptfs.conf
fwupd: /usr/lib/modules-load.d/fwupd-msr.conf
iwd: /usr/lib/modules-load.d/pkcs8.conf
libddccontrol0: /usr/lib/modules-load.d/ddccontrol-i2c-dev.conf
mbpfan: /lib/modules-load.d/mbpfan.depend.conf
multipath-tools: /lib/modules-load.d/multipath.conf
open-vm-tools-desktop: /usr/lib/modules-load.d/open-vm-tools-desktop.conf
osspd: /lib/modules-load.d/osspd.conf
zfsutils-linux: /lib/modules-load.d/zfs.conf
systemd-modules-load.d.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 254.1-3
Done: Michael Biebl <[email protected]>
We believe that the bug you reported is fixed in the latest version of
systemd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated systemd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 25 Aug 2023 12:04:10 +0200
Source: systemd
Architecture: source
Version: 254.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Closes: 1036920 1041652
Changes:
systemd (254.1-3) unstable; urgency=medium
.
[ Nick Rosbrook ]
* debian: ship libsystemd.a in libsystemd-dev.
Thanks to Serge Hallyn
* autopkgtest: add build test for static libsystemd
* debian/rules: build with -ffat-lto-objects.
Building with -flto=auto, but without -ffat-lto-objects, causes static
archives to end up without any code sections. This is needed to ship a
usable libsystemd.a in libsystemd-dev.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977596.
.
[ Luca Boccassi ]
* Backport patch to fix test-path failure on Salsa CI
.
[ Michael Biebl ]
* Ask before attaching the udev db information to the bug report
(Closes: #1041652)
* Install D-Bus interface files in systemd-dev.
Now that we have a dedicated -dev package, use that to install
/usr/share/dbus-1/interfaces.
* Clean up a couple more __pycache__ directories
* Remove workarounds for dh_installman.
No longer needed as stable ships a fixed debhelper.
* Remove all empty directories from (/usr)/lib.
This mitigates the accidental empty directory removal by dpkg on
merged-/usr systems. (Closes: #1036920)
* Remove no longer needed maintainer scripts migration code for versions
older then oldstable
* Revert "Add workaround for Meson regression to fix FTBFS on mips64el"
This reverts commit 97ebdcea6d0ce52973dd5a9cfeede1573a628bd0.
No longer needed as a fixed meson package is available now.
Checksums-Sha1:
6abb90c9decddd831f04fbc37fff0dd922d5ca6b 6852 systemd_254.1-3.dsc
591ae55b981ce4e0a7afb83abe21e4a16b052284 164788 systemd_254.1-3.debian.tar.xz
da235b1412d36accc88c64e8fe25cc1f459f619a 11188 systemd_254.1-3_source.buildinfo
Checksums-Sha256:
584aba9784079f780ddab38b38bf113d76a117c9561174f4e9dfe7aef9800806 6852
systemd_254.1-3.dsc
de1a1f5d0d418735bec20913c17d3f4155f331875d64c912854db33bf19eb908 164788
systemd_254.1-3.debian.tar.xz
ef6eb47ecfe3e7b2009d38b65bf3327ed05ff791741764b7b6101ea5191beea4 11188
systemd_254.1-3_source.buildinfo
Files:
0d692530f7f0ee610840ebc7f299bd76 6852 admin optional systemd_254.1-3.dsc
a8d380064975e7c59f47431b91aaf030 164788 admin optional
systemd_254.1-3.debian.tar.xz
472ef03adae3950719689a94ef187f46 11188 admin optional
systemd_254.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmToqEgACgkQauHfDWCP
ItzdLw/9ER+f63GYIHlFzpTULf0+LCBXicFU+PKhP7OTaUiLgQnupwwGzblwMpHh
ZK5u2DjrspcTzlIrVAnb31d6cDotnnZ0tqNmDHQ8+98IBAwpxDi8abv1Xbf9xl47
expn6TTnAchUZ74+09nLFAvEiRLTHp0+TE2KX5Y65l377CETwi2wkSI8NlxkW3Vg
wBmyma3gYVm9NkIERk3lFWaA/AUudBMY/k7mq0RuDM4FecGtrIiAARsX2XEAoeI+
l0/Ne6NN1aLYBFLjYGri7RIhJ1e9tNkYYS2mhaDisX8a/Dhe1uN6PS0/+hKaH31P
2okFqnWkShnBPmuGJCrUKeFfPC1xvg4Dt5O20IYEkmH2zM/6R9IdLPOCyUQsU5qE
v4IHALvO7tU//ozIRc+E0wm4cFS6jrOwQvcvcpYq1zEzWkEg+sKeFQzoHSJCReES
w/VKA0H8u5Xl2/7yLeGZ38Vuo3LQWg42UkbuvGXhY2zwNDYuNIrKXCl5OAHNZx3W
kscgx3nDMH4ZkgzTsswEW1wY9mHzfLB+gjz8SNAT188wnu4gGcnMV6QzXMgabusF
dPNsO1o5coq0gFyOAZgp3p8yV87pE6WWEhx37f3erXCVY6kJPVs2kLL6kaC2hXj0
mcxqIOps5F2o0bL+JKFElnI7EUPTPUxyOxDsettTgkVa5mXM9Ck=
=imTO
-----END PGP SIGNATURE-----
--- End Message ---