Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 136983
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vieri <rentorbuy@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ntop-3.2-r1.patch ntop-3.2-r1.patch patch Cédric Krier 2006-10-05 03:37 0000 378 bytes Details | Diff
ntop-init.patch ntop-init.patch patch Cédric Krier 2006-10-05 03:39 0000 736 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 136983 depends on: Show dependency tree
Bug 136983 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-16 05:51 0000
As suggested by a forum post:
http://forums.gentoo.org/viewtopic-t-402101-highlight-ntop+hangs.html
it seems that adding the following example to
/etc/conf.d/ntop: 
NTOP_OPTS="-u ntop -P /var/lib/ntop --disable-schedyield --http-server 3000
--https-server 3001 --interface br0" 
(or similar)
could be useful especially since --disable-schedyield may avoid hanging ntop.

This "enhancement" could be added to the ebuild.

------- Comment #1 From Cédric Krier 2006-10-05 03:34:58 0000 -------
I can reproduce the bug.
Can you put the output of emerge --info

------- Comment #2 From Cédric Krier 2006-10-05 03:36:00 0000 -------
(In reply to comment #1)
I can't reproduce the bug (typing error)

------- Comment #3 From Cédric Krier 2006-10-05 03:37:47 0000 -------
Created an attachment (id=98831) [details]
ntop-3.2-r1.patch

missing use flag

------- Comment #4 From Cédric Krier 2006-10-05 03:39:05 0000 -------
Created an attachment (id=98832) [details]
ntop-init.patch

use pid in init script and check for password

------- Comment #5 From Vieri 2006-10-05 08:48:29 0000 -------
(In reply to comment #1)
> I can't reproduce the bug.
> Can you put the output of emerge --info

sure.

gw1 ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.14
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/fax /usr/share/config
/var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo
http://linuv.uv.es/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl acpi aim alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bzip2 calendar cdb cgi cli crypt ctype cups curl curlwrappers dba
dbase dbm dlloader dri eds emboss encode exif expat extensions fam fbcon flash
flatfile foomaticdb fortran ftp gd gdbm geoip gif ginac gmp gpm gstreamer gtk
gtk2 hal howl iconv imap imlib ipv6 isdnlog jabber java javascript jikes jpeg
kerberos ldap libg++ libwww mad maildir mailwrapper mbox mcal mikmod milter
mime ming mng motif mp3 mpeg mpi msnt mssql mysql mysqli ncurses nls ntlm odbc
ogg oggvorbis opengl oracle oss pam pcntl pcre pda pdflib perl php png posix
postgres pppd python qt qt3 qt4 quicktime radius readline reflection ruby samba
sasl sdl session sharedext simplexml slang smb soap sockets source speex spell
spl ssl symlink szip tcpd threads tiff tokenizer truetype truetype-fonts
type1-fonts unicode vhosts vorbis winbind xml xml2 xmlrpc xmms xorg xpm xv zip
zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev
kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #6 From Cédric Krier 2006-10-05 11:05:57 0000 -------
And can you put the output of:
equery uses sys-libs/glibc

------- Comment #7 From Vieri 2006-10-06 09:41:50 0000 -------
(In reply to comment #6)
> And can you put the output of:
> equery uses sys-libs/glibc

gw1 ~ # equery uses sys-libs/glibc
[ Searching for packages matching sys-libs/glibc... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-libs/glibc-2.3.5-r2 ]
 U I
 + + nls              : <unknown>
 - - pic              : Build Position Independent Code.  Do not utilize this
flag unless you know what you're doing.
 - - build            : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping.
 - - nptl             : Enable support for Native POSIX Threads Library, the
new threading module (requires linux-2.6 or better usually)
 - - nptlonly         : Disables building the linuxthreads fallback in glibc
ebuilds that support building both linuxthreads and nptl.
 - - erandom          : Enable erandom/frandom support in glibc for ssp
 - - hardened         : activate default security enhancements for toolchain
(gcc, glibc, binutils)
 - - userlocales      : build only the locales specified in /etc/locales.build
 - - multilib         : On 64bit systems, if you want to be able to compile
32bit and 64bit binaries
 - - selinux          : !!internal use only!! Security Enhanced Linux support,
this must be set by the selinux profile or breakage will occur
 - - glibc-compat20   : Enable the glibc-compat addon.
 - - glibc-omitfp     : Configure glibc with --enable-omitfp which lets the
build system determine when it is safe to use -fomit-frame-pointer
 - - linuxthreads-tls : Configure the linuxthreads glibc with --with-__thread
if supported by your system.  --with-tls is always enabled if supported and is
NOT controlled by this switch.  So the glibc built will always support TLS
binaries.  This toggle chooses whether or not glibc itself uses TLS.  If you're
concerned about backwards compatibility with old binaries, leave this off.
 - - profile          : Adds profile support to builds of packages (will likely
vary from ebuild to ebuild in support)

------- Comment #8 From Markus Ullmann 2007-03-27 20:56:59 0000 -------
added in -r3

------- Comment #9 From Kundai Midzi 2008-04-28 18:21:10 0000 -------
Small typo in ntop-confd with user argument passing in suggestion.

--- ntop-confd  2008-04-28 11:18:29.498108477 -0700
+++ ntop-confd.orig     2008-04-28 11:18:16.425251097 -0700
@@ -4,6 +4,6 @@
 #NTOP_OPTS="--http-server 3000 --https-server 0 --interface eth0"

 # suggestions from bug #136983 (use it in case you experience ntop hangs)
-#NTOP_OPTS="-u ntop -P /var/lib/ntop --disable-schedyield --http-server 3000
--https-server 3001"
+#NTOP_OPTS="u ntop -P /var/lib/ntop --disable-schedyield --http-server 3000
--https-server 3001"

 NTOP_OPTS="-u ntop -P /var/lib/ntop

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug