[Bug 439744] New: can't log in after 'zypper dup'
https://bugzilla.novell.com/show_bug.cgi?id=439744 Summary: can't log in after 'zypper dup' Product: openSUSE 11.1 Version: Factory Platform: PowerPC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pczanik@genesi-usa.com QAContact: jsrain@novell.com Found By: --- I can't log in to my PPC box after doing a 'zypper dup' to todays factory (10-29). On the serial console I get: Cannot make/remove an entry for the specified session When I try to ssh, I get: czanik@bigone:~> ssh root@192.168.2.167 Password: Last login: Wed Oct 29 08:33:55 2008 Have a lot of fun... Connection to 192.168.2.167 closed. czanik@bigone:~> ssh -v root@192.168.2.167 OpenSSH_5.0p1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 192.168.2.167 [192.168.2.167] port 22. debug1: Connection established. debug1: identity file /home/czanik/.ssh/id_rsa type -1 debug1: identity file /home/czanik/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1 debug1: match: OpenSSH_5.1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.0 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host '192.168.2.167' is known and matches the RSA host key. debug1: Found key in /home/czanik/.ssh/known_hosts:63 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/czanik/.ssh/id_rsa debug1: Offering public key: /home/czanik/.ssh/id_dsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: keyboard-interactive Password: debug1: Authentication succeeded (keyboard-interactive). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = hu_HU.UTF-8 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0 Last login: Wed Oct 29 08:40:27 2008 from 192.168.2.179 Have a lot of fun... debug1: channel 0: free: client-session, nchannels 1 Connection to 192.168.2.167 closed. debug1: Transferred: stdin 0, stdout 0, stderr 37 bytes in 0.0 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 2712.0 debug1: Exit status 254 czanik@bigone:~> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c1 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |anicka@novell.com --- Comment #1 from Cyril Hrubis <chrubis@novell.com> 2008-10-30 12:42:08 MDT --- Do you have an idea what went wrong according to this ssh trace? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User pczanik@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c2 --- Comment #2 from peter czanik <pczanik@genesi-usa.com> 2008-10-31 04:18:23 MDT --- I did a fresh install to the same partition, and login / ssh started working again. The problem was after a 'zypper dup' between beta3 and factory from this weekend. Googling a bit for the error message ( Cannot make/remove an entry for the specified session ) revealed, that it comes from pam-session, so the upgrade there might have gone wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User anicka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c3 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anicka@novell.com Status|NEEDINFO |NEW Info Provider|anicka@novell.com | --- Comment #3 from Anna Bernathova <anicka@novell.com> 2008-11-03 04:29:17 MDT --- Cyril: I cannot say much from this debug output, I am sorry. debug3 output (ssh -vvv) might help more, strace could help more. Now I can see only ssh connection starting and ending pretty normally. But you should probably ask pam maintainer first, this bug is not likely to be ssh related. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mc@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User mc@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c4 Michael Calmer <mc@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc@novell.com AssignedTo|mc@novell.com |anicka@novell.com --- Comment #4 from Michael Calmer <mc@novell.com> 2008-11-05 02:34:12 MST ---
Last login: Wed Oct 29 08:40:27 2008 from 192.168.2.179 Have a lot of fun...
The pam conversation is finished before these lines are printed. So it must be something else. I think we need the log from the server. Enable pam and sshd debug messages, try to login and attach /var/log/messages. to this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pczanik@genesi-usa.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User pczanik@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c5 peter czanik <pczanik@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pczanik@genesi-usa.com | --- Comment #5 from peter czanik <pczanik@genesi-usa.com> 2008-11-11 04:55:50 MST --- Sorry, no logs, as the problem disappeared with a fresh install, and I have never seen it again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User anicka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c6 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Anna Bernathova <anicka@novell.com> 2008-11-11 06:05:15 MST --- Having a little amount of information and no way to reproduce this bug, I am afraid I have to close this bug as WORKSFORME. If it reappears, please reopen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User pczanik@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c7 peter czanik <pczanik@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #7 from peter czanik <pczanik@genesi-usa.com> 2008-11-13 02:47:28 MST --- OK, it happened again. Please let me know, how I can do this: "Enable pam and sshd debug messages, ", I have another Linux partition, so I can edit the necessary files from the outside. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User anicka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c8 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |mc@novell.com --- Comment #8 from Anna Bernathova <anicka@novell.com> 2008-11-13 08:18:42 MST --- sshd: in /etc/ssh/sshd_config edit line "#LogLevel INFO" to "LogLevel debug3" and restart the server. As for pam, I actually do not know, what exactly Michael meant - Michael? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User mc@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c9 Michael Calmer <mc@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|mc@novell.com | --- Comment #9 from Michael Calmer <mc@novell.com> 2008-11-13 08:33:37 MST --- If you are able to chroot into the system simply execute: pam-config -a --pam-debug If you need to change the files directly open the /etc/pam.d/common-*-pc files (should be 4 Files) and add the "debug" option behind the modules which are listed there. (Maybe not all modules support "debug" but they should not fail because of an unknown option.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User anicka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c10 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |pczanik@genesi-usa.com --- Comment #10 from Anna Bernathova <anicka@novell.com> 2008-11-18 03:08:37 MST --- Thanks, Michael. Peter? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User pczanik@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c11 peter czanik <pczanik@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|pczanik@genesi-usa.com | --- Comment #11 from peter czanik <pczanik@genesi-usa.com> 2008-11-26 00:52:38 MST --- Sorry, I was forced off-line for a while... Dec 1 12:38:49 linux-rjvk login[3741]: pam_loginuid(login:session): Cannot open /proc/self/loginuid: Read-only file system Dec 1 12:38:49 linux-rjvk login[3741]: pam_loginuid(login:session): set_loginuid failed Dec 1 12:38:49 linux-rjvk login[3741]: Cannot make/remove an entry for the specified session Dec 1 12:39:03 linux-rjvk dhcpcd[3340]: eth0: lost lease, attemping to rebind Dec 1 12:39:03 linux-rjvk dhcpcd[3340]: eth0: Failed to lookup hostname via DNS: Name or service not known Dec 1 12:39:06 linux-rjvk login[3974]: pam_loginuid(login:session): Cannot open /proc/self/loginuid: Read-only file system Dec 1 12:39:06 linux-rjvk login[3974]: pam_loginuid(login:session): set_loginuid failed Dec 1 12:39:06 linux-rjvk login[3974]: Cannot make/remove an entry for the specified session Dec 1 12:39:33 linux-rjvk sshd[4173]: pam_loginuid(sshd:session): Cannot open /proc/self/loginuid: Read-only file system Dec 1 12:39:33 linux-rjvk sshd[4173]: pam_loginuid(sshd:session): set_loginuid failed Dec 1 12:39:33 linux-rjvk sshd[4173]: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User mc@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c12 Michael Calmer <mc@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |olh@novell.com --- Comment #12 from Michael Calmer <mc@novell.com> 2008-11-26 02:42:26 MST --- Olaf: do you know anything about problems on ppc with a read-only mounted /proc filesystem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User olh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c13 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|olh@novell.com | --- Comment #13 from Olaf Hering <olh@novell.com> 2008-11-26 04:05:13 MST --- no, I dont. Its probably not an arch specific issue. Does it still happen? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User mc@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c14 --- Comment #14 from Michael Calmer <mc@novell.com> 2008-11-26 04:10:21 MST --- Would be good if we can verify this with a defined Beta release. In Factory everything can happen. I think we have no other reports about such a problem. Maybe it exist only on PPC or the reason was a undefined state of the Factory repository. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User pczanik@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c15 --- Comment #15 from peter czanik <pczanik@genesi-usa.com> 2008-11-26 04:19:49 MST --- It did not happen on the last two 'zypper dup' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=439744 User anicka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439744#c16 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME --- Comment #16 from Anna Bernathova <anicka@novell.com> 2008-12-01 05:53:48 MST --- Well, so now the question is how come that your /proc gets mounted read only. I can still do nothing here. Just reopen once again when it happens - but it looks that we will need to know as exact information as possible to have at least some hope to reproduce it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com