lintian should not complain about gksu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lintian (Debian) |
Incomplete
|
Unknown
|
|||
lintian (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lintian
Lintian version: 2.2.4
My package, computer-
W: computer-
It further provides the following explanation:
"The menu item or desktop file command uses an su wrapper other than
su-to-root. On Debian systems, please use su-to-root -X, which will pick
the correct wrapper based on what's installed on the system and the
current desktop environment. Using su-to-root is also important for Live
CD systems which need to use sudo rather than su. su-to-root permits
global configuration to use sudo."
Ubuntu does not contain su-to-root, and gksu seems to be the right way to invoke things as root in GNOME on Ubuntu. Lintian should not complain in this case.
I've added an override, but there are probably other packages in the same situation, so it would be good to to fix lintian, perhaps by disabling this test in the Ubuntu version of lintian.
Changed in lintian (Debian): | |
status: | Unknown → New |
Changed in lintian (Debian): | |
status: | New → Incomplete |
Changed in lintian (Debian): | |
status: | Incomplete → New |
Changed in lintian (Debian): | |
status: | New → Incomplete |
Lars Wirzenius <email address hidden> writes:
> My package, computer- janitor- gtk, has a .desktop file that calls gksu. janitor- gtk: su-wrapper- not-su- to-root applications/ computer- janitor- gtk.desktop gksu
> lintian complains:
>
> W: computer-
> /usr/share/
>
> It further provides the following explanation:
> "The menu item or desktop file command uses an su wrapper other than
> su-to-root. On Debian systems, please use su-to-root -X, which will pick
> the correct wrapper based on what's installed on the system and the
> current desktop environment. Using su-to-root is also important for Live
> CD systems which need to use sudo rather than su. su-to-root permits
> global configuration to use sudo."
>
> Ubuntu does not contain su-to-root, and gksu seems to be the right way
> to invoke things as root in GNOME on Ubuntu. Lintian should not complain
> in this case.
I'm fairly sure that Ubuntu does contain su-to-root. It's in the menu
package. I'm also fairly sure that the point above about Live requiring a
way to override programs to use sudo still applies and gksu gets in the
way of doing that.
-- www.eyrie. org/~eagle/>
Russ Allbery (<email address hidden>) <http://