[Bug 752424] New: exit from su shell takes seconds
https://bugzilla.novell.com/show_bug.cgi?id=752424 https://bugzilla.novell.com/show_bug.cgi?id=752424#c0 Summary: exit from su shell takes seconds Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jslaby@suse.com QAContact: qa-bugs@suse.de CC: werner@suse.com, fcrozat@suse.com Found By: --- Blocker: --- $ su Password: # exit ...killed. <--- takes seconds to show up $ This is a regression. It is very disturbing when you want to close all your open shells on a desktop with ctrl+d held. It takes ages to do that. -- 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=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c1
--- Comment #1 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c2
--- Comment #2 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c4
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c5
--- Comment #5 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c6
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c7
C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c8
--- Comment #8 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c9
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c10
--- Comment #10 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c11
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c12
--- Comment #12 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c13
--- Comment #13 from Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c14
--- Comment #14 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c15
--- Comment #15 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c16
--- Comment #16 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c17
--- Comment #17 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c18
--- Comment #18 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c19
--- Comment #19 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c20
--- Comment #20 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c21
--- Comment #21 from C. Holm
md5sum new/* 60e9b462835de1a459bff9648fde527b new/common-session 60e9b462835de1a459bff9648fde527b new/common-session-pc c7d8be55839e4f901019a356d79bae25 new/login md5sum err/* 0d94d6a9cbaf336e5b5091df6f21031a err/common-session 0d94d6a9cbaf336e5b5091df6f21031a err/common-session-pc 1ab3452908da4c827470d5ee32dd1b1b err/login ---------- >8 ----------
As indicated in comment 12, I don't think these are relevant: The first diff is the change i had to do to make the "killed" problem disappear (if I reenable it, the bug reappears): ---------- 8< ----------
diff err/common-session new/common-session 16c16 < #session optional pam_systemd.so
session optional pam_systemd.so ---------- >8 ----------
The second diff is whitespace and a comment. (The whitespace on the end of line is on the non-buggy machine.) ---------- 8< ----------
diff err/login new/login | cat -A 7c7$ < session required^Ipam_loginuid.so$ ---$ session required^Ipam_loginuid.so^I$ 9d8$ < #session optional^Ipam_lastlog.so^Inowtmp showfailed$ ---------- >8 ----------
The package lists are quite different (see attachment) but I still have no clue what could cause this problem. [0]: I have used "grep pam" here because all the other changes aren't important because they're either in nonrelevant packages like pure-ftpd or they are changed in the same way on both machines (like /etc/securetty has an additional entry). [1]: I have omitted from this list those files that are only on the buggy machine, because I do not think they are related to the problem: ppp, pure-ftpd. -- 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=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c22
--- Comment #22 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c23
--- Comment #23 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c24
--- Comment #24 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c25
--- Comment #25 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c26
--- Comment #26 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c27
--- Comment #27 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c28
--- Comment #28 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c29
--- Comment #29 from Frederic Crozat
Oh: On the buggy machine, our sshd_config contains "UsePAM no" (which we usually don't have). When I change that, the loginuid is correct; however this does not change the fact that I see "killed" when I enable "pam_systemd.so" in /etc/pam.d/common_session again. Do you think the two are connected? If so, I'll have to check with my colleagues why the machine had "UsePAM no" and if it can be changed.
yes, they are connected and I strongly recommend to have "UsePam yes" otherwise, the ssh login session won't be monitored by logind and therefore, when you run "su -", the root session is considered as a "new session", instead of a child of the "ssh 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=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c30
--- Comment #30 from C. Holm
https://bugzilla.novell.com/show_bug.cgi?id=752424
https://bugzilla.novell.com/show_bug.cgi?id=752424#c31
Frederic Crozat
participants (1)
-
bugzilla_noreply@novell.com