• Bug#630174: debian-policy: forbid installation into /lib64

    From Niels Thykier@21:1/5 to All on Sun Aug 20 14:40:02 2017
    XPost: linux.debian.bugs.dist

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AjwQq7CCKfHuTFjTqT6BWl7HSWpwUB9Lw
    Content-Type: text/plain; charset=utf-8
    Content-Language: en-GB
    Content-Transfer-Encoding: quoted-printable


    On Tue, 9 Jun 2015 23:00:51 +0200 Bill Allombert <ballombe@debian.org>
    wrote:
    [...]

    OK, here a new patch.

    Seconds welcome!

    Cheers,
    --
    Bill. <ballombe@debian.org>

    Imagine a large red swirl here.

    Hi,

    I second the following change proposed by Bill:

    diff --git a/policy.sgml b/policy.sgml
    index 404dc73..f9fdbf7 100644
    --- a/policy.sgml
    +++ b/policy.sgml
    @@ -6955,12 +6955,13 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
    character.
    </p>
    </item>
    <item>
    <p>
    - The requirement for amd64 to use <file>/lib64</file>
    - for 64 bit binaries is removed.
    + The requirement for amd64 to use <file>/lib64</file> for
    + 64 bit binaries is removed. Only the dynamic linker is
    + allowed to use this directory.
    </p>
    </item>
    <item>
    <p>
    The requirement for object files, internal binaries, and @@ -6983,10 +6984,14 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
    use in cross-installation of library packages from other
    architectures, as part of <tt>multiarch</tt>.
    </footnote>
    </p>
    <p>
    + No package for a 64 bit architecture may install files
    + in <file>/usr/lib64/</file> or in a subdirectory of it.
    + </p>
    + <p>
    The requirement for C and C++ headers files to be
    accessible through the search path
    <file>/usr/include/</file> is amended, permitting files to
    be accessible through the search path
    <file>/usr/include/<var>triplet</var></file> where

    Thanks,
    ~Niels



    --AjwQq7CCKfHuTFjTqT6BWl7HSWpwUB9Lw--

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEsxMaRR2/33ygW0GXBUu7n32AZEIFAlmZbj4ACgkQBUu7n32A ZEIGKw/+P3P6iJDq99uykqvJZ8LRqoimlPrNeEhaa8skDyjOjCBTXpQT6wWN5bi3 k7Ccu8Z19vIXv0eFK3RuUYLds3CZb/qllbJSdinjknfFfrhSTfz+uDGfJ9RxMMgO rvJtsLz/ELvF/8JzvGB+k8Zy8NAmmI+wZm9QzyfaTKMrHYu1UCqoVsxn4GlWzGiQ 856OahGUXpClopPGRRJfvfawwnWx1qadGh6AFmhhyjc769PBeJ6XMQ4WkS+hV4xL +kdWSiIOcuoU5pp5po7FmHEkimw72KdM+YP9wLykWspPhMO6RQExbCQk7U1zaRtE DiVngXdLOqiosX6vGvHksQdp2O9dYQ5ORzeCnzDWBawn/AwjpUf63hhcjEQApT72 tT3otxk7nm6qmGIO330l7ml4Xmb/n64VcoIrqsxFh3/sw/fbKgmDTCrLd/NtSgCp rUi0Qg2K9CACpU4lHvGEb+f/66NOpjZ4uwiRxc8ThZnx8i3SrWMTk9ejpwsoVXu+ /Cm04ItMjjtwAgD6q15fdi1OshSWIdg1LpRqNpP6UWD0HIG2CfnLX4jhi7qzbl4B +mnkjXVOj5iUMnsrGADvoVH8G5MPrO0nsJGQ9CtKwzo9BbdOh3wUBqrS0v4CBp/6 gjI/MPDKlx5X0ScENUx1tJJGuWSIHP+mBndj3rVE+cCToyOALsE=
    =fh1s
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to All on Sun Aug 20 21:50:01 2017
    XPost: linux.debian.bugs.dist

    control: tag -1 -patch +pending

    I too second the following change proposed by Bill:

    diff --git a/policy.sgml b/policy.sgml
    index 404dc73..f9fdbf7 100644
    --- a/policy.sgml
    +++ b/policy.sgml
    @@ -6955,12 +6955,13 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
    character.
    </p>
    </item>
    <item>
    <p>
    - The requirement for amd64 to use <file>/lib64</file>
    - for 64 bit binaries is removed.
    + The requirement for amd64 to use <file>/lib64</file> for
    + 64 bit binaries is removed. Only the dynamic linker is
    + allowed to use this directory.
    </p>
    </item>
    <item>
    <p>
    The requirement for object files, internal binaries, and @@ -6983,10 +6984,14 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
    use in cross-installation of library packages from other
    architectures, as part of <tt>multiarch</tt>.
    </footnote>
    </p>
    <p>
    + No package for a 64 bit architecture may install files
    + in <file>/usr/lib64/</file> or in a subdirectory of it.
    + </p>
    + <p>
    The requirement for C and C++ headers files to be
    accessible through the search path
    <file>/usr/include/</file> is amended, permitting files to
    be accessible through the search path
    <file>/usr/include/<var>triplet</var></file> where

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlmZ2FoACgkQaVt65L8G YkBtAw//T6UGlEaJgjtBrAxw1ii9G1wdLb7goVsRvwOdpUcxBUw3DFDiWZ0TI25n XQoF7GX8RBWtosBQ+zjrWlVZDVsdYuuyvfD2HKnmV7qC0LNtny3BSdMVhX4LGfQN Pkja5w9MMTVsD4ro/sJZYQw6LmpjQRFT5hfAHTkpXlS5BElHzZ/pTOZuwPKKVzbS 4c4qDYjkfdSemkTLiCi7OaS9d4TKrulKymAteP+IyDTLdr5r74L+tpqNPKq6Du9b xZOWO2k45txN7LW5vuSfjfFk9ghIFZhwU+A4lP/mSBXi3JWgvOnHAHZD4UYA1c7Q HGS6qIBWhLJLXxvxAO70TtM2ZPlk6vRhW5zaSqvlH0/TnkqjdIq8QI8tT8nmoFxW Am9x6CcJwbJWzuyAvOoZcMVrpYK32ofEEtKB2aTYVfs63Q90KXSW7wwrhf0xu2k2 XJXpuE6wlLZQXPbYTdkkN0lE0cjzgMLMwmOPRS9lvUAWnxE6lV3ONvWDLcqLt3lZ DpCODItUsT5+bPA9e65GGIjBfwPuunmTm8T4Sb/uYgVoT4+Xk99h5spmSMbl83MC Fnn3JQ8GBEAi2XN+3cJUXPymrEolWbhKMDmd0+xT0xAguhKbCWg+dEGB7orujfA9 jScKmoCjeRzRN1ongSNjH1AziY7xSSqx9E0lYjBJ4uKSN+4HZVs=6JV3
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)