Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645740 - net-analyzer/nessus-bin - Initial user creation is blocked by .keep file
Summary: net-analyzer/nessus-bin - Initial user creation is blocked by .keep file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard: Pending removal: 2018-12-11
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2018-01-25 16:41 UTC by Mike Gualtieri
Modified: 2018-11-22 10:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gualtieri 2018-01-25 16:41:13 UTC
As noted in this thread on the forums (https://forums.gentoo.org/viewtopic-t-1075936-start-0-postdays-0-postorder-asc-highlight-.html), the nessus-bin ebuild is creating the file /opt/nessus/var/nessus/users/.keep_net-analyzer_nessus-bin-0 which blocks the ability to create a new user on first start.

To fix, this line in the src_install() section should be eliminated from the ebuild:

keepdir /opt/nessus/var/nessus/users



Reproducible: Always

Steps to Reproduce:
1. Install nessus-bin.
2. Attempt to create a user
3.
Actual Results:  
User is not able to be created as nessus believes a user called .keep_net-analyzer_nessus-bin-0 was already created.

Expected Results:  
No user should be found on first start.
Comment 1 Larry the Git Cow gentoo-dev 2018-11-22 10:25:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740faf22dd238fa89bcdfbb8978a12bd9f25b859

commit 740faf22dd238fa89bcdfbb8978a12bd9f25b859
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2018-11-22 10:13:28 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2018-11-22 10:23:04 +0000

    net-analyzer/nessus-bin: bump to 8.0.1 and EAPI 7
    
    Also, confirmed this version automatically creates the directory for its
    user data so it is possible to trivially avoid Bug #645740.
    
    Closes: https://bugs.gentoo.org/635476
    Closes: https://bugs.gentoo.org/645740
    
    Signed-off-by: Marek Szuba <marecki@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-analyzer/nessus-bin/Manifest                |  1 +
 net-analyzer/nessus-bin/nessus-bin-8.0.1.ebuild | 61 +++++++++++++++++++++++++
 2 files changed, 62 insertions(+)