Description of problem: ntop.service contains wrong path for conf /etc/ntop.conf instead of /etc/ntop/ntop.conf How reproducible: Install ntop with urpmi
Keywords: (none) => Junior_jobURL: (none) => http://svnweb.mageia.org/packages/cauldron/ntop/current/SOURCES/ntop.service?revision=173778&view=markupAssignee: bugsquad => guillomovitch
Fixed in cauldron.
ntop-4.1.0-5.1 submitted in updates_testing for mageia 2. Suggested advisory: The ntop-4.1.0-5mga2 package included a buggy systemd service file, with a path to the configuration inconsistent with its actual location. The ntop-4.1.0-5.1mga2 package fixes this issue.
Assignee: guillomovitch => qa-bugs
Installed ntop from Core Release followed /usr/share/doc/ntop/1STRUN.txt, correcting the command to set the password to /usr/bin/ntop -P /usr/share/ntop -u ntop -A I think the 1STRUN.txt should be corrected, but as that is not a regression, I'll let Guillaume decide whether or not to do so. root@hodgins ~]# systemctl enable ntop.service Before installing the update ... [root@hodgins ~]# systemctl start ntop.service [root@hodgins ~]# systemctl status ntop.service ntop.service - A network traffic probe similar to the UNIX top command Loaded: loaded (/lib/systemd/system/ntop.service; enabled) Active: inactive (dead) start condition failed at Mon, 02 Jul 2012 22:25:21 -0400; 18s ago CGroup: name=systemd:/system/ntop.service After installing the update ... [root@hodgins ~]# systemctl start ntop.service [root@hodgins ~]# systemctl status ntop.service ntop.service - A network traffic probe similar to the UNIX top command Loaded: loaded (/lib/systemd/system/ntop.service; enabled) Active: active (running) since Mon, 02 Jul 2012 22:37:10 -0400; 1s ago Main PID: 2820 (ntop) CGroup: name=systemd:/system/ntop.service â 2820 /usr/sbin/ntop @/etc/ntop/ntop.conf Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t3059099632]: ntop RUNSTATE: INITNONROOT(3) Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: Now running as requested user 'ntop' (484:477) Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: Note: Reporting device initally set to 0 [eth0] (merged) Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t3017501552]: SIH: Idle host scan thread running [p2820] Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t3025894256]: SFP: Fingerprint scan thread running [p2820] Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t3059099632]: ntop RUNSTATE: RUN(4) Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t2963266416]: NPS(1): Started thread for network pa...th0] Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t2971659120]: RRD: Data collection thread starting [p2820] Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t2963266416]: NPS(eth0): pcapDispatch thread starti...820] Jul 02 22:37:10 hodgins.homeip.net ntop[2820]: THREADMGMT[t2963266416]: NPS(eth0): pcapDispatch thread runnin...820]
CC: (none) => davidwhodgins
Whiteboard: (none) => mga2-32-OK
Installed ntop from Core Release on mga2-64. I confirm Dave's previous post, I got the same result after installing the update. [root@localhost mornot]# systemctl status ntop.service ntop.service - A network traffic probe similar to the UNIX top command Loaded: loaded (/lib/systemd/system/ntop.service; enabled) Active: active (running) since Fri, 06 Jul 2012 16:37:54 +0200; 1s ago Main PID: 16683 (ntop) CGroup: name=systemd:/system/ntop.service â 16683 /usr/sbin/ntop @/etc/ntop/ntop.conf Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235783399584]: ntop RUNSTATE: INITNONROOT(3) Jul 06 16:37:54 localhost ntop[16683]: Now running as requested user 'ntop' (489:481) Jul 06 16:37:54 localhost ntop[16683]: Note: Reporting device initally set to 0 [eth0] (merged) Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235783399584]: ntop RUNSTATE: RUN(4) Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235589830400]: NPS(1): Started thread for network packet sniffing [eth0] Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235598223104]: RRD: Data collection thread starting [p16683] Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235634243328]: SFP: Fingerprint scan thread running [p16683] Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235625850624]: SIH: Idle host scan thread running [p16683] Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235589830400]: NPS(eth0): pcapDispatch thread starting [p16683] Jul 06 16:37:54 localhost ntop[16683]: THREADMGMT[t140235589830400]: NPS(eth0): pcapDispatch thread running [p16683]
CC: (none) => stblackWhiteboard: mga2-32-OK => mga2-32-OK, mga2-64-OK
Thanks Stefano. Validating Please see comment 2 for advisory and srpm Could sysadmin please push from core/updates_testing to core/updates. Thankyou!
Keywords: Junior_job => validated_updateCC: (none) => sysadmin-bugs
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0105
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED