Created attachment 656982 [details, diff] working upgrade instructions hello, I was struggling with nessus update until I found this solution. The current instructions suggest to restart nessus in order to complete the upgrade. However, it is not enough. After the restart, it will be still a previous version and it forces rebuilding plugins which takes long time. Moreover, users will see the "upgrade" notification via web interface. It will download nessus again and rebuild all plugins again. The workaround for this confusing upgrade is to run the following: /etc/init.d/nessusd-bin stop /opt/nessus/sbin/nessuscli update --all /etc/init.d/nessusd-bin start
fixed in-place in 8.11.1
Unfortunately 'update --all' is not the proper solution because it always operates on-line, and if there is a newer version of Nessus available on Tenable servers it will install that one regardless of what Portage has downloaded. I am testing an alternative solution now.
Oh, and those instructions are OpenRC-specific.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd259e91aa64316e138c4cd1c5bd38823bfc374 commit 4dd259e91aa64316e138c4cd1c5bd38823bfc374 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-08-28 12:17:36 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-08-28 12:17:36 +0000 net-analyzer/nessus-bin: handle version updates properly Nessus must be made aware of a new version of its core components having been installed. Do it the same way as upstream distro packages, i.e. use the undocumented nessuscli command 'install'. This is safe to do while nessusd-bin is running but it WILL be necessary to restart the service so that the dashboard is updated as well. In fact, Nessus UI will complain about the version discrepancy between the core and the dashboard until the service has been restarted. Closes: https://bugs.gentoo.org/739178 Signed-off-by: Marek Szuba <marecki@gentoo.org> ...nessus-bin-8.11.1.ebuild => nessus-bin-8.11.1-r1.ebuild} | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
Indeed, that works better, thanks a lot!