From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 30 13:07:21 2014 Received: (at submit) by debbugs.gnu.org; 30 Aug 2014 17:07:21 +0000 Received: from localhost ([127.0.0.1]:54584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNm7U-0007t4-IN for submit@debbugs.gnu.org; Sat, 30 Aug 2014 13:07:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39043) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNleX-00077k-KJ for submit@debbugs.gnu.org; Sat, 30 Aug 2014 12:37:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNleN-0000Zj-18 for submit@debbugs.gnu.org; Sat, 30 Aug 2014 12:37:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNleM-0000Ze-UI for submit@debbugs.gnu.org; Sat, 30 Aug 2014 12:37:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNleI-0006X1-2z for bug-coreutils@gnu.org; Sat, 30 Aug 2014 12:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNleD-0000XY-6j for bug-coreutils@gnu.org; Sat, 30 Aug 2014 12:37:10 -0400 Received: from smtpout01-ttce.target.com ([161.225.196.20]:51675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNleD-0000XO-26 for bug-coreutils@gnu.org; Sat, 30 Aug 2014 12:37:05 -0400 Received: from tcemail06p.hq.target.com ([10.65.18.140]) by smtpout01-ttce.target.com with ESMTP/TLS/AES128-SHA; 30 Aug 2014 11:37:03 -0500 Received: from TCEMAIL21P.hq.target.com ([fe80::415d:e289:25a2:a6f6]) by TCEMAIL06P.hq.target.com ([fe80::45bd:fe9d:bc5d:746e%24]) with mapi id 14.03.0195.001; Sat, 30 Aug 2014 11:37:00 -0500 From: Allen.Shepherd To: "bug-coreutils@gnu.org" Subject: nohup logname failes with error "logname: no login name" Thread-Topic: nohup logname failes with error "logname: no login name" Thread-Index: Ac/EcJ51Uvwrai66RR+uoJvFlcVu3A== Date: Sat, 30 Aug 2014 16:37:00 +0000 Message-ID: <2773FCD3695A194F9DDC1818CCA7139C2EE3CAAA@TCEMAIL21P.hq.target.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.64.21] Content-Type: multipart/alternative; boundary="_000_2773FCD3695A194F9DDC1818CCA7139C2EE3CAAATCEMAIL21Phqtar_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 30 Aug 2014 13:07:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --_000_2773FCD3695A194F9DDC1818CCA7139C2EE3CAAATCEMAIL21Phqtar_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi we cannot retrieve the login name with the below version while running w= ith nohup. Is there any workaround available? Thanks, host.com(oracle:NONE)/: logname --version logname (GNU coreutils) 5.97 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms o= f the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by FIXME: unknown. --_000_2773FCD3695A194F9DDC1818CCA7139C2EE3CAAATCEMAIL21Phqtar_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi we cannot retrieve the login name with the below = version while running with nohup.

Is there any workaround available?

Thanks,

 

 

host.com(oracle:NONE)/: logname --version=

logname (GNU coreutils) 5.97

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software.  You may redistribute co= pies of it under the terms of

the GNU General Public License <http://www.gnu.or= g/licenses/gpl.html>.

There is NO WARRANTY, to the extent permitted by law= .

Written by FIXME: unknown.

 

 

--_000_2773FCD3695A194F9DDC1818CCA7139C2EE3CAAATCEMAIL21Phqtar_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 01 11:04:40 2014 Received: (at 18365) by debbugs.gnu.org; 1 Sep 2014 15:04:40 +0000 Received: from localhost ([127.0.0.1]:55817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOT9n-0002t1-Lo for submit@debbugs.gnu.org; Mon, 01 Sep 2014 11:04:39 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:10377) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOT9h-0002sg-ND; Mon, 01 Sep 2014 11:04:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoBAL+JBFRtTj+0/2dsb2JhbAANTINgV8gDhnlTAYEqhHsBAQQyAUYQCw0LCQ0BCA8JAwIBAgFFBg0BBwEBBYg+CKQOlVQBF409ghAHEgGEOQWRCYRWhCOENYYFkSBrAYEHB4FAAQEB Received: from unknown (HELO [192.168.1.41]) ([109.78.63.180]) by mail2.vodafone.ie with ESMTP; 01 Sep 2014 16:04:23 +0100 Message-ID: <54048AF6.7020305@draigBrady.com> Date: Mon, 01 Sep 2014 16:04:22 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: "Allen.Shepherd" Subject: Re: bug#18365: nohup logname failes with error "logname: no login name" References: <2773FCD3695A194F9DDC1818CCA7139C2EE3CAAA@TCEMAIL21P.hq.target.com> In-Reply-To: <2773FCD3695A194F9DDC1818CCA7139C2EE3CAAA@TCEMAIL21P.hq.target.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18365 Cc: 18365@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag 18365 notabug close 18365 stop On 08/30/2014 05:37 PM, Allen.Shepherd wrote: > Hi we cannot retrieve the login name with the below version while running with nohup. > Is there any workaround available? > Thanks, > > > host.com(oracle:NONE)/: logname --version > logname (GNU coreutils) 5.97 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software. You may redistribute copies of it under the terms of > the GNU General Public License . > There is NO WARRANTY, to the extent permitted by law. > Written by FIXME: unknown. POSIX states that logname should be a simple wrapper around getlogin(): http://pubs.opengroup.org/onlinepubs/9699919799/utilities/logname.html getlogin() may fail on some systems if stdin is redirected from the controlling tty thanks, Pádraig. From unknown Sat Sep 13 06:34:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 Sep 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator