Re: TC decision on ownership of top-level filesystem aliases - #1091995

Sean Whitton <[email protected]> Thu, 06 Mar 2025 17:39:06 +0800
Newsgroups gmane.linux.debian.devel.ctte,gmane.linux.debian.devel.general
Message-ID <[email protected]>
Hello ctte,

On Tue 04 Mar 2025 at 11:46am GMT, Matthew Vernon wrote:

> In Bug #1091995, the Technical Committe was asked to rule on an issue
> that could, under certain circumstances, result in failure of the
> base-files package to install or upgrade correctly. Under these
> circumstances, systemd will create a symlink from /lib64 to /usr/lib,
> which does not match the symlink contained within base-files. base-files
> will detect this case in preinst and generate an error, but if it did
> not do this then dpkg would instead fail with a less verbose message.
>
> Policy does not currently define ownership of the usrmerge filesystem
> aliases, but since trixie base-files has effectively been responsible
> for ensuring that these aliases are configured appropriately. This is
> therefore a technical disagreement rather than a policy violation.

Just to note that the most recent release of Policy sort-of defines
ownership of this, though it is not as explicit as the TC decision:

    Packages must not install files to paths whose first component is a
    name directly under the file system root and which is a symbolic
    link to a directory of the same name under "/usr".  ...  The
    base-files package is an exception, for it installs aliasing
    symbolic links from "/bin" to "/usr/bin", "/lib" to "/usr/lib", et
    cetera.

-- 
Sean Whitton
signature.asc (application/pgp-signature, 869 B)
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmfJbToZHHNwd2hpdHRv
bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQIGDD/9OCj0JuFND1kTT95EPgX8u
sDhf4ya4/CSJOET5bNRG2O+Nv6msVcaIUMUflk+MVD4t0KVugRQYo4Ey1KExrs0d
i/LG94xkgBguVpSs8Uvu74GK+VTnZ22pqP8Od5mW+Y4SizescngdKZuu0Q+pQIIh
fb9PlE4yXlV39C3Rr29ekDtb+Fdf2Zf4BbG091aY9d5+lV+IxyCRu4szk74Ag3SK
ulN0oBEQfgbZC2ixv6wL6qwrCZnI4LfI++2yD2q7cKgUFB4fJ2zyhyQ4o1ZEWqw1
i6CFaWApiMQ07nh7GBjCFRBVUzKx4eBWO6wiOF73Fwctnx8Mr5dAl83QKI4bxNaH
2Grm49ERMe5/thslSVs9/dexQ471tX/ZJM4Iof+2QPxaf+vyN0mZXdUouA8xg04I
hXrYjEqR5gjDhG2cyVgXeWIjcpjRGQFNkO0nkSX6f0siuDnC2EmDsF/18RFBPa+i
3o6N9krTrAv00oIrNu0IwPfYLHu1R+DwcwnaVWoB38whdDNPx7LZC4MJ09SCejpN
LNez0EKKi1p4w94KdZaZ151YSRRQ+wdy/xGsiq5fcfzqIxt96B1DVH0zjW8F2nUC
o+1TOsdL+Nn3mu5gvGkEHDhASmyu/Z2qat2hrV2+KCTvupZWEIOxDnDMSjbBbVbO
B8VQhCi1snP7hnASwDFD7w==
=d7Lq
-----END PGP SIGNATURE-----