Bug 437079 - 'nohup' without an argument can also be used via pipe
Summary: 'nohup' without an argument can also be used via pipe
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: tcsh617
Version: 5.1
Hardware: i386
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Vojtech Vitek
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-12 06:59 UTC by Cai Xianchao
Modified: 2015-03-04 23:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The tcsh(1) man page inaccurately stated that the "hup" and "nohup" built-in commands, when used without an argument, can be used only within a shell script. The man page has been corrected: it now states that the hup and nohup built-in commands can be used when running the shell non-interactively.
Clone Of:
Environment:
Last Closed: 2011-07-21 08:49:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
This is a patch fixing the bug. (624 bytes, patch)
2008-03-12 06:59 UTC, Cai Xianchao
no flags Details | Diff
Simple patch to fix 'nohup' section of man page (646 bytes, patch)
2011-01-17 16:24 UTC, Vojtech Vitek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1072 0 normal SHIPPED_LIVE new package: tcsh617 2011-07-21 08:47:46 UTC

Description Cai Xianchao 2008-03-12 06:59:20 UTC
Description of problem:

Manpage says that "Without  an  argument  (allowed  in only  a  shell 
script),", but it is allowed via pipe.

Version-Release number of selected component (if applicable):
tcsh-6.15.00

How reproducible:


Steps to Reproduce:
1.[test@localhost ~]$ nohup
nohup: Can't from terminal.

2.[test@localhost ~]$ echo 'nohup' | tcsh -l

  
Actual results:
An error message is outputed.

Expected results:
Nothing is outputed

Additional info:

Comment 1 Cai Xianchao 2008-03-12 06:59:20 UTC
Created attachment 297725 [details]
This is a patch fixing the bug.

Comment 2 Cai Xianchao 2008-03-12 07:07:08 UTC
I made a mistake.

"Actual results:" should be "Nothing is outputed.".
"Expected results:" should be "An error message is outputed.".


Comment 3 RHEL Program Management 2011-01-11 19:57:57 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2011-01-12 15:14:33 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 5 Vojtech Vitek 2011-01-17 16:24:35 UTC
Created attachment 473878 [details]
Simple patch to fix 'nohup' section of man page

Will be proposed to upstream.

Comment 10 Vojtech Vitek 2011-04-15 16:41:06 UTC
Proposed to upstream: http://bugs.gw.com/view.php?id=119

Comment 11 Vojtech Vitek 2011-04-18 08:26:59 UTC
Accepted by upstream (tcsh 6.17.07b).

Comment 13 Miroslav Svoboda 2011-07-01 21:47:03 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The tcsh(1) man page inaccurately stated that the "hup" and "nohup" built-in commands, when used without an argument, can be used only within a shell script. The man page has been corrected: it now states that the hup and nohup built-in commands can be used when running the shell non-interactively.

Comment 14 errata-xmlrpc 2011-07-21 08:49:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1072.html

Comment 15 errata-xmlrpc 2011-07-21 12:09:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1072.html


Note You need to log in before you can comment on or make changes to this bug.