** Description changed:

- Binary package hint: sssd
+ [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.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to