https://bugzilla.novell.com/show_bug.cgi?id=746704
https://bugzilla.novell.com/show_bug.cgi?id=746704#c25
Michal Vyskocil changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mvyskocil@suse.com
--- Comment #25 from Michal Vyskocil 2012-03-12 14:43:19 UTC ---
I have the same problem inside running tmux session, which survives restart of
X (blame Gnome 3 for that ;-)). Running sudo -s or sudo zypper lr, or sudo
/usr/bin/build does not do anything inside the tmux session. Doing the same
from xterm/gnome-terminal/konsole/whatever works well. I've exported all
environment variables from normal session into tmux, but it did not helped.
My config looks like in #comment20, no changes from default.
$ rpm -q systemd kernel-desktop gdm
systemd-42-2.1.x86_64
kernel-desktop-3.3.rc5-1.4.x86_64
gdm-3.2.1.1-3.1.x86_64
That's what my messages says
Mar 12 15:20:49 zelva sudo: mvyskocil : TTY=pts/6 ;
PWD=/home/mvyskocil/work/OBS/Java:packages/jakarta-commons-net ; USER=root ;
COMMAND=/usr/bin/less /var/log/messages
Mar 12 15:20:49 zelva systemd[1]: Got D-Bus request:
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Mar 12 15:20:49 zelva systemd-logind[735]: New session 2 of user mvyskocil.
Mar 12 15:20:49 zelva systemd-logind[735]: Removed session 2.
Mar 12 15:20:49 zelva systemd[1]: Got D-Bus request:
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
I made strace from unsuccessful and successful run and it seems that in buggy
state sudo ends **after** PAM:session_open call. In both cases the sequences of
syscalls is the same, but just before second call of getdents on NETLINK socket
used for pam, the process is interrupted
..
close(8) = 0
--- {si_signo=SIGHUP, si_code=SI_USER, si_pid=735, si_uid=0,
si_value={int=2552531996, ptr=0x3bae198248c1c}} (Hangup) ---
<... select resumed> ) = ? ERESTARTNOHAND (To be restarted)
--- {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=31995, si_status=SIGHUP,
si_utime=0, si_stime=0} (Child exited) ---
write(8, "\21", 1) = 1
rt_sigreturn(0x8) = -1 EINTR (Interrupted system call)
the normal run continues running execve
close(8) = 0
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
execve("/usr/bin/zypper", ["zypper", "lr"], [/* 19 vars */]) = 0
1426 32029 brk(0) = 0x763000
However I did not found what's the descriptor 8 (which close might be a root
cause)
--
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.