On 29/05/2023 14.57, Luca Boccassi wrote:
Wouldn't the correct workaround be to list /usr/lib/modules-load.d in systemd.dirs so that dpkg leaves it alone? Seems way too late for Bookworm though?
for dpkg, /usr/lib/modules-load.d is already owned by systemd, dpkg only accidentally deletes it while removing /lib/modules-load.d
That's the reason for adding some placeholder file there, to prevent accidental removal of the (no longer empty) directory.
Could be part of the first bookworm point release. Andreas