Bug 1865858

Summary: Some unwanted warning and error messages appear while doing the packages installation of a satellite and capsule.
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: ehelms, jpathan, ogajduse, patsev.anton, pmendezh, zhunting
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-02 15:20:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Devendra Singh 2020-08-04 11:52:35 UTC
Description of problem: Some unwanted warning & error messages appear while doing the packages installation of a satellite and capsule.


Version-Release number of selected component (if applicable):
6.8

How reproducible:
always

Steps to Reproduce:
1. Satellite and Capsule packages installation dumps some unwarning messages.

yum install satellite-capsule

warning: user apache does not exist - using root
warning: group apache does not exist - using root
warning: user apache does not exist - using root
warning: group apache does not exist - using root

pam_tally2: Couldn't create /var/log/tallylog: Permission denied
pam_tally2: Authentication error
useradd: failed to reset the tallylog entry of user "mongodb"


yum install satellite

Warning: RPMDB altered outside of yum.
 pam_tally2: Couldn't create /var/log/tallylog: Permission denied
 pam_tally2: Authentication error
 useradd: failed to reset the tallylog entry of user "saslauth"
 pam_tally2: Couldn't create /var/log/tallylog: Permission denied
 pam_tally2: Authentication error
 useradd: failed to reset the tallylog entry of user "qpidd"
 useradd: failed to reset the tallylog entry of user "mongodb" 
 useradd: failed to reset the tallylog entry of user "tss"
 useradd: failed to reset the tallylog entry of user "qdrouterd"
 warning: user apache does not exist - using root
 warning: group apache does not exist - using root
 warning: user apache does not exist - using root
 warning: group apache does not exist - using root
 useradd: failed to reset the tallylog entry of user "foreman-proxy"
 useradd: failed to reset the tallylog entry of user "tomcat"
 WARNING: ipmi_devintf module isn't available. 
 WARNING: ipmi_msghandler module isn't available.

Actual results:
warning & error messages appears while doing packages installation of satellite and capsule.

Expected results:
Warning and error messages should not come in satellite and capsule's package installation.

Additional info:

Comment 1 Jameer Pathan 2020-08-06 12:18:47 UTC
Also something about "/var/tmp/rpm-tmp.KQXoRI: line 2: fg: no job control"

/var/tmp/rpm-tmp.KQXoRI: line 2: fg: no job control
WARNING: ipmi_devintf module isn't available.
WARNING: ipmi_msghandler module isn't available.

Comment 2 Eric Helms 2020-08-26 19:07:45 UTC
These errors seem related to the tallylog module being enabled on the system. Can you try installation without it enabled?

Comment 5 Ondrej Gajdusek 2020-09-16 10:02:58 UTC
BZ1857726 addressed the issue with "/var/tmp/rpm-tmp.KQXoRI: line 2: fg: no job control".
During the verification of the BZ, there were still warnings shown.

Using RHEL-7.9-20200824.2 compose:
$ yum -y install satellite
... output omited ...
  Installing : candlepin-selinux-3.1.19-1.el7sat.noarch                                                                                                                                                                               
  Installing : katello-3.16.0-1.el7sat.noarch                                                                                                                                                                                         
  Installing : satellite-6.8.0-1.el7sat.noarch                                                                                                                                                                                        
WARNING: ipmi_devintf module isn't available.
WARNING: ipmi_msghandler module isn't available.
Loaded plugins: product-id, subscription-manager
  Verifying  : libXext-1.3.3-3.el7.x86_64                                                                                                                                                                                                
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch
... output omited ...

Comment 6 Patsev Anton 2021-09-08 13:53:47 UTC
Same issue 

I build rpm and a message appears during installation.

```
pam_tally2: Error opening /var/log/tallylog for update: Permission denied
pam_tally2: Authentication error
useradd: failed to reset the tallylog entry of user "victoriametrics"
```

Selinux enable.
```
Current mode: enforcing
```

Source code: https://github.com/patsevanton/victoriametrics-rpm/blob/master/vmsingle.spec

```
CentOS Linux release 7.9.2009 (Core)
```

How to reproduce the error
```
yum -y install yum-plugin-copr
yum -y copr enable antonpatsev/VictoriaMetrics
yum makecache
yum -y install vmsingle
```

Comment 7 Mike McCune 2022-07-08 17:15:31 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 8 Brad Buckingham 2022-09-02 20:11:57 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.