Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267322

Summary: Starting net-analyzer/nmap (zenmap) as root fails sometimes due to bug in /usr/share/zenmap/su-to-zenmap.sh
Product: Gentoo Linux Reporter: Henry Gebhardt <hsggebhardt>
Component: Current packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal CC: netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: su-to-zenmap.sh.diff

Description Henry Gebhardt 2009-04-24 12:19:14 UTC
If none of gksu, kdesu, kde4su, ktsuss, or sudo are installed, then starting "Zenmap (as root)" from the start menu fails.

This occurrs with both nmap versions in portage right now (4.76 and 4.85_beta7).

The fix is to change the upper case "C" in line 48 of /usr/share/zenmap/su-to-zenmap.sh to lower case.

Thanks,
Henry

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:36:54 UTC
Created attachment 189398 [details, diff]
su-to-zenmap.sh.diff

Henry's suggestion in handy patch form :)
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2009-05-02 17:35:36 UTC
Fixed in CVS, thanks for the patch!