Bug 1368324

Summary: libsss_autofs.so is packaged in two packages sssd-common and libsss_autofs
Product: Red Hat Enterprise Linux 7 Reporter: Sudhir Menon <sumenon>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Steeve Goveas <sgoveas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: grajaiya, jhrozek, lslebodn, mkosek, mzidek, pbrezina
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.14.0-27.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:20:36 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:
Attachments:
Description Flags
yum update log none

Description Sudhir Menon 2016-08-19 05:51:22 UTC
Description of problem: error seen while upgrading sssd packages.


Version-Release number of selected component (if applicable):


How reproducible: Always when upgrade of sssd package is done.


Steps to Reproduce:
1. yum upgrade sssd on RHEL7.3
2. check the below output

[root@ipaserver ~]# rpm -ql sssd-common | grep autofs
/usr/lib64/sssd/modules/libsss_autofs.so
/usr/libexec/sssd/sssd_autofs
[root@ipaserver ~]# rpm -ql libsss_autofs
/usr/lib64/sssd/modules
/usr/lib64/sssd/modules/libsss_autofs.so


Actual results:
/var/tmp/rpm-tmp.hfLR82: line 8: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.hfLR82: line 8: `fi'
warning: %postun(sssd-common-1.14.0-18.el7.x86_64) scriptlet failed,
exit status 2
Non-fatal POSTUN scriptlet failure in rpm package 

Expected results:
Fix the error while update and also remove duplicate libsss_autofs.so 

Additional info: Logging the bug as per email conversation with Lukas.
Another bz1368022 address the error while yum upgrade.

Comment 1 Sudhir Menon 2016-08-19 05:53:13 UTC
Created attachment 1192031 [details]
yum update log

Comment 4 Sudhir Menon 2016-08-19 14:54:09 UTC
libsss_autofs.so is no more part of sssd-common package.

Verified on RHEL7.3 using  
sssd-common-1.14.0-27.el7.x86_64
libsss_autofs-1.14.0-27.el7.x86_64


[root@ipaserver ~]# rpm -ql sssd-common | grep autofs
/usr/libexec/sssd/sssd_autofs

[root@ipaserver ~]# rpm -ql libsss_autofs
/usr/lib64/sssd/modules
/usr/lib64/sssd/modules/libsss_autofs.so
/usr/share/doc/libsss_autofs-1.14.0
/usr/share/doc/libsss_autofs-1.14.0/COPYING
/usr/share/doc/libsss_autofs-1.14.0/COPYING.LESSER

Note: bz1368022 will address the issue seen while upgrade.

Comment 6 errata-xmlrpc 2016-11-04 07:20:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2476.html