← Back to team overview

tieto team mailing list archive

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

 

uh, of course sssd is already M-A: foreign, aptitude in precise just
doesn't support multiarch that well so that's the reason why it's trying
to pull the i386 version of sssd..

so, can we mark this verification-done?

-- 
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