[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492493: lintian: please remove the su-to-root check in desktop files



Josselin Mouette <joss@debian.org> writes:

> Package: lintian
> Version: 1.24.1
>
> The su-wrapper-not-su-to-root is nice for menu files, but for desktop
> files it doesn’t make much sense. Since the utility is in the menu
> package, it means the command will fail to launch although it has a
> dependency on gksu. (Or that would imply adding tons on Depends on
> menu.)
>
> Please disable the check until su-to-root is moved to a better place,
> like debianutils.

As mentioned in the long description, this check was added at the request
of the Live CD folks because using gksu instead of su-to-root breaks their
environment.  They need the indirection through su-to-root so that they
can take advantage of its configurability to use sudo instead.  I believe
this applies to desktop files just as much as it does to menu files.

Unless you have confirmation that this is no longer the case, or that I
didn't understand in the first place, I'm really hesitant to make this
change; I think it would be better for any package that needs to use
su-to-root to add the necessary dependency.  I disagree that this is
"tons"; very few packages need to run programs as root.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: