Shadow-4.0.18.1 Issues

Gregory Fleischer (Lists) gfleischer.lists at gmail.com
Wed Nov 7 14:26:36 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 7, 2007, at 4:00 AM, Daniel Murungi wrote:

[snipped]
>
> After this, shadow-4.0.18.1 builds successfully. My only problem  
> now is that
> the asm ver. of nologin segfaults. (Help will be appreciated)
>

 From my SVN-20070901 uClibc/2.6 system:

  -bash-3.2# file /sbin/nologin
  /sbin/nologin: ELF 32-bit LSB shared object, Intel 80386, version 1  
(SYSV), stripped

It appears that for uClibc, the asm version of nologin isn't being  
compiled statically:

  -bash-3.2# ldd /sbin/nologin
          ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xad41d000)

I changed to explicitly pass the '-static' flag and the segfault was  
resolved:

     gcc -static -nostdlib src/nologin.S -o src/nologin

It appears that the same is true of true and false from coreutils:

  -bash-3.2# ldd /bin/{true,false}
  /bin/true:
          ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xaec9c000)
  /bin/false:
          ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xa1459000)

- --
Greg

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHMjudWbVJrJm/lrsRAiODAJsH2GbS9A8GnjTKhEwb7L9z4BXPpACgrT+N
IlqDPLIrxwFaplePE0Oh4Ic=
=opEX
-----END PGP SIGNATURE-----



More information about the hlfs-dev mailing list