Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36279 - nmap-6.25 need as option dep on gksu/kdesu/ktsuss

Attached to Project: Arch Linux
Opened by Carlos Silva (r3pek) - Friday, 26 July 2013, 10:05 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 29 July 2013, 18:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
For the "Zenmap (as root)" application to actually launch, it needs one of this commands: gksu, kdesu or ktsuss (according to /usr/share/zenmap/su-to-zenmap.sh)

If the user doesn't have any of them installed, clicking on the menu icon fails silently not notifying the user that something's missing.

Steps to reproduce:
1. Install nmap and pygtk as suggested by the nmap package.
2. Try to run the "Zenmap (as root)" menu icon.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 29 July 2013, 18:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  in SVN
Comment by Gaetan Bisson (vesath) - Friday, 26 July 2013, 13:00 GMT
Read /usr/share/zenmap/su-to-zenmap.sh more closely; there's in particular:

elif which xterm>/dev/null 2>&1 ;then
if which sudo>/dev/null 2>&1 ;then
SU_TO_ROOT_X=sdterm
else
SU_TO_ROOT_X=sterm
fi;

and sdterm==`xterm -e "sudo -u $PRIV $COMMAND"` and sterm==`xterm -e "su -l $PRIV -c $COMMAND"`. So I do not think any optdepends is needed here as mostly all cases are covered...
Comment by Carlos Silva (r3pek) - Monday, 29 July 2013, 15:54 GMT
sudo doesn't ask anything on the X window rendering it useless unless it's run on a console. Also, if you don't have xterm installed (as in my case), nothing is displayed.

Loading...