Bug 1698005

Summary: tcpdump %preinstall script emits warnings about failure to create 'tcpdump' user
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: tcpdumpAssignee: Michal Ruprich <mruprich>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: luhliari, mlichvar, mruprich, msehnout, msekleta, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-23 12:09:59 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 Zbigniew Jędrzejewski-Szmek 2019-04-09 12:38:52 UTC
Description of problem:
During the upgrade of package tcpdump:
useradd[3979]: failed adding user 'tcpdump', exit code: 9
...

But user 'tcpdump' already exists, so this is just harmless warning because the 
user is attempted to be created unconditionally. Please put

"getent passwd tcpdump &>/dev/null || "

before the creation attempt.

Version-Release number of selected component (if applicable):
tcpdump-4.9.2-7.fc30.x86_64

Comment 1 Michal Ruprich 2019-09-23 12:09:59 UTC

*** This bug has been marked as a duplicate of bug 1715420 ***