← Back to team overview

tieto team mailing list archive

[Bug 692727] Re: perl dependency prevents installing the 32bit libs on amd64

 

Hello, Christophe,

I think this change is a already good step forward. I am using "apt-get
install --no-recommends libnss-sss:i386" and it works fine. Actually I
deploy it to all the machines in my organization like this.

You can't resolve the conflict between sssd and sssd:i386 as this would
cause you to have 2 sssd daemons running on a system (32 and 64 bit) and
you don't want that.

Changing Recommends: sssd to Suggests: sssd is not a good idea,
considering that libnss-sss will not work at all without an sssd daemon
running on the system.

I guess the only way forward is to make native sssd satisfy all foreign
archs sssd requirement, but I don't know if that can be done.

Cheers,
Ballock

-- 
You received this bug notification because you are a member of Tieto,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/692727

Title:
  perl dependency prevents installing the 32bit libs on amd64

Status in “sssd” package in Ubuntu:
  Fix Released
Status in “sssd” source package in Precise:
  Fix Committed
Status in “sssd” package in Debian:
  New

Bug description:
  [Impact]
  the 32bit libnss-sss can't be installed on amd64, since the package depends on perl which isn't multiarched. Reimplementing the snippet that used perl allows the package to drop the dependency.

  [Test case]
  try to install libnss-sss:i386 on amd64

  [Regression potential]
  the perl snippet was replaced with (from postinst):

      # append 'sss' to the end of the line if it's not found already
      sed -i --regexp-extended '
        /^(passwd|group|netgroup):/ {
          /\bsss\b/! s/$/ sss/
        }
      ' /etc/nsswitch.conf

  this has independently been verified to work. Note that the perl
  version added the entry for shadow as well, but SSSD doesn't handle
  shadow maps.

  --

  I discovered this on Maverick amd64. When attempting to run a 32 bit
  application, we get the following error, and the application fails to
  run.

  $ acroread

  (acroread:20387): GLib-WARNING **: getpwuid_r(): failed due to unknown
  user id (1115)

  According to https://fedorahosted.org/sssd/ticket/190 , this is due to
  the 32 bit application being unable to load the 64 bit library.

  After installing the 32bit libnss-sss package files to /lib32,
  acroread works as expected.

  Please include the 32bit libnss-sss.so in the 64bit package, or do
  what libnss-ldap does to handle this.

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/692727/+subscriptions