Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1242703
| From | Martin-Éric Racine <martin-eric.racine@iki.fi> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1103429: dhcpcd-base: Move hooks to /usr/libexec ? |
| Date | 2025-04-19 14:10 +0200 |
| Message-ID | <KDfbb-eHVv-13@gated-at.bofh.it> (permalink) |
| References | <KCxtv-ebwg-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 17 Apr 2025 16:36:43 +0300 =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <martin-eric.racine@iki.fi> wrote: > to 17.4.2025 klo 16.27 Laurent Bigonville (bigon@debian.org) kirjoitti: > > > > Package: dhcpcd-base > > Version: 1:10.1.0-9 > > Severity: wishlist > > > > Hello, > > > > I see that dhcpcd installs hooks in /usr/lib/dhcpcd/ but today, debian > > allows to install executable files in /usr/libexec and a lot of packages > > are doing so. > > > > Would be a good idea to move the dhcpcd-run-hooks and the dhcpcd-hooks > > directory to /usr/libexec > > > > To achieve this, just remove the --libexecdir flag in debian/rules > > The problem is that since hooks are not executable scripts per-se, > merely script fragments, Lintian responds with: > > W: dhcpcd-base: executable-not-elf-or-script [usr/libexec/dhcpcd-hooks/*] I'd really like to hear Lintian maintainers' opinion on this one. W: dhcpcd-base: executable-not-elf-or-script [usr/libexec/dhcpcd-hooks/01-test] W: dhcpcd-base: executable-not-elf-or-script [usr/libexec/dhcpcd-hooks/20-resolv.conf] W: dhcpcd-base: executable-not-elf-or-script [usr/libexec/dhcpcd-hooks/30-hostname] W: dhcpcd-base: executable-not-elf-or-script [usr/libexec/dhcpcd-hooks/50-timesyncd.conf] None of the above have any shebang, because they are merely script fragments sourced by /usr/libexec/dhcpcd-run-hooks (which has the expected shebang). Could Lintian perhaps not report the above warning if the files are in a subdirectory of /usr/libexec? Martin-Éric
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1103429: dhcpcd-base: Move hooks to /usr/libexec ? Laurent Bigonville <bigon@debian.org> - 2025-04-17 15:30 +0200 Bug#1103429: dhcpcd-base: Move hooks to /usr/libexec ? Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-04-17 15:40 +0200 Bug#1103429: dhcpcd-base: Move hooks to /usr/libexec ? Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-04-19 14:10 +0200 Bug#1103429: dhcpcd-base: Move hooks to /usr/libexec ? Daniel Gröber <dxld@darkboxed.org> - 2025-04-30 14:30 +0200
csiph-web