On Sun, Jul 02, 2006 at 08:00:22PM -0400, Stephen Frost wrote:
> severity 376426 serious
> tags +moreinfo
> thanks
>
> * Vedran Fura?? ([EMAIL PROTECTED]) wrote:
> > After upgrade to version 251 I can't login as a user in ldap and even as
> > root which is a local user. Login process dies with SIGPIPE.
> > It only happens without nscd.
>
> What do your configs look like, what version of login is it? Can you
> try and strace it, or run it under gdb and see what's happening? Do you
> have any other LDAP libraries installed?
I'm seeing almost the same behaviour. When nscd isn't running the use can log
in but after the shell is launched each command gets a SIGPIPE which
kills it. Everything is at the current unstable version.
A strace of the shell when it tries to run /bin/echo a:
write(10, "/bin/echo a\33[11D", 16) = 16
read(10, "\n", 1) = 1
poll([{fd=10, events=POLLIN}], 1, 4) = 0
getuid() = 2001
time(NULL) = 1151927422
write(10, "\r\n", 2) = 2
alarm(0) = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...})
= 0
ioctl(10, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
time(NULL) = 1151927422
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
pipe([3, 4]) = 0
gettimeofday({1151927422, 470005}, {4294967176, 0}) = 0
clone(Process 16168 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x2ad3fb435f20) = 16168
[pid 13711] close(4 <unfinished ...>
[pid 16168] getsockname(11, <unfinished ...>
[pid 13711] <... close resumed> ) = 0
[pid 13711] read(3, <unfinished ...>
[pid 16168] <... getsockname resumed> {sa_family=AF_INET6,
sin6_port=htons(50617), inet_pton(AF_INET6,
"2001:610:1118:0:230:1bff:feba:218e", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, [28]) = 0
[pid 16168] getpeername(11, {sa_family=AF_INET6, sin6_port=htons(636),
inet_pton(AF_INET6, "2001:610:1118:0:210:5aff:fe64:a300", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [120259084316]) = 0
[pid 16168] fcntl(11, F_GETFD) = 0x1 (flags FD_CLOEXEC)
[pid 16168] dup(11) = 5
[pid 16168] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
[pid 16168] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
[pid 16168] close(11) = 0
[pid 16168] fcntl(6, F_GETFD) = 0
[pid 16168] dup2(6, 11) = 11
[pid 16168] fcntl(11, F_SETFD, 0) = 0
[pid 16168] close(6) = 0
[pid 16168] gettimeofday({1151927422, 471287}, NULL) = 0
[pid 16168] getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
[pid 16168] time(NULL) = 1151927422
[pid 16168] times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) =
1771269162
[pid 16168] gettimeofday({1151927422, 471430}, NULL) = 0
[pid 16168] getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
[pid 16168] time(NULL) = 1151927422
[pid 16168] times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) =
1771269162
[pid 16168] gettimeofday({1151927422, 471567}, NULL) = 0
[pid 16168] getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
[pid 16168] time(NULL) = 1151927422
[pid 16168] times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) =
1771269162
[pid 16168] write(11,
"\25\3\1\0\300|\21/\237$\226\3269\f\222\25\215\313\302\353"..., 197) = -1 EPIPE
(Broken pipe)
[pid 16168] --- SIGPIPE (Broken pipe) @ 0 (0) ---
Process 16168 detached
<... read resumed> "", 1) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigsuspend(~[HUP CHLD RTMIN RT_1] <unfinished ...>
--- SIGCHLD (Child exited) @ 0 (0) ---
Sjoerd
--
There is no likelihood man can ever tap the power of the atom.
-- Robert Millikan, Nobel Prize in Physics, 1923
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]