Default ntop installation looks for dot in the wrong directory

Bug #215651 reported by Stefaan Vanderheyden
0
Affects Status Importance Assigned to Milestone
ntop (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ntop

svd@perpette-tu40:/usr/local/bin$ lsb_release -rd
Description: Ubuntu 6.06.2 LTS
Release: 6.06
svd@perpette-tu40:/usr/local/bin$ apt-cache policy ntop
ntop:
  Installed: 3:3.2-1ubuntu1
  Candidate: 3:3.2-1ubuntu1
  Version table:
 *** 3:3.2-1ubuntu1 0
        500 http://archive.ubuntu.com dapper/universe Packages
        100 /var/lib/dpkg/status

The default installation of ntop looks for the dot binary in /usr/local/bin/dot, but when you install dot via the graphviz package, it is saved in /usr/bin/dot.

It is easy to fix the problem by adding a symbolic link : sudo ln -s /usr/bin/dot /usr/local/bin/dot

A more permanent solution would be to update the ntop package so that it looks for dot in the correct place as soon as it is installed...

Tags: gutsy ntop
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in ntop:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in ntop:
status: Incomplete → Invalid
Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote :

This is an issue with Ubuntu 8.04 LTS,

root@bastian:~# ls /usr/local/bin/dot
ls: cannot access /usr/local/bin/dot: No such file or directory
root@bastian:~# ls /usr/bin/dot
/usr/bin/dot

root@bastian:~# lsb_release -rd
Description: Ubuntu 8.04.2
Release: 8.04

root@bastian:~# apt-cache policy ntop
ntop:
  Installed: 3:3.2-10.1
  Candidate: 3:3.2-10.1
  Version table:
 *** 3:3.2-10.1 0
        500 http://es.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

root@bastian:~# apt-cache policy $(dpkg -S /usr/bin/dot | awk -F: '{print $1}')
graphviz:
  Installed: 2.16-3ubuntu2
  Candidate: 2.16-3ubuntu2
  Version table:
 *** 2.16-3ubuntu2 0
        500 http://es.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

In later releases it seems to be fixed (Intrepid changelog):

root@ulises:~# gunzip -c /usr/share/doc/ntop/changelog.Debian.gz | grep -B 15 -A 5 "dot path"

ntop (3:3.3-1) experimental; urgency=low

  * New upstream release, closes: #428276, #420633.
    Requires libpcap0.8-dev or later to build.
    This version have improved load and crash handling,
    closes: #420633, #368680, #462406.
    Updated rpath handling, closes: #399581.
  * Removed --skip-version-check from init script as that do not work in
    version 3.3.
  * Make sure that empty /usr/lib/plugins is not installed, closes: #369554.
  * Now ldconfig is run in postinst and postrm.
  * reload option now return error 3 to be LSB compliant, closes: #374703.
  * Added LSB dependency in init script, closes: #460225. Thanks to
    Petter Reinholdtsen for the fix.
  * Correction of bin/dot path, closes: #415035.
  * Suggests gsfonts package, closes: #449505.

 -- Ola Lundqvist <email address hidden> Fri, 7 Dec 2007 07:30:02 +0100

As you can see it had been fixed upstream in bug #415035

In my opinion this fix should be backported to 8.04 LTS

Changed in ntop:
status: Invalid → Incomplete
status: Incomplete → New
Revision history for this message
Ludovico Cavedon (cavedon) wrote :

This bug has been fixed in version 3:3.3-6.

Thanks for taking the time to report the issue.

Changed in ntop (Ubuntu):
status: New → 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.