Debian Bug report logs - #954149
Please add check for executable in /usr/lib/

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Laurent Bigonville <[email protected]>

Date: Tue, 17 Mar 2020 13:21:04 UTC

Severity: wishlist

Found in version lintian/2.57.0

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#954149; Package lintian. (Tue, 17 Mar 2020 13:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Laurent Bigonville <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (Tue, 17 Mar 2020 13:21:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Laurent Bigonville <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Please add check for executable in /usr/lib/
Date: Tue, 17 Mar 2020 14:16:53 +0100
Package: lintian
Version: 2.57.0
Severity: wishlist

Hi,

Now that the debian policy supports FHS 3.0 (since 4.1.5) and the FHS
3.0 describes /usr/libexec[0], it would be nice to have (all?) the
executables installed in /usr/lib/ to /usr/libexec.

Several packages have already migrated, could a (pedentic?) test be added?

Kind regards,

Laurent Bigonville

[0] http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages lintian depends on:
ii  binutils                     2.34-4
ii  bzip2                        1.0.8-2
ii  diffstat                     1.63-1
ii  dpkg                         1.19.7
ii  dpkg-dev                     1.19.7
ii  file                         1:5.38-4
ii  gettext                      0.19.8.1-10
ii  gpg                          2.2.19-3
ii  intltool-debian              0.35.0+20060710.5
ii  libapt-pkg-perl              0.1.36+b3
ii  libarchive-zip-perl          1.68-1
ii  libcapture-tiny-perl         0.48-1
ii  libcgi-pm-perl               4.46-1
ii  libclass-xsaccessor-perl     1.19-3+b3
ii  libclone-perl                0.43-2
ii  libdevel-size-perl           0.83-1+b1
ii  libdpkg-perl                 1.19.7
ii  libemail-valid-perl          1.202-1
ii  libfile-basedir-perl         0.08-1
ii  libfile-find-rule-perl       0.34-1
ii  libfont-ttf-perl             1.06-1
ii  libio-async-loop-epoll-perl  0.20-1
ii  libio-async-perl             0.75-1
ii  libipc-run-perl              20180523.0-2
ii  libjson-maybexs-perl         1.004000-1
ii  liblist-compare-perl         0.53-1
ii  liblist-moreutils-perl       0.416-1+b5
ii  libmoo-perl                  2.003006-1
ii  libmoox-aliases-perl         0.001006-1
ii  libnamespace-clean-perl      0.27-1
ii  libpath-tiny-perl            0.108-1
ii  libsereal-decoder-perl       4.011+ds-1
ii  libsereal-encoder-perl       4.011+ds-1
ii  libtext-levenshtein-perl     0.13-1
ii  libtimedate-perl             2.3200-1
ii  libtry-tiny-perl             0.30-1
ii  libtype-tiny-perl            1.008001-2
ii  liburi-perl                  1.76-2
ii  libxml-libxml-perl           2.0134+dfsg-2
ii  libyaml-libyaml-perl         0.81+repack-1
ii  man-db                       2.9.1-1
ii  patchutils                   0.3.4-2+b1
ii  perl [libdigest-sha-perl]    5.30.0-9
ii  t1utils                      1.41-3
ii  xz-utils                     5.2.4-1+b1

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b6

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  libhtml-parser-perl    3.72-5
ii  libtext-template-perl  1.58-1

-- no debconf information



Message sent on to Laurent Bigonville <[email protected]>:
Bug#954149. (Tue, 17 Mar 2020 16:27:02 GMT) (full text, mbox, link).


Message #8 received at [email protected] (full text, mbox, reply):

From: Felix Lechner <[email protected]>
To: [email protected]
Subject: Bug#954149 marked as pending in lintian
Date: Tue, 17 Mar 2020 16:24:34 +0000
Control: tag -1 pending

Hello,

Bug #954149 in lintian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/lintian/lintian/-/commit/fb33fd7d1448994d7083d5738ad590c73c89c88e

------------------------------------------------------------------------
Add tag and check for executables in /usr/lib, which violates the FHS. (Closes: #954149)

This has been against file system hierarchy guidelines since Debian adopted
policy version 4.1.5. More details can be found here:

    http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html

The relevant policy section is 9.1.1.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/954149



Added tag(s) pending. Request was from Felix Lechner <[email protected]> to [email protected]. (Tue, 17 Mar 2020 16:27:02 GMT) (full text, mbox, link).


Reply sent to Chris Lamb <[email protected]>:
You have taken responsibility. (Fri, 20 Mar 2020 10:39:08 GMT) (full text, mbox, link).


Notification sent to Laurent Bigonville <[email protected]>:
Bug acknowledged by developer. (Fri, 20 Mar 2020 10:39:08 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected]
Subject: Bug#954149: fixed in lintian 2.58.0
Date: Fri, 20 Mar 2020 10:37:19 +0000
Source: lintian
Source-Version: 2.58.0
Done: Chris Lamb <[email protected]>

We believe that the bug you reported is fixed in the latest version of
lintian, 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.
Chris Lamb <[email protected]> (supplier of updated lintian 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, 20 Mar 2020 09:56:18 +0000
Source: lintian
Architecture: source
Version: 2.58.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <[email protected]>
Changed-By: Chris Lamb <[email protected]>
Closes: 924449 935706 954146 954149 954224
Changes:
 lintian (2.58.0) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - executable-in-usr-lib
 .
   [ Felix Lechner ]
   * Fix interaction between two gzip timestamp tags.
     (Closes: #954146)
   * In terminal output, print overrides in a subdued color.
     (Closes: #954224)
   * Add tag and check for executables in /usr/lib, which violates the FHS.
     (Closes: #954149)
   * Use the "Severity" field in tags to determine their display prominence
     directly. (Closes: #935706)
   * Remove temporary directories for pools when they are no longer needed.
     (Closes: #924449)
Checksums-Sha1:
 930d1b308ceda3c977dd09e0c08f41e00ef17267 4141 lintian_2.58.0.dsc
 1a9f1426f89f3d2833ea50cb9011f35db5a6c35a 1896132 lintian_2.58.0.tar.xz
 d28038f2076e7fdccbf54111f470197ba0519fee 16171 lintian_2.58.0_amd64.buildinfo
Checksums-Sha256:
 c546e17e0907714bde02d12e5e22955cf1f1a8ce07da8919bd11ef8efb22c4cd 4141 lintian_2.58.0.dsc
 711e41367ed3682f4b57861194d79137f66bbfafb1160ce9adb13f3ddc78ed8f 1896132 lintian_2.58.0.tar.xz
 2d34ef131add0ae1f070904cdeed58c1b7b5cc36116009e27ac75f736576e465 16171 lintian_2.58.0_amd64.buildinfo
Files:
 959e61e13b34c8fec36075b366f8c739 4141 devel optional lintian_2.58.0.dsc
 a98441fdc819b1409b0b4502a2db2717 1896132 devel optional lintian_2.58.0.tar.xz
 907c13a7a5ffdbc38a01aa58d508b075 16171 devel optional lintian_2.58.0_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl50mNEACgkQHpU+J9Qx
Hlg+yxAAxWgfoWB9IbPUwto71/1uYaeI/kQ22Nn48fakwFMN2UwoFK4ENzMPR4Xd
uFMfxQvKobm0WlBGWx8hQsVegVdLewIaGwrywfJZv1NCRft1krMHm5HIYALlr6jV
i1baeWu1MQLo0faxeriWYcboihZ7T1hbr2A5vyM+GZYjBgLd/jKGNx9VRBJe//ia
i2N84fRCpFnW7iwrOLRJZLzkHi0Il0zi/OBD2ChDyNjJWPBajfLUISMtoctL0CqY
tW0Cf/QiBhMw3fvrTLY5c+AsEbR+0i1HCK7I7r5uQ2sCqcRzUv1oPDHKNpFjS/Zn
n3kRzmpBgmACud+x2WJucVXPbqLoQz3EfnoGLRklPYGl6bdFWxruPm8knhHmO8Ol
8tr8NFEcpPI2uhfiKUj8oepUiVCl+cKOSakzjjtlK/X17g6dhT6vrxe29g3vU6Vy
Xk3jT+5qpjAyrpxYes0x2YB0Vjg9h8GIBAcqFd+VayR/YYpbIxbLpIwDHwK4QrsB
6LFEI01W3mXPfFaCOfP4iiMDsTr+3VQWXEVmkJd4Rn2Ko5k9he0eIZdnBTSaaZOv
T5Ul8SO0yVhGr9p2GJW/skyovMP1N+z7watnPiEcVCOFys7AjRpbgEViAkH+uS19
ILeGhNGseikHfB2ZwYnv55furjkhvek+/a8R1AZ71YadIx1RCVI=
=KOYb
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Sat, 18 Apr 2020 07:30:00 GMT) (full text, mbox, link).


Bug unarchived. Request was from David Bremner <[email protected]> to [email protected]. (Tue, 14 Jul 2020 10:48:03 GMT) (full text, mbox, link).


Bug reopened Request was from David Bremner <[email protected]> to [email protected]. (Tue, 14 Jul 2020 10:48:03 GMT) (full text, mbox, link).


No longer marked as fixed in versions lintian/2.58.0. Request was from David Bremner <[email protected]> to [email protected]. (Tue, 14 Jul 2020 10:48:04 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#954149; Package lintian. (Tue, 14 Jul 2020 12:09:07 GMT) (full text, mbox, link).


Acknowledgement sent to David Bremner <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Tue, 14 Jul 2020 12:09:07 GMT) (full text, mbox, link).


Message #28 received at [email protected] (full text, mbox, reply):

From: David Bremner <[email protected]>
To: [email protected]
Subject: this tag needs work
Date: Tue, 14 Jul 2020 07:10:28 -0300
from #debian-qa

<me> IMHO executable-in-usr-lib expresses a preference not supported by
    Debian policy (or FHS 3.0)

A helpful bystander: the FHS page lintian links to says "To accomodate this
    restriction, it became common practice to use /usr/lib
    instead. Either practice is now acceptable, but each application
    must choose one way or the other to organize itself." so I suppose
    it's justified if lintian finds a package using both /usr/libexec
    and /usr/lib
<me> ack
<me> there are about 12000 executable files in /usr/lib on this machine. 
<lechner> bremner olly: added for #954149, please reopen and comment
    there, if needed

I know it's pedantic. I also know that new contributors to Debian try
and fix all the tags, which wastes my time.




Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#954149; Package lintian. (Mon, 08 Nov 2021 23:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Lechner <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Mon, 08 Nov 2021 23:39:03 GMT) (full text, mbox, link).


Message #33 received at [email protected] (full text, mbox, reply):

From: Felix Lechner <[email protected]>
To: [email protected]
Cc: David Bremner <[email protected]>, Laurent Bigonville <[email protected]>
Subject: Re: Bug#954149: this tag needs work
Date: Mon, 8 Nov 2021 15:36:42 -0800
Hi,

On Tue, Jul 14, 2020 at 5:09 AM David Bremner <[email protected]> wrote:
>
> executable-in-usr-lib expresses a preference not supported by
>     Debian policy (or FHS 3.0)

Like the bug filer, I believe executables should not be placed in
usr/lib. At the same time, Lintian also ships some there. Combined
with the above, I am not sure the tag is fixable.

As a last step before a possible removal, the tag was marked as
experimental, which tends to hide it from view. [1]

Please submit any additional positions to this bug. Thanks!

Kind regards
Felix Lechner

[1] https://salsa.debian.org/lintian/lintian/-/commit/80ac50c172871c7d74b35567aea6423b4f3e8792



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:02:26 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.