Debian bug report logs - #1616
'who' can't find utmp

Package: shellutils; Reported by: sgk@sgk.tiac.net; 22 days old.

Message received at debian-bugs:


From hermes.cam.ac.uk!and1000 Mon Oct  9 16:14:31 1995
Return-Path: <and1000@hermes.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t2ROw-00064oC; Mon, 9 Oct 95 16:14 PDT
Received: from black.csi.cam.ac.uk by pixar.com with SMTP id AA21087
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 9 Oct 1995 16:14:05 -0700
Received: from blue.csi.cam.ac.uk [131.111.8.34] (ident = root) 
	by black.csi.cam.ac.uk with smtp 
	(Smail-3.1.29.0 #36) id m0t2ROs-000CC7C; Tue, 10 Oct 95 00:14 BST
Received: by blue.csi.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0t2ROs-0003vcC; Tue, 10 Oct 95 00:14 BST
Date: Tue, 10 Oct 1995 00:14:26 +0100 (BST)
From: Austin Donnelly <and1000@hermes.cam.ac.uk>
X-Sender: and1000@blue.csi.cam.ac.uk
Reply-To: and1000@cam.ac.uk
To: debian-bugs@pixar.com
Subject: Bug#1616: 'who' can't find utmp 
Message-Id: <Pine.SUN.3.91.951009235643.6199A-100000@blue.csi.cam.ac.uk>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


A recompile with libc-4.6.26-6 or later is all that's required - the path 
to utmp is taken from /usr/include/paths.h

Austin

Acknowledgement sent to and1000@cam.ac.uk:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1616; Package shellutils. Full text available.

Message received at debian-bugs:


From sgk.tiac.net!sgk Mon Oct  9 07:09:40 1995
Return-Path: <sgk@sgk.tiac.net>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t2Itg-000BFtC; Mon, 9 Oct 95 07:09 PDT
Received: from sgk.tiac.net by pixar.com with SMTP id AA13196
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 9 Oct 1995 07:09:15 -0700
Received: from sgk.tiac.net (sgk@sgk.tiac.net [127.0.0.1]) by sgk.tiac.net (8.6.12/8.6.10) with ESMTP id KAA03188 for <debian-bugs@pixar.com>; Mon, 9 Oct 1995 10:11:07 -0400
Message-Id: <199510091411.KAA03188@sgk.tiac.net>
Reply-To: sgk@sgk.tiac.net
To: debian-bugs@pixar.com
Subject: 'who' can't find utmp
Date: Mon, 09 Oct 1995 10:11:07 -0400
From: "Susan G. Kleinmann" <sgk@sgk.tiac.net>

Package: shellutils
Version: 1.12-3

---------
This is an addition to a bug report #1164 stating that 
   who --help 
incorrectly references /etc/[w|u]tmp.
---------

1. The man page for 'who' also says it uses /etc/utmp by default; this
is incorrect and needs to be changed.

2. 'who' may have another problem (I say 'may' because I'm not sure
   it isn't pilot error):
 
   When installing inn on my system a while ago, it seemed wise to make a 
   separate partition for /var.  Most things seemed to go OK.  But when I 
   run 'who' now, I get the message:

   who: /var/adm/utmp: No such file or directory

   That's true.  utmp is certainly not in /var/adm.  It is in /var/run,
   which is exactly where the man pages for login and init say it ought to be.

---------
Suggestion:

It may be that the file defaults need to be fixed in 3 places: 
a) the help message for 'who'
b) the man page for 'who'
c) the executable for 'who'

--------
I'm using dpkg-1.0.1-0 and kernel image 1.2.13-3

Best Regards,
Susan Kleinmann

Acknowledgement sent to sgk@sgk.tiac.net:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1616; Package shellutils. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov