bin/103890: w(1) doesn't see sessreg'd entries in utmp

Andrew andrew at ugh.net.au
Thu May 21 14:50:07 UTC 2009


The following reply was made to PR bin/103890; it has been noted by GNATS.

From: Andrew <andrew at ugh.net.au>
To: bug-followup at freebsd.org, rich at math.missouri.edu
Cc:  
Subject: Re: bin/103890: w(1) doesn't see sessreg'd entries in utmp
Date: Fri, 22 May 2009 01:23:41 +1000 (EST)

 The problem is the tty or line name that sessreg inserts into utmp isn't a 
 device in /dev. That causes ttystat to fail and so the entry to be 
 skipped. It would probably be easy enough to cope with this and print out 
 the tty as - with no idle time or something if it is felt that would be a 
 correct solution.
 
 HTH,
 
 Andrew


More information about the freebsd-bugs mailing list