Subject: Re: bug#24551: who doesn't read what man page says it does, so doesn't work

From: Assaf Gordon <[email-masked]>
Date: Sun, 28 Oct 2018 01:01:28 -0600

tags 24551 notabug
close 24551
stop

(triaging old bugs)

It seems your message was lost and not replied to in 2 years.
Sorry about that.

On 2016-09-26 7:40 p.m., L. A. Walsh wrote:
> manpage says:
>   If  FILE is not specified, use /var/run/utmp.  /var/log/wtmp as FILE is
>   common.
[...]
>     Behavior says:
> access("/var/run/utmpx", F_OK)          = -1 ENOENT (No such file or 
> directory)
> open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or 
> directory)

This seems like the behavior is exactly as described:
The manual says "/var/run/utmp",
and the open syscall was performed on "/var/run/utmp"

As such, I'm marking this as 'notabug'.
Discussion can continue by replying to this thread.

-assaf