bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ps shows "tty: ?" instead of "tty: tty1"


From: Sven Vermeulen
Subject: ps shows "tty: ?" instead of "tty: tty1"
Date: Sat, 27 Oct 2001 19:27:15 +0200
User-agent: Mutt/1.2.5i

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H  -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/include -O2 
-march=i386 -mcpu=i686
uname output: Linux Zenith.starcenter 2.4.14-pre3 #2 Sat Oct 27 18:26:46 MEST 
2001 i586 unknown
Machine Type: i386-redhat-linux-gnu

Bash Version: 2.05
Patch Level: 7
Release Status: release

Description:
        When logging in and running "ps", the following output is
        produced:
                  PID TTY          TIME CMD
                 1152 ?        00:00:00 bash
                 1174 ?        00:00:00 ps

        Special shell-functions, like stop (^Z) and terminate (^C)
        don't work.

        After issuing "su" to gain rootprivs, the following warning is
        produced:
                bash: no job control in this shell

        After several logout's-login's (^D for logging out still works)
        the problem disappears (normal output:
                  PID TTY          TIME CMD
                 1227 tty3     00:00:00 bash
                 1249 tty3     00:00:00 ps
        and ^C / ^Z work).

        This problem appears with several kernels (so this isn't
        related due to the fact I'm currently running 2.4.14-pre3) but
        I haven't tested it with 2.2-kernels.

        PS Mailing under 2.4.13 again, problem remains.

        It wasn't much of a problem before (2 or 3 logout/logins were
        succesfull, most of the time the problem didn't even occur) but
        now I run mount with the "notail,noatime"-options (ReiserFS)
        and the problem is extremely frequent.

Repeat-By:
        Log on.

Fix:
        Frequently log out and on again, hope that it disappears before
        INIT sais "respawning too fast. disables for 5 minutes" or so
        (frequently logging out/in again makes INIT go angry).


-- 
Unix, MS-DOS and Windows NT (also known as the Good, the Bad and the
Ugly). ~(Matt Welsh)

Attachment: pgp2udeu6yjN5.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]