logname fails upon fresh Raspbian install

Bug #1758480 reported by Sean Erle Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

Original bug report on a separate project's tracker: https://github.com/jochemin/raspnode/issues/5

Upon initial install of Raspbian, the logname cli util does not work but instead provides the error message "logname: no login name". This is despite being logged in as the user "pi". Note that the problem persisted across a re-install. At least one other user reported the same issue in the linked original issue above.

My instance of this problem is with Raspian running on a Raspberry Pi 3, Model B from CanaKit. The other user stated they had this issue after downloading directly from https://www.raspberrypi.org/downloads/raspbian/ .

pi@hostname:~/.bitcoin $ uname -a
Linux hostname 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux

pi@hostname:~/.bitcoin $ dpkg -s libc6 | grep ^Version
Version: 2.24-11+deb9u3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.