Bug 870787

Summary: samba package scripts make yum somewhat unhappy
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abokovoy, asn, gdeschner, jlayton, sbose, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-29 08:22:49 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 Michal Jaegermann 2012-10-28 18:21:11 UTC
Description of problem:

While updating error messages like that show up:


  Cleanup    : 2:samba-winbind-clients-4.0.0-160.fc19.rc3.x86_64        247/397 
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(samba-winbind-clients-2:4.0.0-160.fc19.rc3.x86_64) scriptlet failed, exit status 1

  Cleanup    : 2:libsmbclient-4.0.0-160.fc19.rc3.x86_64                 288/397 
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(libsmbclient-2:4.0.0-160.fc19.rc3.x86_64) scriptlet failed, exit status 1

  Cleanup    : 2:samba-common-4.0.0-160.fc19.rc3.x86_64                 289/397 
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(samba-common-2:4.0.0-160.fc19.rc3.x86_64) scriptlet failed, exit status 1
O  Cleanup    : 2:samba-libs-4.0.0-160.fc19.rc3.x86_64                   304/397 
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(samba-libs-2:4.0.0-160.fc19.rc3.x86_64) scriptlet failed, exit status 1

  Cleanup    : 2:libwbclient-4.0.0-160.fc19.rc3                         347/397 
/sbin/ldconfig: relative path `3' used to build cache
warning: %postun(libwbclient-2:4.0.0-160.fc19.rc3.i686) scriptlet failed, exit status 1

  Cleanup    : 2:libwbclient-4.0.0-160.fc19.rc3                         376/397 
/sbin/ldconfig: relative path `2' used to build cache
warning: %postun(libwbclient-2:4.0.0-160.fc19.rc3.x86_64) scriptlet failed, exit status 1

Apparently scripts in a format:

postuninstall scriptlet (using /sbin/ldconfig):

### WINBIND-KRB5-LOCATOR

are hard to swallow for rpm libraries (although I am not sure why).  Maybe putting there a single : instead of an empty line would be a better idea?

Version-Release number of selected component (if applicable):
samba-4.0.0-161.fc19.rc3

Additional info:
Failure messages were collected while updating 4.0.0-160 to 4.0.0-161 but package scripts in question do not look different between these two versions.

Comment 1 Andreas Schneider 2012-10-29 08:22:49 UTC

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