Hi On Tue, Jun 20, 2006 at 08:58:53PM +0200, Sven Mueller wrote: > Package: ntop > Version: 2:3.0-5 > Severity: normal > > First of all: This might be considered a wishlist bug, but since LSB > compliance is a release goal for Etch, I leave it at Severity normale. > > Now to the bug itself: > > /etc/init.d/ntop reload > > Doesn't reload but instead restarts. This is not LSB conforming. > According to LSB, the script should instead return error code "3" > (feature not implemented), see bottom of the LSB 20.2 Init Script > Actions at:
Ok, I was not aware that LSB stated that. Something like "exit 3" I assume then? > http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html > > The list of action on the top of that page says about the reload action: > > reload cause the configuration of the service to be reloaded without > actually stopping and restarting the service > > So the current behaviour of ntop's init script is breaking LSB rules and > (what's more IMHO) is acting differently from what users would expect. > Especially since ntop doesn't keep collected data over restarts. True Regards, // Ola > Regards, > Sven > > -- System Information: > Debian Release: 3.1 > APT prefers stable > APT policy: (990, 'stable'), (400, 'experimental'), (90, 'testing'), (50, > 'unstable') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.11.12-incase > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > Versions of packages ntop depends on: > ii debconf 1.4.30.13 Debian configuration management > sy > ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries > an > ii libfreetype6 2.1.7-2.5 FreeType 2 font engine, shared > lib > ii libgd2-xpm 2.0.33-1.1 GD Graphics Library version 2 > ii libgdbm3 1.8.3-2 GNU dbm database routines > (runtime > ii libjpeg62 6b-10 The Independent JPEG Group's > JPEG > ii libpcap0.7 0.7.2-7 System interface for user-level > pa > ii libpng12-0 1.2.8rel-1 PNG library - runtime > ii libssl0.9.7 0.9.7e-3sarge1 SSL shared libraries > ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime > > ntop recommends no packages. > > -- debconf information: > * ntop/user: ntop > * ntop/interfaces: eth1 > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

