Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGDMk9F-sfsBBjGexb4x_vj3E2nfF5NUnHSc72m+VCwGXKrdiA@mail.gmail.com>
Date: Sat, 28 Mar 2015 17:26:06 -0400
From: John Mudd <johnbmudd@...il.com>
To: musl <musl@...ts.openwall.com>
Cc: John Mudd <johnbmudd@...il.com>
Subject: who: /dev/null/utmp: Not a directory

I got the error when trying to run "who" from musl compiled coreutils
package. I assume there's a good reason but I have to ask...

Why not set _PATH_UTMP to /var/run/utmp instead? Or set it at build time
based on actual utmp location?

./include/paths.h:#define _PATH_UTMP    "/dev/null/utmp"
./include/utmp.h:#define _PATH_UTMP "/dev/null/utmp"

John

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.