Red Hat Bugzilla – Bug 861565
groupadd failed in PREIN scriptlet in 7:squid-126.96.36.199-1.fc17.x86_64
Last modified: 2012-10-23 22:35:36 EDT
Description of problem:
'yum install squid' failed:
Error in PREIN scriptlet in rpm package 7:squid-188.8.131.52-1.fc17.x86_64
error: %pre(squid-7:184.108.40.206-1.fc17.x86_64) scriptlet failed, exit status 1
If use rpm -Uvh to install squid, it says:
groupadd: failure while writing changes to /etc/group
Version-Release number of selected component (if applicable):
yum install squid
# groupadd -g 23 squid
If manually running groupadd is fine, it might be either some other problem in the %pre squid scriptlet or perhaps a SELinux issue.
Do you have any unusual SELinux settings on your system? I am not experiencing this problem with my f17.
I am not familiar with SELinux. How to find out if I have some unusual settings?
Squid PRE scriptlet seems a bit different since it hard codes the group id.
Tested with selinux-policy-3.10.0-156.fc17
*** This bug has been marked as a duplicate of bug 844167 ***