Bug 118718 - RPM install doesn't stop in case of user can' be added
Summary: RPM install doesn't stop in case of user can' be added
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: squid
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-19 14:41 UTC by Peter Bieringer
Modified: 2014-08-31 23:26 UTC (History)
1 user (show)

Fixed In Version: squid-2.5.STABLE5-2
Clone Of:
Environment:
Last Closed: 2004-04-05 21:25:56 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.