broken PAM; read before updating(was: libtirpc update)

This forum is for discussion about general software issues.

broken PAM; read before updating(was: libtirpc update)

Postby winlu » Wed Nov 11, 2015 11:38 am

libirpc was updated and PAM needed a rebuild, since that is probably still in the build queue (and failing) it is currently not advisable to -Syu. you will end up with a system with broken PAM.
Last edited by winlu on Wed Nov 11, 2015 1:38 pm, edited 3 times in total.
winlu
 
Posts: 13
Joined: Sat Mar 01, 2014 2:55 pm

Re: libtirpc update

Postby imp » Wed Nov 11, 2015 12:43 pm

Indeed, I faced the same problem after updating libtirpc today.

As pam is still linked to the old version, it won't work :)
$this->bbcode_second_pass_code('', '
$ ldd /usr/lib/security/pam_unix.so
...
libtirpc.so.1 => /usr/lib/libtirpc.so.1 (0xb6e99000)
')

A temporary fix, awaiting the rebuild, is to make a symlink with the old name to one of the new versions.
$this->bbcode_second_pass_code('', '
libtirpc /usr/lib/libtirpc.so
libtirpc /usr/lib/libtirpc.so.3
libtirpc /usr/lib/libtirpc.so.3.0.0
')
imp
 
Posts: 2
Joined: Wed Nov 11, 2015 12:34 pm

Re: broken PAM; read before updating(was: libtirpc update)

Postby WarheadsSE » Wed Nov 11, 2015 2:35 pm

The devs are aware and looking to resolve this.

EDIT: have fixed.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: broken PAM; read before updating(was: libtirpc update)

Postby mcloaked » Wed Nov 11, 2015 3:12 pm

I have a cubox which I updated and rebooted - and running headless - and no longer can ssh in to do anything either as root or user. I tried to pull out the sd card and add in a symlink as suggested above

# ls -lh /usr/lib/libtirpc
lrwxrwxrwx 1 root root 72 Nov 11 15:07 /usr/lib/libtirpc -> /usr/lib/libtirpc.so

and also tried adding the following link:

# ls -l usr/lib/libtirpc.so.1
lrwxrwxrwx 1 root root 21 Nov 11 15:36 usr/lib/libtirpc.so.1 -> usr/lib/libtirpc.so.3

But this does not let me ssh in any more either (I get a connection closed response when logging in as root - and I do have PermitRootLogin as well as an AllowedUsers list in /etc/ssh/sshd_config). Can anyone suggest how I can get my system as a temporary fix so that I can log in again via ssh?

Thanks
mcloaked
 
Posts: 97
Joined: Thu Oct 16, 2014 4:16 pm

Re: broken PAM; read before updating(was: libtirpc update)

Postby imp » Wed Nov 11, 2015 4:31 pm

Both of your symlinks are simply wrong.
Fix that and you should be fine.
imp
 
Posts: 2
Joined: Wed Nov 11, 2015 12:34 pm

Re: broken PAM; read before updating(was: libtirpc update)

Postby mcloaked » Wed Nov 11, 2015 4:31 pm

I had made the wrong link - thank you to another user who pointed out that I had used the incorrect link which should have been link /usr/lib/libtirpc.so.1 to /usr/lib/libtirpc.so

After doing that by editing the file on the sd card using a laptop then reinstating the sd card, I could boot, login and then run pacman to update to the newer fixed version of pam. (pam 1.2.1-2) and all now seems well.
mcloaked
 
Posts: 97
Joined: Thu Oct 16, 2014 4:16 pm

Re: broken PAM; read before updating(was: libtirpc update)

Postby Mrerexx » Wed Nov 11, 2015 4:43 pm

Hi! I've copied /usr/lib/libtirpc.so.3.0.0 to /usr/lib/libtirpc.so.1 and it works.
Mrerexx
 
Posts: 1
Joined: Wed Nov 11, 2015 4:40 pm


Return to General

Who is online

Users browsing this forum: No registered users and 17 guests