On Fri, 04 Aug 2023 10:44:38 +0000 sohe4b+2fz7rb0ixc53g@cs.email wrote: > Package: base-files > Version: 12.4+deb12u1 > Followup-For: Bug #1039979 > Control: tags -1 patch > > I attach a patch to change absolute symlinks to relative symlinks, which would fix this bugreport if you choose to do so.
At least the /var/run directory is also created as a symlink to ../run by tmpfiles.d: /usr/lib/tmpfiles.d/var.conf from the systemd package contains: L /var/run - - - - ../run There is also a proposal to update the debian policies regarding the directory structure below /var: https://lists.debian.org/debian-policy/2023/06/msg00016.html Especially for read-only rootfs images with a dedicated (unpopulated) /var partition, a solution using tmpfiles.d would be much appreciated. But it is tricky to find out what is still missing as these directories often get created in the postinstall scripts. Best regards, Felix Moessbauer -- Siemens AG, Technology Linux Expert Center