Colin Watson <[EMAIL PROTECTED]> writes:

> Package: lintian
> Version: 1.23.16
> Severity: wishlist

> W: bum: menu-command-not-in-package /usr/share/menu/bum:4 /usr/bin/gksu

> Since gksu's really an adverb rather than something we normally expect
> to find in the package itself, I think it should be handled a bit like
> su-to-root (and kdesu should probably be the same, IIRC). I suggest that
> if the menu file uses gksu, then we should (a) check for a dependency on
> gksu, (b) check that the command following gksu is in the package.

I agree that the lintian warning is wrong.  However, why wouldn't using
gksu or kdesu in this situation be a warning themselves since su-to-root
knows how to invoke them when appropriate?  My preferred fix would be to
check for use of gksu, kdesu, or sux at the beginning of the command and,
in that case, emit a different warning telling package maintainers to just
use su-to-root.

I suppose that may not do the right thing if the maintainer is really sure
they want to force a *particular* interface, but is that something people
are likely to want to do?  It looks like the wrong thing to do for bum.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to