Bug#930702: lintian: warn about /usr/bin -> /usr/sbin mismatch
[2019-06-18 22:41] "Chris Lamb" <lamby@debian.org>
>
> part text/plain 453
> Dmitry Bogatov wrote:
>
> > * upstream build system incorrectly installs binary into $(prefix)/bin
> > * package maintainer moves it into $(prefix)/sbin
> > * there still may be files around, that refer to previous location of
> > binary
>
> Interesting idea. This sounds like you are speaking from experience;
> can you cite an example?
Sure.
1. Ceni
-------
Ceni is ncurses interface for /etc/network/interfaces. Upstream build
system installs it into /usr/bin and provides .desktop file, that refers
to program as /usr/bin.
Since running this program requires root privileges, it actually belongs
to /sbin. I had similar case with Laminar CI server and its systemd unit
file.
2. djbdns
---------
djbdns is collection of DNS-related servers. Upstream build system is
quite unconventional (if we consider autotools as unit of
conventionality) and does not make distinction between /bin and /sbin.
For every of five servers, it also builds *-conf program, which refers
to server binary as /usr/bin/<server>.
Probably there were more, but double-checking five servers of djbdns
prompted for something automatic.
--
Note, that I send and fetch email in batch, once in a few days.
Reply to: