[pkg-bacula-devel] Fixing lintian tag executable-in-usr-lib?

Marcin Haba marcin.haba at bacula.pl
Sun May 10 23:06:22 BST 2020


Hello everybody,

First, I would like to say thank you for packaging and for maintaining
Bacula packages in Debian.

I read this mailing list regularly with interest, although I am not
active user here. Now I thought I write few words.

I have noticed in this mail thread an important change that will touch
the Baculum web interface, that I develop in the Bacula Community. I
mean changing json tools location to /usr/libexec. Baculum uses these
programs to get Bacula configuration. I will inform Baculum users
about this change that they will need to switch Baculum to the new
locations and change sudo rules too.

I read description from the link pasted by Sven:

"/usr/libexec includes internal binaries that are not intended to be
executed directly by users or shell scripts."

These json tools do not seem to be internal because Bacula components
don't use them. And they can be used by shell scripts and by
administrator.

I am wondering why not use /usr/sbin path to store them:

"This directory contains any non-essential binaries used exclusively
by the system administrator."

source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s10.html

What do you think about it?

Best regards,
Marcin Haba (gani)

On Sun, May 10, 2020 at 6:28 PM Sven Hartge <sven at svenhartge.de> wrote:
>
> Um 17:40 Uhr am 10.05.20 schrieb Carsten Leonhardt:
> > Hi Sven,
>
> >> But the other binaries should be moved to /usr/libexec/bacula as per
> >> §9.1.1 and
> >> https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html
>
> > I'd say better now than later, as the json things are still new and
> > probably not used a lot.
>
> > For btraceback bacula is the only sensible consumer, so it shouldn't
> > matter much where we put it.
>
> Indeed. I committed a change. Please review.
>
> I added new symlinks for bsmtp to /usr/libexec/bacula in addition to the
> old ones in /usr/lib/bacula for compatibility reasons.
>
> Also a debian-specific patch for the btraceback man-page was needed.
>
> All other changes are to Debian-owned files only.
>
> Grüße,
> Sven.
>
> _______________________________________________
> pkg-bacula-devel mailing list
> pkg-bacula-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-bacula-devel



More information about the pkg-bacula-devel mailing list