Bug 222785

Summary: Update fails if nscd not installed.
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: screenAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: screen-4.0.3-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-16 12:55:48 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 Jan ONDREJ 2007-01-16 07:28:28 UTC
Description of problem:
If you don't have nscd installed, upgrade to screen-4.0.3-1.i386 fails.

Version-Release number of selected component (if applicable):
screen-4.0.3-1.i386

How reproducible:
Always

Steps to Reproduce:
1. rpm -e nscd screen
2. yum install screen

  
Actual results:
nscd: unrecognized service
error: %pre(screen-4.0.3-1.i386) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping screen-4.0.3-1

Expected results:
No error.

Additional info:
There is this line in latest screen's preinstall scriptlet:
  service nscd force-reload
Please change it to:
  service nscd force-reload || true
or
  [ -x /etc/init.d/nscd ] && service nscd force-reload || true
or something similiar.
I think, first is better. ;)

It is curious, that FC6 screen dost not have this bug, only it's FC5 version.

Comment 1 Marcela Mašláňová 2007-01-16 12:55:48 UTC
related to #222741

Hello Honzo,
thanks for info. I change whole spec file. You'll can try after update (few
days) and let me know if you want.

Have a nice day,
Marcela