Bug 713883 - authconfig fails to enable sssd on ppc64
Summary: authconfig fails to enable sssd on ppc64
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sssd
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 17:10 UTC by Kaushik Banerjee
Modified: 2015-01-04 23:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 11:50:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Kaushik Banerjee 2011-06-16 17:10:26 UTC
Description of problem:
authconfig fails to enable sssd on ppc64

Version-Release number of selected component (if applicable):
authconfig-5.3.21-7.el5
sssd-1.5.1-37.el5
Beaker Distro: RHEL5.7-Server-20110616.0.n

How reproducible:
Always

Steps to Reproduce:
1. # arch
ppc64

2. # rpm -qf /lib64/security/pam_sss.so 
sssd-client-1.5.1-37.el5

3. #authconfig --enablesssd --enablesssdauth --updateall
authconfig: Authentication module /lib/security/pam_sss.so is missing. Authentication process will not work correctly.
Stopping sssd: cat: /var/run/sssd.pid: No such file or directory
[FAILED]
Starting sssd: [  OK  ]
[  OK  ]

  
Actual results:
authconfig fails to enable sssd on ppc64


Expected results:
authconfig should enable sssd on ppc64

Additional info:

Comment 1 Stephen Gallagher 2011-06-17 17:41:45 UTC
This looks like an authconfig issue. It's trying to locate pam_sss.so in the wrong directory. lib->lib64

Comment 2 Tomas Mraz 2011-06-17 18:53:12 UTC
No, on RHEL-5 the primary architecture on PPC is the 32bit. For the sssd support you have to have 32 bit sssd-client package installed.

Comment 3 Jenny Severance 2011-06-20 12:22:01 UTC
reopening and assigning back to sssd component

Comment 4 Stephen Gallagher 2011-06-20 12:29:19 UTC
(In reply to comment #2)
> No, on RHEL-5 the primary architecture on PPC is the 32bit. For the sssd
> support you have to have 32 bit sssd-client package installed.

I don't understand this statement. On a PPC64 installation, the primary arch is .ppc instead of .ppc64? That doesn't make any sense.

And even if that was the case, SSSD has Requires: sssd-client. Wouldn't RPM default to using the primary arch if two are available?

Comment 5 Tomas Mraz 2011-06-20 13:42:39 UTC
It makes sense - the ppc64 userspace does not bring any performance improvements - quite the opposite - to the ppc userspace. And that was the main reason for making the ppc arch primary on PPC64 platform.

Note though that RHEL-6 is different in this regard - there the ppc64 is primary possibly to make it more similar to x86_64.

As for the RPM behavior, I do not know, it might well be a glitch/bug in RPM in RHEL-5.

Comment 6 Stephen Gallagher 2011-06-20 18:27:17 UTC
Kaushik, I can only reproduce this if I have:

sssd-1.5.1-37.el5.ppc
sssd-client-1.5.1-37.el5.ppc64


However, if you just 'yum install sssd', you get:

sssd-1.5.1-37.el5.ppc
sssd-client-1.5.1-37.el5.ppc


In this setup, everything works correctly. (It also works correctly if both arches of sssd-client are installed).

Could you please check whether your install script is doing something incorrect here? (Like 'yum install sssd sssd-client.ppc64')

Comment 7 RHEL Program Management 2011-06-21 05:34:35 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 8 Kaushik Banerjee 2011-06-21 11:30:50 UTC
(In reply to comment #6)

> Could you please check whether your install script is doing something incorrect
> here? (Like 'yum install sssd sssd-client.ppc64')

Even before my automation scripts install sssd, it seems beaker already installs sssd.ppc & sssd-client.ppc64 when you run the automation scripts.

This looks like a beaker issue during automation run, since reserving a beaker machine for ppc64 doesn't install sssd though.

On reserving a beaker machine, and doing "yum install sssd" works fine for me too.

I have now modified my automation scripts to explicitly install sssd-client.ppc(for rhel5.7 ppc64 only) and they seem to be running fine.

Comment 9 Stephen Gallagher 2011-06-21 11:50:58 UTC
Based on comment #8, closing this as NOTABUG.


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