Jim Meyering <[EMAIL PROTECTED]> writes: > Dan Nicolaescu <[EMAIL PROTECTED]> wrote: > ... > > I have installed Fedora 8 on another 32bit x86 system, and the problem > > appears there too. > > > > (I moved /etc/csh* out of the way, used a freshly created account that > > uses /bin/tcsh. I also deleted all the ~/.* files) > > > > I straced the mingetty process corresponding to VT 1, and logged on > > there. > > The only mention of SIGPIPE is this: > > > > 4549 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 > > > > 4549 is the mingetty process. > > That may be the root of your problem. > Some process is ignoring SIGPIPE. > > Odd.. I don't see any trace of SIGPIPE in the mingetty sources.
Maybe it is done in some library? Here's the part of the strace log that includes the SIGPIPE handling 4549 access("/var/run/console/dann", F_OK) = 0 4549 fstat64(3, {st_mode=S_IFREG|0600, st_size=1, ...}) = 0 4549 read(3, "1", 1) = 1 4549 _llseek(3, 0, [0], SEEK_SET) = 0 4549 write(3, "2", 1) = 1 4549 close(3) = 0 4549 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 4549 gettid() = 4549 4549 open("/proc/self/task/4549/attr/current", O_RDONLY|O_LARGEFILE) = 3 4549 read(3, "kernel\0", 4095) = 7 4549 close(3) = 0 4549 open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3 4549 fstat64(3, {st_mode=S_IFREG|0644, st_size=1729, ...}) = 0 4549 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f24 000 4549 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1729 4549 close(3) = 0 4549 munmap(0xb7f24000, 4096) = 0 4549 socket(PF_FILE, SOCK_STREAM, 0) = 3 4549 connect(3, {sa_family=AF_FILE, path="/var/run/dbus/system_bus_socket"}, 33) = 0 4549 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) 4549 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 4549 fcntl64(3, F_GETFD) = 0 4549 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 4549 getuid32() = 0 4549 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 4549 poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 4549 write(3, "\0", 1) = 1 4549 write(3, "AUTH EXTERNAL 30\r\n", 18) = 18 4549 poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1 > I looked at the sources for rawhide's mingetty-1.07-6. > Are you sure 4549 is the PID of a process running mingetty? Yep, I have the command in history: strace -f -o out.strace -p 4549 and I started stracing from mingetty. > What version of mingetty are you using? mingetty-1.07-6 _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils