• glibc crypt changes

    From Benny Pedersen@2:230/0 to All on Sun Aug 15 03:39:00 2021
    Hello All!

    * sys-libs/libxcrypt
    Available versions: 4.4.20(0/1)^t ~4.4.25(0/1)^t {+compat split-usr +static-libs system test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
    Homepage: https://github.com/besser82/libxcrypt
    Description: Extended crypt library for descrypt, md5crypt, bcrypt, and others

    is used when glibc have no crypt support on gentoo

    glibc is still on 2.33 not 2.34 yet







    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/5.13.10-gentoo-dist (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Sun Aug 15 04:11:15 2021
    -={ 2021-08-15 04:11:15.516657060+00:00 }=-

    Hey Benny!

    glibc is still on 2.33 not 2.34 yet

    +1

    Same situation with slackware. It doesn't surprise me any.

    Life is good,
    Maurice

    ... ðone wisdom ðe ðe God sealde ðær ðær ðu hiene befæstan mæge, befæste.
    Wherever you can use the wisdom God gave you, use it.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Sun Aug 15 06:49:05 2021
    -={ 2021-08-15 06:49:05.867167667+00:00 }=-

    Hey Benny!

    * sys-libs/libxcrypt
    is used when glibc have no crypt support on gentoo

    How do you explain this?

    $ file /lib/libcrypt-2.34.so
    /lib/libcrypt-2.34.so: ELF 64-bit LSB shared object, x86-64,
    version 1 (SYSV), dynamically linked, for GNU/Linux 3.2.0, stripped

    Life is good,
    Maurice

    ... Gleawe men sceolon gieddum wrixlan.
    Wise men should exchange sayings.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Benny Pedersen@2:230/0 to Maurice Kinal on Sun Aug 15 07:11:32 2021
    Hello Maurice!

    15 Aug 2021 06:49, Maurice Kinal wrote to Benny Pedersen:

    -={ 2021-08-15 06:49:05.867167667+00:00 }=-

    Hey Benny!

    * sys-libs/libxcrypt
    is used when glibc have no crypt support on gentoo

    How do you explain this?

    $ file /lib/libcrypt-2.34.so
    /lib/libcrypt-2.34.so: ELF 64-bit LSB shared object, x86-64,
    version 1 (SYSV), dynamically linked, for GNU/Linux 3.2.0, stripped

    how is your glibc compiled ?

    imho you still build crypt static linked into glibc, but gentoo will change that to use Xcrypt note libcrypt vs libxcrypt is not same lib

    sorry if i am incorrect


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/5.13.10-gentoo-dist (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Sun Aug 15 07:50:03 2021
    -={ 2021-08-15 07:50:03.218935232+00:00 }=-

    Hey Benny!

    how is your glibc compiled ?

    I've already posted everything that matters. Perhaps I am not understanding the question?

    My configure looks like this;

    ../configure --prefix=/usr \
    --disable-werror \
    --enable-kernel=3.2 \
    --enable-stack-protector=strong \
    --with-headers=/usr/include \
    --build=$MACHTYPE \
    libc_cv_slibdir=/lib

    where MACHTYPE is x86_64-moosile-linux-gnu in the case of the glibc-2.34 toolchain. The system I am replying from is still x86_64-motorshed-linux-gnu/glibc-2.33 based.

    I know how to have fun ... and stay safe. I am also double vaxxed (Moderna) if that matters linuxie-speaking.

    libcrypt vs libxcrypt is not same lib

    I figured as much.

    sorry if i am incorrect

    No need for sorry ... yet. :::evil grin:::

    Life is good,
    Maurice

    ... Se cræft þæs lareowdomes bið cræft ealra cræfta.
    The art of teaching is the art of all arts.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Sun Aug 15 19:16:00 2021
    -={ 2021-08-15 19:16:00.398098509+00:00 }=-

    Hey Benny!

    how is your glibc compiled ?

    Here is a follow up using stable glibc-2.34 source from gnu.org;

    # /lib/libc.so.6 | printf " %s\n" "$(head -1)"
    GNU C Library (GNU libc) stable release version 2.34.

    Of special interest regarding shadow-4.8.1 and libcrypt.so.1 from glibc-2.34;

    # ldd /usr/bin/passwd | sed 's/\t/ /'
    linux-vdso.so.1 (0x00007ffe401fb000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f5645368000)
    libc.so.6 => /lib/libc.so.6 (0x00007f56451ad000)
    /lib/ld-linux-x86-64.so.2 (0x00007f56453a3000)

    I don't see a problem. Do you?

    Life is good,
    Maurice

    ... Widgongel wif word gespringeð, oft hy mon wommum bilihð.
    A far-wandering woman causes talk; often she is accused of sins.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Benny Pedersen@2:230/0 to Maurice Kinal on Fri Aug 20 01:26:06 2021
    Hello Maurice!

    15 Aug 2021 19:16, Maurice Kinal wrote to Benny Pedersen:

    # ldd /usr/bin/passwd | sed 's/\t/ /'
    linux-vdso.so.1 (0x00007ffe401fb000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f5645368000)
    libc.so.6 => /lib/libc.so.6 (0x00007f56451ad000)
    /lib/ld-linux-x86-64.so.2 (0x00007f56453a3000)

    I don't see a problem. Do you?

    missing pam :)


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/5.13.10-gentoo-dist (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Fri Aug 20 02:18:13 2021
    -={ 2021-08-20 02:18:13.857806104+00:00 }=-

    Hey Benny!

    I don't see a problem. Do you?

    missing pam :)

    That is a feature.

    Life is good,
    Maurice

    ... Nu hit ys on swines dome, cwæð se ceorl sæt on eoferes hricge.
    It's up to the pig now, said the man sat on the boar's back.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Benny Pedersen@2:230/0 to Maurice Kinal on Mon Aug 23 09:42:00 2021
    Hello Maurice!

    20 Aug 2021 02:18, Maurice Kinal wrote to Benny Pedersen:

    I don't see a problem. Do you?
    missing pam :)
    That is a feature.

    unless its static-linked, but in this case here its not imho, i only spoted that slackware is have pam in


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/5.13.12-gentoo-dist (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Mon Aug 23 13:59:11 2021
    -={ 2021-08-23 13:59:11.913528662+00:00 }=-

    Hey Benny!

    unless its static-linked, but in this case here its not imho,

    Exactly. I definetly would have know if I statically linked it in, which I don't even have at the moment.

    i only spoted that slackware is have pam in

    I noticed that too. I haven't done anything with pam lately and am not sure I ever will. I may call it quits on the gcc-11.2.0/glibc-2.33/linux-5.13.12 I am currently calling a stable root/boot. As far as shadow is concerned I am stuck at 4.8.2 and no pam dependency.

    Speaking of which I have the newest shadow-4.9 on a glibc-2.34 partition that I have yet to test boot. Maybe later today. shadow-4.9 doesn't appear to work on a glibc-2.33 based system for some unknown reason to me at the moment.

    Life is good,
    Maurice

    ... Wide ne biþ wel, cwæþ se þe gehyrde on helle hriman.
    Things are bad everywhere, said the man who heard wailing in hell.
    --- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Phil Taylor@1:275/201.100 to Benny Pedersen on Fri Aug 27 17:16:29 2021
    Hello All!

    * sys-libs/libxcrypt
    Available versions: 4.4.20(0/1)^t ~4.4.25(0/1)^t {+compat split-usr +static-libs system test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
    Homepage: https://github.com/besser82/libxcrypt
    Description: Extended crypt library for descrypt, md5crypt, bcrypt, and others

    is used when glibc have no crypt support on gentoo

    glibc is still on 2.33 not 2.34 yet

    Regards Benny

    You try Ubuntu it, supported.
    --- SBBSecho 3.14-Linux
    * Origin: sbbs.dynu.net 2025 (1:275/201.100)