zenmap uses menu package in /usr/share/applications/zenmap-root.desktop file, but does not depend on it

Bug #1713274 reported by Norbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nmap (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Steps to reproduce:
1. Install zenmap.
2. Try to find its desktop file to launch as root:
  $ dpkg -L zenmap | grep desktop
  /usr/share/applications/zenmap-root.desktop

  $ cat /usr/share/applications/zenmap-root.desktop | grep Exec | grep zenmap
  Exec=su-to-root -X -c zenmap %F
3. Try to launch it with `su-to-root -X -c zenmap %F`
4. Get
  $ su-to-root -X -c zenmap %F
  The program 'su-to-root' is currently not installed. You can install it by typing:
  sudo apt install menu

Expected results:
'zenmap' package depends on 'menu' package so it could be launched as root.

Actual results:
'zenmap' package does not depend on 'menu' package and could not be launched as root.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: zenmap 7.50-1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.6-0ubuntu7
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Aug 27 00:31:17 2017
InstallationDate: Installed on 2017-08-26 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha i386 (20170826)
PackageArchitecture: all
SourcePackage: nmap
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Triage notes: I don't know if there are implications when installing the "menu" package in a desktop system nowadays. I also don't know why the provided su-to-zenmap.sh was dropped, since it says it was based on debian's su-to-root to begin with.

Changed in nmap (Ubuntu):
status: New → Triaged
importance: Undecided → Low
tags: added: bitesize
Norbert (nrbrtx)
tags: removed: artful
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for removing the tag, Norbert. Out of curiosity, is this still a problem for you? Thanks.

Revision history for this message
Norbert (nrbrtx) wrote :

Currently ZenMap is only exists for Ubuntu 18.04 LTS - see https://packages.ubuntu.com/bionic/zenmap . Here it normally depends on menu package. So current bug is fixed.

Changed in nmap (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.