[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-29 Thread Bug Watch Updater
** Changed in: libnss-ldap (Debian)
   Status: Unknown = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-29 Thread Bug Watch Updater
** Changed in: libnss-ldap (Debian)
   Status: Unknown = Fix Released

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package libnss-ldap - 264-2.2ubuntu4.14.10.1

---
libnss-ldap (264-2.2ubuntu4.14.10.1) utopic; urgency=medium

  * Handle removal of __libc_lock_lock and similar symbols from libc
(LP: #1387594). This fixes a segfault on ppc64el, and also all other
architectures in case of a future rebuild.
 -- Louis Bouchard louis.bouch...@ubuntu.com   Wed, 12 Nov 2014 16:29:42 +0100

** Changed in: libnss-ldap (Ubuntu Utopic)
   Status: Fix Committed = Fix Released

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package libnss-ldap - 264-2.2ubuntu4.14.04.1

---
libnss-ldap (264-2.2ubuntu4.14.04.1) trusty; urgency=medium

  * Handle removal of __libc_lock_lock and similar symbols from libc
(LP: #1387594). This fixes a segfault on ppc64el, and also all other
architectures in case of a future rebuild.
 -- Louis Bouchard louis.bouch...@ubuntu.com   Wed, 12 Nov 2014 16:59:29 +0100

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package libnss-ldap - 264-2.2ubuntu4.14.10.1

---
libnss-ldap (264-2.2ubuntu4.14.10.1) utopic; urgency=medium

  * Handle removal of __libc_lock_lock and similar symbols from libc
(LP: #1387594). This fixes a segfault on ppc64el, and also all other
architectures in case of a future rebuild.
 -- Louis Bouchard louis.bouch...@ubuntu.com   Wed, 12 Nov 2014 16:29:42 +0100

** Changed in: libnss-ldap (Ubuntu Utopic)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package libnss-ldap - 264-2.2ubuntu4.14.04.1

---
libnss-ldap (264-2.2ubuntu4.14.04.1) trusty; urgency=medium

  * Handle removal of __libc_lock_lock and similar symbols from libc
(LP: #1387594). This fixes a segfault on ppc64el, and also all other
architectures in case of a future rebuild.
 -- Louis Bouchard louis.bouch...@ubuntu.com   Wed, 12 Nov 2014 16:59:29 +0100

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-28 Thread Mathew Hodson
** Also affects: libnss-ldap (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177
   Importance: Unknown
   Status: Unknown

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-28 Thread Mathew Hodson
** Also affects: libnss-ldap (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-20 Thread Matt Ezell
Hi Adam- Is this SRU appropriate to target for the 14.04.2 milestone?

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-20 Thread Matt Ezell
Hi Adam- Is this SRU appropriate to target for the 14.04.2 milestone?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-19 Thread Brad Blondin
Thanks, the patch libnss-ldap=264-2.2ubuntu4.14.04.1 works for me

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-19 Thread Brad Blondin
Thanks, the patch libnss-ldap=264-2.2ubuntu4.14.04.1 works for me

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-17 Thread Matt Ezell
I ran tests on an IBM 8247-22L using both Utopic and Trusty for ppc64el.
Details of the test follow, but the new packages in
[utopic,trusty]-proposed fix the segfault issue.

 For Utopic 
root@crest2:~# lsb_release -rc
Release:14.10
Codename:   utopic
# Current working version using a vivid package
root@crest2:~# dpkg -l libnss-ldap|grep ii
ii  libnss-ldap:ppc64el 265-3ubuntu2 ppc64el  NSS module for using LDAP as 
a naming service
root@crest2:~# getent passwd|wc -l ; getent group|wc -l
52
16849
# Test current release
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4
...
root@crest2:~# getent passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
... other local users ...
Segmentation fault
root@crest2:~# getent group
root:x:0:
daemon:x:1:
... other local groups ...
Segmentation fault
# Try new version
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4.14.10.1
...
root@crest2:~# getent passwd|wc -l ; getent group|wc -l
52
16849
# Success!


 For Trusty 
root@crest2:~# lsb_release -rcd
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty
# Test current release
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4
...
root@crest2:~# getent passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
... other local users ...
Segmentation fault
root@crest2:~# getent group
root:x:0:
daemon:x:1:
... other local groups ...
Segmentation fault
# Try new version
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4.14.04.1
...
root@crest2:~# getent passwd|wc -l ; getent group|wc -l
52
16849
# Success!

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-17 Thread Matt Ezell
I ran tests on an IBM 8247-22L using both Utopic and Trusty for ppc64el.
Details of the test follow, but the new packages in
[utopic,trusty]-proposed fix the segfault issue.

 For Utopic 
root@crest2:~# lsb_release -rc
Release:14.10
Codename:   utopic
# Current working version using a vivid package
root@crest2:~# dpkg -l libnss-ldap|grep ii
ii  libnss-ldap:ppc64el 265-3ubuntu2 ppc64el  NSS module for using LDAP as 
a naming service
root@crest2:~# getent passwd|wc -l ; getent group|wc -l
52
16849
# Test current release
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4
...
root@crest2:~# getent passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
... other local users ...
Segmentation fault
root@crest2:~# getent group
root:x:0:
daemon:x:1:
... other local groups ...
Segmentation fault
# Try new version
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4.14.10.1
...
root@crest2:~# getent passwd|wc -l ; getent group|wc -l
52
16849
# Success!


 For Trusty 
root@crest2:~# lsb_release -rcd
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty
# Test current release
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4
...
root@crest2:~# getent passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
... other local users ...
Segmentation fault
root@crest2:~# getent group
root:x:0:
daemon:x:1:
... other local groups ...
Segmentation fault
# Try new version
root@crest2:~# apt-get install libnss-ldap=264-2.2ubuntu4.14.04.1
...
root@crest2:~# getent passwd|wc -l ; getent group|wc -l
52
16849
# Success!

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Matt Ezell
Anything I can do to help this SRU along?  This is affecting our Trusty
and Utopic boxes.  Right now, I've manually pulled in a Vivid package so
I actually have working systems.  It would be nice to get this into the
*-updates repos.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Louis Bouchard
looks like I forgot to attach the trusty debdiff

** Patch added: lp1387594_glibc_trusty.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+attachment/4299974/+files/lp1387594_glibc_trusty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Robie Basak
** Description changed:

  [SRU justification]
  The version of the library in the archive for Utopic and Trusty has been 
built prior to a change in glibc that removes an expected symbol. Rebuild of 
the libnss-ldap library with the current source package will render the library 
unusable and may cause systems to become unbootable.
  
  [Impact]
  Without this fix, a rebuild of the libnss-ldap package will cause grave 
impact where usage of the libnss-ldap will segfault. Such a segfault during the 
boot process will cause the system to become unbootable.
  
  [Fix]
  Backport the glibc-2.16.patch that is now merged in Vivid into Utopic and 
Trusty. The version of the library in Precise already uses the correct glibc 
symbol.
  
  [Test Case]
  On a server properly configured for ldap authentication :
  
  root@trusty-ldapclient:~# getent passwd john
  john:x:1:5000:John Doe:/home/john:/bin/bash
  
  The same test on arm64 or ppc64el platform where the libnss-ldap have
  been rebuilt recently you will get :
  
  root@trusty-ldapclient:~# getent passwd john
  Segmentation fault (core dumped)
  
  $ sudo apt-get download libnss-ldap
  $ mkdir tmp
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.15.so |grep lock$
   w __pthread_mutex_lock
   w __pthread_mutex_unlock
  #Rebuild the library
  $ pull-lp-source libnss-ldap trusty
  $ sbuild -A -d trusty libnss-ldap_264-2.2ubuntu4.dsc
  $ rm -Rf tmp/*
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.19.so | grep lock$
   U __libc_lock_lock
   U __libc_lock_unlock
  
  Notice that the libnss-ldap version change (2.15 - 2.19). With the
  newly built version, the expected _pthread_mutex_lock|unlock is no
  longer present.
  
  [Regression]
  None expected. This is already present and in use in the upstream version of 
the library.
  
+ 15:27 rbasak caribou: so what I don't like about this is that the
+ patch seems a bit invasive in an area where if there's a regression,
+ it'll be in multithreading code that'll be non-deterministic and thus
+ difficult to test.
+ 
+ 15:27 rbasak caribou: OTOH, it's broken on ppc64el at the moment? That
+ means we need to fix it.
+ 
+ 15:28 rbasak Having an active upstream that had committed the code
+ would give me more confidence that the patch is good (since they're more
+ familiar with the code and will have reviewed it)
+ 
+ 15:29 rbasak But Debian have committed it, so that's better than
+ nothing.
+ 
+ 15:31 rbasak caribou: I think we have no choice but to push it to
+ Trusty (and Utopic), but we should let the SRU team decide at that
+ stage. IMHO, my concern should be noted in Regression Potential, so
+ I'll do that now.
+ 
  [Original Description of the problem]
  
  Unlike previously thought, this bug is _NOT_ specific to the PPC64EL
  architecture. More details in the analysis.
  
  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.
  
  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Robie Basak
Uploaded to Trusty and Utopic with minor changes as discussed with Louis
on IRC.

Note that I've looked at the patches, but they're too in depth for me to
follow really. Superficially they look fine, and Debian have also
included them so they're in Vivid, and so I think this is sufficient
provided we do the usual SRU testing. Note my thoughts about regression
potential in the bug description, though.

Thanks Louis!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Adam Conrad
Hello Louis, or anyone else affected,

Accepted libnss-ldap into trusty-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/libnss-
ldap/264-2.2ubuntu4.14.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

** Changed in: libnss-ldap (Ubuntu Utopic)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/libnss-ldap

** Branch linked: lp:~ubuntu-branches/ubuntu/utopic/libnss-ldap/utopic-
proposed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Matt Ezell
Anything I can do to help this SRU along?  This is affecting our Trusty
and Utopic boxes.  Right now, I've manually pulled in a Vivid package so
I actually have working systems.  It would be nice to get this into the
*-updates repos.

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Louis Bouchard
looks like I forgot to attach the trusty debdiff

** Patch added: lp1387594_glibc_trusty.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+attachment/4299974/+files/lp1387594_glibc_trusty.debdiff

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Robie Basak
** Description changed:

  [SRU justification]
  The version of the library in the archive for Utopic and Trusty has been 
built prior to a change in glibc that removes an expected symbol. Rebuild of 
the libnss-ldap library with the current source package will render the library 
unusable and may cause systems to become unbootable.
  
  [Impact]
  Without this fix, a rebuild of the libnss-ldap package will cause grave 
impact where usage of the libnss-ldap will segfault. Such a segfault during the 
boot process will cause the system to become unbootable.
  
  [Fix]
  Backport the glibc-2.16.patch that is now merged in Vivid into Utopic and 
Trusty. The version of the library in Precise already uses the correct glibc 
symbol.
  
  [Test Case]
  On a server properly configured for ldap authentication :
  
  root@trusty-ldapclient:~# getent passwd john
  john:x:1:5000:John Doe:/home/john:/bin/bash
  
  The same test on arm64 or ppc64el platform where the libnss-ldap have
  been rebuilt recently you will get :
  
  root@trusty-ldapclient:~# getent passwd john
  Segmentation fault (core dumped)
  
  $ sudo apt-get download libnss-ldap
  $ mkdir tmp
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.15.so |grep lock$
   w __pthread_mutex_lock
   w __pthread_mutex_unlock
  #Rebuild the library
  $ pull-lp-source libnss-ldap trusty
  $ sbuild -A -d trusty libnss-ldap_264-2.2ubuntu4.dsc
  $ rm -Rf tmp/*
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.19.so | grep lock$
   U __libc_lock_lock
   U __libc_lock_unlock
  
  Notice that the libnss-ldap version change (2.15 - 2.19). With the
  newly built version, the expected _pthread_mutex_lock|unlock is no
  longer present.
  
  [Regression]
  None expected. This is already present and in use in the upstream version of 
the library.
  
+ 15:27 rbasak caribou: so what I don't like about this is that the
+ patch seems a bit invasive in an area where if there's a regression,
+ it'll be in multithreading code that'll be non-deterministic and thus
+ difficult to test.
+ 
+ 15:27 rbasak caribou: OTOH, it's broken on ppc64el at the moment? That
+ means we need to fix it.
+ 
+ 15:28 rbasak Having an active upstream that had committed the code
+ would give me more confidence that the patch is good (since they're more
+ familiar with the code and will have reviewed it)
+ 
+ 15:29 rbasak But Debian have committed it, so that's better than
+ nothing.
+ 
+ 15:31 rbasak caribou: I think we have no choice but to push it to
+ Trusty (and Utopic), but we should let the SRU team decide at that
+ stage. IMHO, my concern should be noted in Regression Potential, so
+ I'll do that now.
+ 
  [Original Description of the problem]
  
  Unlike previously thought, this bug is _NOT_ specific to the PPC64EL
  architecture. More details in the analysis.
  
  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.
  
  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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

[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Robie Basak
Uploaded to Trusty and Utopic with minor changes as discussed with Louis
on IRC.

Note that I've looked at the patches, but they're too in depth for me to
follow really. Superficially they look fine, and Debian have also
included them so they're in Vivid, and so I think this is sufficient
provided we do the usual SRU testing. Note my thoughts about regression
potential in the bug description, though.

Thanks Louis!

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Adam Conrad
Hello Louis, or anyone else affected,

Accepted libnss-ldap into trusty-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/libnss-
ldap/264-2.2ubuntu4.14.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

** Changed in: libnss-ldap (Ubuntu Utopic)
   Status: In Progress = Fix Committed

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2015-01-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/libnss-ldap

** Branch linked: lp:~ubuntu-branches/ubuntu/utopic/libnss-ldap/utopic-
proposed

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
The version in Precise is unaffected. Marking the task invalid

** Changed in: libnss-ldap (Ubuntu Precise)
   Status: New = Invalid

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: Confirmed = In Progress

** Changed in: libnss-ldap (Ubuntu Utopic)
   Status: Confirmed = In Progress

** Changed in: libnss-ldap (Ubuntu)
 Assignee: Louis Bouchard (louis-bouchard) = (unassigned)

** Tags added: cts

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
debdiff for the SRU on Trusty

** Description changed:

- This bug is specific to the PPC64EL architecture. More details in the
- analysis.
+ [SRU justification]
+ The version of the library in the archive for Utopic and Trusty has been 
built prior to a change in glibc that removes an expected symbol. Rebuild of 
the libnss-ldap library with the current source package will render the library 
unusable and may cause systems to become unbootable.
+ 
+ [Impact]
+ Without this fix, a rebuild of the libnss-ldap package will cause grave 
impact where usage of the libnss-ldap will segfault. Such a segfault during the 
boot process will cause the system to become unbootable.
+ 
+ [Fix]
+ Backport the glibc-2.16.patch that is now merged in Vivid into Utopic and 
Trusty. The version of the library in Precise already uses the correct glibc 
symbol.
+ 
+ [Test Case]
+ $ sudo apt-get download libnss-ldap
+ $ mkdir tmp
+ $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
+ $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.15.so |grep lock$
+  w __pthread_mutex_lock
+  w __pthread_mutex_unlock
+ #Rebuild the library
+ $ pull-lp-source libnss-ldap trusty
+ $ sbuild -A -d trusty libnss-ldap_264-2.2ubuntu4.dsc
+ $ rm -Rf tmp/*
+ $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
+ $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.19.so | grep lock$
+  U __libc_lock_lock
+  U __libc_lock_unlock
+ 
+ Notice that the libnss-ldap version change (2.15 - 2.19). With the
+ newly built version, the expected _pthread_mutex_lock|unlock is no
+ longer present.
+ 
+ [Regression]
+ None expected. This is already present and in use in the upstream version of 
the library.
+ 
+ [Original Description of the problem]
+ 
+ Unlike previously thought, this bug is _NOT_ specific to the PPC64EL
+ architecture. More details in the analysis.
  
  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.
  
  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
debdiff for SRU on Utopic

** Patch added: lp1387594_glibc_utopic.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+attachment/4276986/+files/lp1387594_glibc_utopic.debdiff

** Changed in: libnss-ldap (Ubuntu Precise)
 Assignee: Louis Bouchard (louis-bouchard) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
** Description changed:

  [SRU justification]
  The version of the library in the archive for Utopic and Trusty has been 
built prior to a change in glibc that removes an expected symbol. Rebuild of 
the libnss-ldap library with the current source package will render the library 
unusable and may cause systems to become unbootable.
  
  [Impact]
  Without this fix, a rebuild of the libnss-ldap package will cause grave 
impact where usage of the libnss-ldap will segfault. Such a segfault during the 
boot process will cause the system to become unbootable.
  
  [Fix]
  Backport the glibc-2.16.patch that is now merged in Vivid into Utopic and 
Trusty. The version of the library in Precise already uses the correct glibc 
symbol.
  
  [Test Case]
+ On a server properly configured for ldap authentication :
+ 
+ root@trusty-ldapclient:~# getent passwd john
+ john:x:1:5000:John Doe:/home/john:/bin/bash
+ 
+ The same test on arm64 or ppc64el platform where the libnss-ldap have
+ been rebuilt recently you will get :
+ 
+ root@trusty-ldapclient:~# getent passwd john
+ Segmentation fault (core dumped)
+ 
  $ sudo apt-get download libnss-ldap
  $ mkdir tmp
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.15.so |grep lock$
-  w __pthread_mutex_lock
-  w __pthread_mutex_unlock
+  w __pthread_mutex_lock
+  w __pthread_mutex_unlock
  #Rebuild the library
  $ pull-lp-source libnss-ldap trusty
  $ sbuild -A -d trusty libnss-ldap_264-2.2ubuntu4.dsc
  $ rm -Rf tmp/*
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.19.so | grep lock$
-  U __libc_lock_lock
-  U __libc_lock_unlock
+  U __libc_lock_lock
+  U __libc_lock_unlock
  
  Notice that the libnss-ldap version change (2.15 - 2.19). With the
  newly built version, the expected _pthread_mutex_lock|unlock is no
  longer present.
  
  [Regression]
  None expected. This is already present and in use in the upstream version of 
the library.
  
  [Original Description of the problem]
  
  Unlike previously thought, this bug is _NOT_ specific to the PPC64EL
  architecture. More details in the analysis.
  
  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.
  
  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
The version in Precise is unaffected. Marking the task invalid

** Changed in: libnss-ldap (Ubuntu Precise)
   Status: New = Invalid

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: Confirmed = In Progress

** Changed in: libnss-ldap (Ubuntu Utopic)
   Status: Confirmed = In Progress

** Changed in: libnss-ldap (Ubuntu)
 Assignee: Louis Bouchard (louis-bouchard) = (unassigned)

** Tags added: cts

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
debdiff for the SRU on Trusty

** Description changed:

- This bug is specific to the PPC64EL architecture. More details in the
- analysis.
+ [SRU justification]
+ The version of the library in the archive for Utopic and Trusty has been 
built prior to a change in glibc that removes an expected symbol. Rebuild of 
the libnss-ldap library with the current source package will render the library 
unusable and may cause systems to become unbootable.
+ 
+ [Impact]
+ Without this fix, a rebuild of the libnss-ldap package will cause grave 
impact where usage of the libnss-ldap will segfault. Such a segfault during the 
boot process will cause the system to become unbootable.
+ 
+ [Fix]
+ Backport the glibc-2.16.patch that is now merged in Vivid into Utopic and 
Trusty. The version of the library in Precise already uses the correct glibc 
symbol.
+ 
+ [Test Case]
+ $ sudo apt-get download libnss-ldap
+ $ mkdir tmp
+ $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
+ $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.15.so |grep lock$
+  w __pthread_mutex_lock
+  w __pthread_mutex_unlock
+ #Rebuild the library
+ $ pull-lp-source libnss-ldap trusty
+ $ sbuild -A -d trusty libnss-ldap_264-2.2ubuntu4.dsc
+ $ rm -Rf tmp/*
+ $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
+ $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.19.so | grep lock$
+  U __libc_lock_lock
+  U __libc_lock_unlock
+ 
+ Notice that the libnss-ldap version change (2.15 - 2.19). With the
+ newly built version, the expected _pthread_mutex_lock|unlock is no
+ longer present.
+ 
+ [Regression]
+ None expected. This is already present and in use in the upstream version of 
the library.
+ 
+ [Original Description of the problem]
+ 
+ Unlike previously thought, this bug is _NOT_ specific to the PPC64EL
+ architecture. More details in the analysis.
  
  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.
  
  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
debdiff for SRU on Utopic

** Patch added: lp1387594_glibc_utopic.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+attachment/4276986/+files/lp1387594_glibc_utopic.debdiff

** Changed in: libnss-ldap (Ubuntu Precise)
 Assignee: Louis Bouchard (louis-bouchard) = (unassigned)

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-12-09 Thread Louis Bouchard
** Description changed:

  [SRU justification]
  The version of the library in the archive for Utopic and Trusty has been 
built prior to a change in glibc that removes an expected symbol. Rebuild of 
the libnss-ldap library with the current source package will render the library 
unusable and may cause systems to become unbootable.
  
  [Impact]
  Without this fix, a rebuild of the libnss-ldap package will cause grave 
impact where usage of the libnss-ldap will segfault. Such a segfault during the 
boot process will cause the system to become unbootable.
  
  [Fix]
  Backport the glibc-2.16.patch that is now merged in Vivid into Utopic and 
Trusty. The version of the library in Precise already uses the correct glibc 
symbol.
  
  [Test Case]
+ On a server properly configured for ldap authentication :
+ 
+ root@trusty-ldapclient:~# getent passwd john
+ john:x:1:5000:John Doe:/home/john:/bin/bash
+ 
+ The same test on arm64 or ppc64el platform where the libnss-ldap have
+ been rebuilt recently you will get :
+ 
+ root@trusty-ldapclient:~# getent passwd john
+ Segmentation fault (core dumped)
+ 
  $ sudo apt-get download libnss-ldap
  $ mkdir tmp
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.15.so |grep lock$
-  w __pthread_mutex_lock
-  w __pthread_mutex_unlock
+  w __pthread_mutex_lock
+  w __pthread_mutex_unlock
  #Rebuild the library
  $ pull-lp-source libnss-ldap trusty
  $ sbuild -A -d trusty libnss-ldap_264-2.2ubuntu4.dsc
  $ rm -Rf tmp/*
  $ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb tmp
  $ nm -D tmp/lib/x86_64-linux-gnu/libnss_ldap-2.19.so | grep lock$
-  U __libc_lock_lock
-  U __libc_lock_unlock
+  U __libc_lock_lock
+  U __libc_lock_unlock
  
  Notice that the libnss-ldap version change (2.15 - 2.19). With the
  newly built version, the expected _pthread_mutex_lock|unlock is no
  longer present.
  
  [Regression]
  None expected. This is already present and in use in the upstream version of 
the library.
  
  [Original Description of the problem]
  
  Unlike previously thought, this bug is _NOT_ specific to the PPC64EL
  architecture. More details in the analysis.
  
  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.
  
  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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

[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/libnss-ldap

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-21 Thread Launchpad Bug Tracker
This bug was fixed in the package libnss-ldap - 265-3ubuntu2

---
libnss-ldap (265-3ubuntu2) vivid; urgency=low

  * Changelog entry enhanced from previous version with more details.
  * debian/changelog : removed po-debconf from Build-depends
  * Merge from Debian unstable.  Remaining changes:
(LP: #1389152)
+ debian/control: update Maintainer field
  - Removed cdbs, quilt, patchutils as the build now uses dh-autoreconf
  - Kept po-debconf out of Build-depends
  - Move nscd to Suggests
+ removed the following files:
  - debian/config
  - debian/libnss-ldap.postinst
  - debian/libnss-ldap.postrm
  - debian/po
  - debian/templates
+ modified the following files:
  - debian/libnss-ldap.dirs - Adapted to new build structure
  - debian/libnss-ldap.install - Adapted to new build structure
+ debian/LDAP-Permissions.txt: use /etc/ldap.conf
+ debian/README.Debian: use /etc/ldap.conf
+ debian/rules: don't use --with-ldap-conf-file and --with-ldap-secret-file
+ debian/libnss-ldap.install: removed usr/share/libnss-ldap/ldap.conf
+ debian/libnss-ldap.dirs: removed usr/share/libnss-ldap
+ debian/patches :
  - authpriv_log_c  authpriv_log_h merged into log_authpriv.patch
  - autoreconf.patch dropped as dh-autoreconf is used now
  - debian_conf is now conf_notes.patch
  - fix-ethers-truncation.patch is dropped since fixed upstream
  - fix-glibc-test-for-armel-gnueabi.patch replaced by
treat-all-debian-systems-like-linux.patch
  - glibc-2.16.patch Handle removal of __libc_lock_lock and similar
  symbols from libc (LP: #1387594)
  * Remaining changes from debian unstable for LP: #155947
+ added debian/nssldap-update-ignoreusers which update
  nss_initgroups_ignoreusers in /etc/ldap.conf based on
  nss_initgroups_minimum_uid
+ add manpage for nssldap-update-ignoreusers
+ debian/libnss-ldap.install: added usr/sbin/nssldap-update-ignoreusers
  and usr/share/man/man8/nssldap-update-ignoreusers.8
+ added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
  shutdown
+ debian/rules: install initscript
+ debian/libnss-ldap.dirs: added var/lib/libnss-ldap
+ debian/patches/minimum_uid.patch: update ldap.conf and manpage for
  nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
 -- Louis Bouchard louis.bouch...@ubuntu.com   Mon, 03 Nov 2014 17:03:35 +0100

** Changed in: libnss-ldap (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/libnss-ldap

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/libnss-ldap

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-21 Thread Launchpad Bug Tracker
This bug was fixed in the package libnss-ldap - 265-3ubuntu2

---
libnss-ldap (265-3ubuntu2) vivid; urgency=low

  * Changelog entry enhanced from previous version with more details.
  * debian/changelog : removed po-debconf from Build-depends
  * Merge from Debian unstable.  Remaining changes:
(LP: #1389152)
+ debian/control: update Maintainer field
  - Removed cdbs, quilt, patchutils as the build now uses dh-autoreconf
  - Kept po-debconf out of Build-depends
  - Move nscd to Suggests
+ removed the following files:
  - debian/config
  - debian/libnss-ldap.postinst
  - debian/libnss-ldap.postrm
  - debian/po
  - debian/templates
+ modified the following files:
  - debian/libnss-ldap.dirs - Adapted to new build structure
  - debian/libnss-ldap.install - Adapted to new build structure
+ debian/LDAP-Permissions.txt: use /etc/ldap.conf
+ debian/README.Debian: use /etc/ldap.conf
+ debian/rules: don't use --with-ldap-conf-file and --with-ldap-secret-file
+ debian/libnss-ldap.install: removed usr/share/libnss-ldap/ldap.conf
+ debian/libnss-ldap.dirs: removed usr/share/libnss-ldap
+ debian/patches :
  - authpriv_log_c  authpriv_log_h merged into log_authpriv.patch
  - autoreconf.patch dropped as dh-autoreconf is used now
  - debian_conf is now conf_notes.patch
  - fix-ethers-truncation.patch is dropped since fixed upstream
  - fix-glibc-test-for-armel-gnueabi.patch replaced by
treat-all-debian-systems-like-linux.patch
  - glibc-2.16.patch Handle removal of __libc_lock_lock and similar
  symbols from libc (LP: #1387594)
  * Remaining changes from debian unstable for LP: #155947
+ added debian/nssldap-update-ignoreusers which update
  nss_initgroups_ignoreusers in /etc/ldap.conf based on
  nss_initgroups_minimum_uid
+ add manpage for nssldap-update-ignoreusers
+ debian/libnss-ldap.install: added usr/sbin/nssldap-update-ignoreusers
  and usr/share/man/man8/nssldap-update-ignoreusers.8
+ added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
  shutdown
+ debian/rules: install initscript
+ debian/libnss-ldap.dirs: added var/lib/libnss-ldap
+ debian/patches/minimum_uid.patch: update ldap.conf and manpage for
  nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
 -- Louis Bouchard louis.bouch...@ubuntu.com   Mon, 03 Nov 2014 17:03:35 +0100

** Changed in: libnss-ldap (Ubuntu)
   Status: In Progress = Fix Released

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/libnss-ldap

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-05 Thread Louis Bouchard
** Changed in: libnss-ldap (Ubuntu)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-11-05 Thread Louis Bouchard
** Changed in: libnss-ldap (Ubuntu)
   Status: Confirmed = In Progress

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
Analysis


Upon boot of a ppc64el system configured to authenticate as an LDAP
client, the boot process is interrupted with :

 /sbin/init: symbol lookup error: /lib/powerpc64le-linux-
gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

Apparently __libc_lock_lock is missing from the libnss_ldap.so library.

Looking at the symbols exported by the library on PPC64el we see :

 - For libnss_ldap : 
$ nm -D /lib/powerpc64le-linux-gnu/libnss_ldap.so.2 | grep _lock
 U __libc_lock_lock
 U __libc_lock_unlock

• For libc :
$ nm -D /lib/powerpc64le-linux-gnu/libc-2.19.so | grep _lock
0008f4a0 T _IO_list_lock
00088a70 T _IO_peekc_locked
001313b0 T pthread_mutex_lock

The same command on AMD64 returns :
 - For libnss_ldap:
# nm -D /lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep lock
 w __pthread_mutex_lock
 w __pthread_mutex_unlock
• For libc : 
# nm -D /lib/x86_64-linux-gnu/libc-2.19.so | grep _lock
...
00108270 T pthread_mutex_lock

So the symbol is _not_ exported by the libc on ppc64el even though
libnss_ldap is expecting to find it.

This lock is only used once in libnss_ldap :

static int
ltf_mutex_lock (void *mutexp)
{
#if defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
  return __libc_lock_lock (*(pthread_mutex_t *) mutexp);
#elif defined(HPUX)
  return __thread_mutex_lock ((pthread_mutex_t *) mutexp);
#else
# ifdef _AIX
  if (__multi_threaded == 0)
return 0;
# endif
  return pthread_mutex_lock ((pthread_mutex_t *) mutexp);
#endif /* HAVE_LIBC_LOCK_H || HAVE_BITS_LIBC_LOCK_H */
}


So apparently, the HAVE_LIBC_LOCK_H symbol is defined on ppc64el, or at least 
appear to be even if the libc does not export that libc_lock_lock symbol.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
** Changed in: libnss-ldap (Ubuntu)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

** Changed in: libnss-ldap (Ubuntu Utopic)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
Ok, here are some more puzzling things :

The libnss-ldap from the archive does not use __libc_lock_lock :
$ pwd
./archive
$ wget 
http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libnss-ldap/libnss-ldap_264-2.2ubuntu4_amd64.deb
--2014-10-30 16:20:59--  
http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libnss-ldap/libnss-ldap_264-2.2ubuntu4_amd64.deb
...
2014-10-30 16:21:01 (72,7 KB/s) - «libnss-ldap_264-2.2ubuntu4_amd64.deb» 
enregistré [64718/64718]
$ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb .
$ nm -D lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep _lock
 w __pthread_mutex_lock

The same source build in a PPA DOES have the symbol __libc_lock_lock :
$ cd ../ppa
$ pwd
./ppa
$ wget 
https://launchpad.net/~louis-bouchard/+archive/ubuntu/nssldap-buildtest/+files/libnss-ldap_264-2.2ubuntu4_amd64.deb
...
2014-10-30 16:23:56 (56,7 KB/s) - «libnss-ldap_264-2.2ubuntu4_amd64.deb» 
enregistré [83234/83234]

$ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb .
$ nm -D lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep _lock
 U __libc_lock_lock
 U __libc_lock_unlock

I see the same behavior (i.e. fresh build created with __libc_lock_lock
in use) when using sbuild or building manually using debian/rules

This needs more investigation

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
After a discussion with slangasek, the only reason why it no longer
builds locally is that the uploads in the archives have not been rebuilt
since 2012 which explains why the new build on ppc64el fails : it is the
only fresh rebuild.

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: New = Confirmed

** Also affects: libnss-ldap (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: libnss-ldap (Ubuntu Precise)
   Importance: Undecided = Critical

** Changed in: libnss-ldap (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: libnss-ldap (Ubuntu Precise)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

** Changed in: libnss-ldap (Ubuntu Trusty)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
More research have highlighted what seems like a potential solution :

 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177
  Upgrade of libnss-ldap to 265-1 causes important binaries to 
segfault

The debian bug description is in line with what is described above.  The
version 265-3 should be merged into Vivid, then the specific patch for
this problem will be SRUed into the impacted releases.

** Bug watch added: Debian Bug tracker #727177
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
Analysis


Upon boot of a ppc64el system configured to authenticate as an LDAP
client, the boot process is interrupted with :

 /sbin/init: symbol lookup error: /lib/powerpc64le-linux-
gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

Apparently __libc_lock_lock is missing from the libnss_ldap.so library.

Looking at the symbols exported by the library on PPC64el we see :

 - For libnss_ldap : 
$ nm -D /lib/powerpc64le-linux-gnu/libnss_ldap.so.2 | grep _lock
 U __libc_lock_lock
 U __libc_lock_unlock

• For libc :
$ nm -D /lib/powerpc64le-linux-gnu/libc-2.19.so | grep _lock
0008f4a0 T _IO_list_lock
00088a70 T _IO_peekc_locked
001313b0 T pthread_mutex_lock

The same command on AMD64 returns :
 - For libnss_ldap:
# nm -D /lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep lock
 w __pthread_mutex_lock
 w __pthread_mutex_unlock
• For libc : 
# nm -D /lib/x86_64-linux-gnu/libc-2.19.so | grep _lock
...
00108270 T pthread_mutex_lock

So the symbol is _not_ exported by the libc on ppc64el even though
libnss_ldap is expecting to find it.

This lock is only used once in libnss_ldap :

static int
ltf_mutex_lock (void *mutexp)
{
#if defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
  return __libc_lock_lock (*(pthread_mutex_t *) mutexp);
#elif defined(HPUX)
  return __thread_mutex_lock ((pthread_mutex_t *) mutexp);
#else
# ifdef _AIX
  if (__multi_threaded == 0)
return 0;
# endif
  return pthread_mutex_lock ((pthread_mutex_t *) mutexp);
#endif /* HAVE_LIBC_LOCK_H || HAVE_BITS_LIBC_LOCK_H */
}


So apparently, the HAVE_LIBC_LOCK_H symbol is defined on ppc64el, or at least 
appear to be even if the libc does not export that libc_lock_lock symbol.

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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

[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
** Changed in: libnss-ldap (Ubuntu)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

** Changed in: libnss-ldap (Ubuntu Utopic)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
Ok, here are some more puzzling things :

The libnss-ldap from the archive does not use __libc_lock_lock :
$ pwd
./archive
$ wget 
http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libnss-ldap/libnss-ldap_264-2.2ubuntu4_amd64.deb
--2014-10-30 16:20:59--  
http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libnss-ldap/libnss-ldap_264-2.2ubuntu4_amd64.deb
...
2014-10-30 16:21:01 (72,7 KB/s) - «libnss-ldap_264-2.2ubuntu4_amd64.deb» 
enregistré [64718/64718]
$ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb .
$ nm -D lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep _lock
 w __pthread_mutex_lock

The same source build in a PPA DOES have the symbol __libc_lock_lock :
$ cd ../ppa
$ pwd
./ppa
$ wget 
https://launchpad.net/~louis-bouchard/+archive/ubuntu/nssldap-buildtest/+files/libnss-ldap_264-2.2ubuntu4_amd64.deb
...
2014-10-30 16:23:56 (56,7 KB/s) - «libnss-ldap_264-2.2ubuntu4_amd64.deb» 
enregistré [83234/83234]

$ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb .
$ nm -D lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep _lock
 U __libc_lock_lock
 U __libc_lock_unlock

I see the same behavior (i.e. fresh build created with __libc_lock_lock
in use) when using sbuild or building manually using debian/rules

This needs more investigation

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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

[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
After a discussion with slangasek, the only reason why it no longer
builds locally is that the uploads in the archives have not been rebuilt
since 2012 which explains why the new build on ppc64el fails : it is the
only fresh rebuild.

** Changed in: libnss-ldap (Ubuntu Trusty)
   Status: New = Confirmed

** Also affects: libnss-ldap (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: libnss-ldap (Ubuntu Precise)
   Importance: Undecided = Critical

** Changed in: libnss-ldap (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: libnss-ldap (Ubuntu Precise)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

** Changed in: libnss-ldap (Ubuntu Trusty)
 Assignee: (unassigned) = Louis Bouchard (louis-bouchard)

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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


[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

2014-10-30 Thread Louis Bouchard
More research have highlighted what seems like a potential solution :

 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177
  Upgrade of libnss-ldap to 265-1 causes important binaries to 
segfault

The debian bug description is in line with what is described above.  The
version 265-3 should be merged into Vivid, then the specific patch for
this problem will be SRUed into the impacted releases.

** Bug watch added: Debian Bug tracker #727177
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177

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

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions

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