Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

jboss.eap.jboss-user only works as expected on RHEL 7 #424

Closed
kdelee opened this issue Oct 27, 2017 · 0 comments
Closed

jboss.eap.jboss-user only works as expected on RHEL 7 #424

kdelee opened this issue Oct 27, 2017 · 0 comments
Assignees
Projects
Milestone

Comments

@kdelee
Copy link

kdelee commented Oct 27, 2017

Specify type:

  • Bug

Bug severity (if applicable):

  • Low

Description:

It appears that whatever logic sorts machines into either having or not having the jboss user is not working as expected on non-RHEL 7 machines


Bug Report

Version of rho:

[ f0db6fd ]

Expected behavior:

I expect the output of this fact to one of the two following values:

jboss.eap.jboss-user
User 'jboss' present
No user "jboss" found

Actual behavior:

On machines with no jboss user, only on RHEL/CentOS 7 machines does it properly output "No user 'jboss' found". Otherwise, I get this third error output.

jboss.eap.jboss-user
Error: unexpected output from "id -u jboss": {'rc': 1 'stdout': 'id: jboss: No such user\r\n' 'stdout_lines': ['id: jboss: No such user'] 'stderr': 'Shared connection to 10.XX.XX.XX closed.\r\n' 'changed': True 'failed': True}
User 'jboss' present
No user "jboss" found

Steps to reproduce:

Scan a non-RHEL7 machine with no jboss user.

Environment information:

Type Operating System OS Version Python Version Virtualization
Scanning System Fedora 725 3.6 Bare Metal
Target System RHEL 5.9,6.9 2.X ESXi
Target System Fedora 26 2.X ESXi
@kdelee kdelee added the bug label Oct 27, 2017
@chambridge chambridge self-assigned this Nov 20, 2017
@chambridge chambridge added this to the Sprint 11 milestone Nov 20, 2017
@chambridge chambridge added this to In Progress in RHO 2.0 Nov 20, 2017
@chambridge chambridge moved this from In Progress to Done in RHO 2.0 Nov 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

2 participants