Bug 118718

Summary: RPM install doesn't stop in case of user can' be added
Product: [Retired] Red Hat Linux Reporter: Peter Bieringer <pb>
Component: squidAssignee: Jay Fenlason <fenlason>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: jfeeney
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: squid-2.5.STABLE5-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-05 21:25:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Bieringer 2004-03-19 14:41:09 UTC
Description of problem:
In case of user squid cannot be added during installing RPM, many
things going wrong.

Version-Release number of selected component (if applicable):
squid-2.5.STABLE1-2

How reproducible:
Always

Steps to Reproduce:
1. Let passwd,group,shadow,gshadow in lock state (*.lock)
2. Install squid

    

Actual Results:  Problems, squid claim about user squid doesn't exist
on start



Expected Results:  Catching the fault

Additional info:

Problem is around here:

# rpm -q --scripts squid
preinstall scriptlet (through /bin/sh):
/usr/sbin/useradd -u 23 -d /var/spool/squid -r -s /dev/null squid
>/dev/null 2>&1

-> missing error catching if user cannot be created

Comment 1 Jay Fenlason 2004-04-05 21:25:56 UTC
I included a patch for this in the latest rawhide squid rpm