From unknown Mon Jun 23 05:57:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8404 <8404@debbugs.gnu.org> To: bug#8404 <8404@debbugs.gnu.org> Subject: Status: Readd texinfo documentation for hostid and hostname. Reply-To: bug#8404 <8404@debbugs.gnu.org> Date: Mon, 23 Jun 2025 12:57:10 +0000 retitle 8404 Readd texinfo documentation for hostid and hostname. reassign 8404 coreutils submitter 8404 Philipp Thomas severity 8404 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 11:05:41 2011 Received: (at submit) by debbugs.gnu.org; 1 Apr 2011 15:05:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5fuu-0002r1-LO for submit@debbugs.gnu.org; Fri, 01 Apr 2011 11:05:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5fus-0002qn-Ml for submit@debbugs.gnu.org; Fri, 01 Apr 2011 11:05:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5fum-0006Dg-5b for submit@debbugs.gnu.org; Fri, 01 Apr 2011 11:05:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:40048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5fum-0006Db-0U for submit@debbugs.gnu.org; Fri, 01 Apr 2011 11:05:32 -0400 Received: from [140.186.70.92] (port=44579 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5fuk-0001Y8-QF for bug-coreutils@gnu.org; Fri, 01 Apr 2011 11:05:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5fuf-0006C0-Tg for bug-coreutils@gnu.org; Fri, 01 Apr 2011 11:05:30 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54106 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5fuf-0006BA-Ks for bug-coreutils@gnu.org; Fri, 01 Apr 2011 11:05:25 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 407D08738D for ; Fri, 1 Apr 2011 17:05:23 +0200 (CEST) Date: Fri, 1 Apr 2011 17:05:22 +0200 From: Philipp Thomas To: bug-coreutils@gnu.org Subject: Readd texinfo documentation for hostid and hostname. Message-ID: <20110401150522.GM22289@paradies.suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline X-Operating-System: openSUSE - Kernel Linux 2.6.37-41-desktop x86_64 Organization: SUSE LINUX Products GmbH, =?iso-8859-1?Q?G?= =?iso-8859-1?Q?F=3A_Markus_Rex=2C_HRB_16746_=28AG_N=FCrnberg=29?= User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The manpage for hostid explicitely references coreutils.info but there the part about hostid seems to have been removed somewhen in the past. As there is no mentioning of a removal in ChangeLog I created the attached patch that readds the documentation for hostid and hostname that I took from the 5.93 coreutils.texi . Philipp --EeQfGwPcQSOJBaQU Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="coreutils-readd_documentation.patch" The documentation for hostname and hostid was missing from coreutils 8.10 texinfo documentation. While not documenting hostname could be argued, the man page of hostid directly refers to the non-existing texinfo documentation. Index: doc/coreutils.texi =================================================================== --- doc/coreutils.texi.orig 2011-04-01 13:46:18.000000000 +0200 +++ doc/coreutils.texi 2011-04-01 14:08:23.423850965 +0200 @@ -65,6 +65,7 @@ * fold: (coreutils)fold invocation. Wrap long input lines. * groups: (coreutils)groups invocation. Print group names a user is in. * head: (coreutils)head invocation. Output the first part of files. +* hostid: (coreutils)hostid invocation. Print numeric host identifier. * id: (coreutils)id invocation. Print user identity. * install: (coreutils)install invocation. Copy and change attributes. * join: (coreutils)join invocation. Join lines on a common field. @@ -195,7 +196,7 @@ Free Documentation License''. * File name manipulation:: dirname basename pathchk mktemp * Working context:: pwd stty printenv tty * User information:: id logname whoami groups users who -* System context:: date arch nproc uname uptime +* System context:: date arch nproc uname uptime hostname hostid * SELinux context:: chcon runcon * Modified command invocation:: chroot env nice nohup stdbuf su timeout * Process control:: kill @@ -413,6 +414,8 @@ System context * nproc invocation:: Print the number of processors * uname invocation:: Print system information * uptime invocation:: Print system uptime and load +* hostname invocation:: Print or set system name +* hostid invocation:: Print numeric host identifier. @command{date}: Print or set system date and time @@ -13758,6 +13761,8 @@ information. * nproc invocation:: Print the number of processors. * uname invocation:: Print system information. * uptime invocation:: Print system uptime and load. +* hostname invocation:: Print or set system name. +* hostid invocation:: Print numeric host identifier. @end menu @node date invocation @@ -14610,6 +14615,55 @@ also include processes in the uninterrup those processes which are waiting for disk I/O). The Linux kernel includes uninterruptible processes. +@node hostname invocation +@section @command{hostname}: Print or set system name + +@pindex hostname +@cindex setting the hostname +@cindex printing the hostname +@cindex system name, printing +@cindex appropriate privileges + +With no arguments, @command{hostname} prints the name of the current host +system. With one argument, it sets the current host name to the +specified string. You must have appropriate privileges to set the host +name. Synopsis: + +@example +hostname [@var{name}] +@end example + +The only options are @option{--help} and @option{--version}. @xref{Common +options}. + +@exitstatus + + +@node hostid invocation +@section @command{hostid}: Print numeric host identifier. + +@pindex hostid +@cindex printing the host identifier + +@command{hostid} prints the numeric identifier of the current host +in hexadecimal. This command accepts no arguments. +The only options are @option{--help} and @option{--version}. +@xref{Common options}. + +For example, here's what it prints on one system I use: + +@example +$ hostid +1bac013d +@end example + +On that system, the 32-bit quantity happens to be closely +related to the system's Internet address, but that isn't always +the case. + +@exitstatus + + @node SELinux context @chapter SELinux context --EeQfGwPcQSOJBaQU-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 11:14:09 2011 Received: (at 8404) by debbugs.gnu.org; 1 Apr 2011 15:14:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5g36-00033O-Vu for submit@debbugs.gnu.org; Fri, 01 Apr 2011 11:14:09 -0400 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5g34-00032p-E3 for 8404@debbugs.gnu.org; Fri, 01 Apr 2011 11:14:07 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 9EAD186391 for <8404@debbugs.gnu.org>; Fri, 1 Apr 2011 17:14:00 +0200 (CEST) Date: Fri, 1 Apr 2011 17:14:00 +0200 From: Philipp Thomas To: 8404@debbugs.gnu.org Subject: Re: bug#8404: Readd texinfo documentation for hostid and hostname. Message-ID: <20110401151400.GO22289@paradies.suse.de> References: <20110401150522.GM22289@paradies.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110401150522.GM22289@paradies.suse.de> X-Operating-System: openSUSE - Kernel Linux 2.6.37-41-desktop x86_64 Organization: SUSE LINUX Products GmbH, =?iso-8859-1?Q?G?= =?iso-8859-1?Q?F=3A_Markus_Rex=2C_HRB_16746_=28AG_N=FCrnberg=29?= User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8404 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) * Philipp Thomas (pth@suse.de) [20110401 17:07]: > The manpage for hostid explicitely references coreutils.info but there the Actually coreutils.info included in coreutils 8.10 has the documentation but not coreutils.texi. Philipp From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 20:09:46 2011 Received: (at 8404-done) by debbugs.gnu.org; 2 Apr 2011 00:09:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5oPR-0006SX-MM for submit@debbugs.gnu.org; Fri, 01 Apr 2011 20:09:45 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Q5oPP-0006SJ-Cr for 8404-done@debbugs.gnu.org; Fri, 01 Apr 2011 20:09:43 -0400 Received: (qmail 45750 invoked from network); 2 Apr 2011 00:09:37 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 2 Apr 2011 00:09:37 -0000 Message-ID: <4D96691C.9090308@draigBrady.com> Date: Sat, 02 Apr 2011 01:09:00 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Philipp Thomas Subject: Re: bug#8404: Readd texinfo documentation for hostid and hostname. References: <20110401150522.GM22289@paradies.suse.de> <20110401151400.GO22289@paradies.suse.de> In-Reply-To: <20110401151400.GO22289@paradies.suse.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8404-done Cc: 8404-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 01/04/11 16:14, Philipp Thomas wrote: > * Philipp Thomas (pth@suse.de) [20110401 17:07]: >> The manpage for hostid explicitely references coreutils.info but there the > > Actually coreutils.info included in coreutils 8.10 has the documentation but > not coreutils.texi. The hostid info is present in git. Perhaps it was removed by a local patch or something. I'm closing this bug for the moment. cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 10:05:06 2011 Received: (at 8404) by debbugs.gnu.org; 4 Apr 2011 14:05:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6kOw-0002Qb-2A for submit@debbugs.gnu.org; Mon, 04 Apr 2011 10:05:06 -0400 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6kOt-0002Q5-JJ for 8404@debbugs.gnu.org; Mon, 04 Apr 2011 10:05:04 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 643C65FC9F; Mon, 4 Apr 2011 16:04:57 +0200 (CEST) Date: Mon, 4 Apr 2011 16:04:54 +0200 From: Philipp Thomas To: 8404@debbugs.gnu.org, P@draigBrady.com Subject: Re: bug#8404: Readd texinfo documentation for hostid and hostname. Message-ID: <20110404140454.GQ22289@paradies.suse.de> References: <20110401150522.GM22289@paradies.suse.de> <20110401151400.GO22289@paradies.suse.de> <4D96691C.9090308@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4D96691C.9090308@draigBrady.com> X-Operating-System: openSUSE - Kernel Linux 2.6.37-41-desktop x86_64 Organization: SUSE LINUX Products GmbH, =?iso-8859-1?Q?G?= =?iso-8859-1?Q?F=3A_Markus_Rex=2C_HRB_16746_=28AG_N=FCrnberg=29?= User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8404 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) * P=E1draig Brady (P@draigBrady.com) [20110402 02:37]: > The hostid info is present in git. > Perhaps it was removed by a local patch or something. > I'm closing this bug for the moment. Yes, you are right and this is bogus. We have a patch that removes the hostname documentation as openSUSE/SLES uses the one from util-linux. Tha= t patch also removed the hostid documentation. Fixing that patch brought me back the hostid documentation. Sorry for the noise. Philipp From unknown Mon Jun 23 05:57:10 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, 03 May 2011 11:24:04 +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