[Top][All Lists]

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

nohup breaks logname and tty commands

Subject: nohup breaks logname and tty commands
Date: Fri, 22 Feb 2008 10:06:39 -0600

As we are moving from RHEL 4.x to 5.x I noticed that some scripts
started failing.

When I researched this I found that RHEL 4.x used coreutils 5.2.1 and
RHEL 5.x used coreutils 5.97.

In RHEL 4 with coreutils 5.2.1 the following works:

        $ /usr/bin/nohup /usr/bin/logname
        /usr/bin/nohup: appending output to `nohup.out'

        $ cat nohup.out

In RHEL 5 with coreutils 5.97 the following does not work:

        $ /usr/bin/nohup /usr/bin/logname
        /usr/bin/nohup: appending output to `nohup.out'

        $ cat nohup.out
        /usr/bin/logname: no login name

I also checked the nohup in the coreutils 6.9 and it has the same
behavior.  The tty command has similar issue, not sure if other commands
are effected as well.

We are able to work around the issues but it creates more
incompatibilities between Linux and the other Unix flavors.


Matthew Roth
AT&T Services, Inc.
1010 Pine Street, Room 8-W-3, Saint Louis, Missouri 63101
(314) 331-9839, address@hidden

reply via email to

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