[Bug 1437835] Re: ntopng requires redis-server but tries to start before redis-server is up
This bug was fixed in the package ntopng - 2.4+dfsg1-4 --- ntopng (2.4+dfsg1-4) unstable; urgency=medium * Add CVE-2017-7458.patch to prevent an empty host to crash ntopng (Closes: #866721, CVE-2017-7458). * Add CVE-2017-7459.patch to prevent \r\n from being injected into HTTP URIs (Closes: #866719, CVE-2017-7459). * Add gcc-7.patch to fix FTBFS with gcc 7 (Closes: #853578). * Update Check-for-presence-of-crsf-in-admin-scripts.patch to avoid the 'Missing CSRF parameter' error (Closes: #856048). * Add Avoid-access-after-free.patch and Avoid-access-to-unintialized-memory.patch to fix crash with mysql (thanks to Bernhard Übelacker, Closes: #859653). * Add redis-server in the Required fields of the SysVinit script (LP: #1437835). -- Ludovico Cavedon Sun, 03 Sep 2017 21:12:05 +0200 ** Changed in: ntopng (Ubuntu) Status: Fix Committed => Fix Released ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-7458 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-7459 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1437835 Title: ntopng requires redis-server but tries to start before redis-server is up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntopng/+bug/1437835/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1437835] Re: ntopng requires redis-server but tries to start before redis-server is up
It looks like you are using the SysVinit boot system. Indeed there is a dependency missing in that case. It can be fixed by changing /etc/init.d/ntopng as follows: @@ -1,8 +1,8 @@ #! /bin/sh ### BEGIN INIT INFO # Provides: ntopng -# Required-Start:$remote_fs $syslog -# Required-Stop: $remote_fs $syslog +# Required-Start:$remote_fs $syslog redis-server +# Required-Stop: $remote_fs $syslog redis-server # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Should-Start: $network And the updating the boot dependencies. I am not sure what the right procedure is, but this may help: https://wiki.debian.org/LSBInitScripts/DependencyBasedBoot I including the fix above in the next Debian package upload. ** Changed in: ntopng (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1437835 Title: ntopng requires redis-server but tries to start before redis-server is up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntopng/+bug/1437835/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1437835] Re: ntopng requires redis-server but tries to start before redis-server is up
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ntopng (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1437835 Title: ntopng requires redis-server but tries to start before redis-server is up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntopng/+bug/1437835/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs