Sorry for the delay. It seems the shell (called by quake) will only
write a utmp entry if called as a login shell. As such, this is not a
coreutils issue. 'logname' reports based on utmp entries. If there is
none for this process, then there is no log name.
As such, marking Invalid (not a bug). Pl
@Thiago Crepaldi: Thank you for this new bit of data.
I tested it with guake on Karmic, and -- as guake defaults to when
installed -- I also found that I had no response to 'logname'.
I then set guake to run as a login shell (Preferences, "Run command as
login shell"), and 'logname' returned a co
Hello, i could reproduce this bug using ubuntu 9.04, server edition. It
works as designed on gnome-terminal, but it displays "logname: no login
name" when i am trying with guake terminal.
It looks this error is generated when the "logname" command is executed
without a terminal associated with the
Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering is this still an issue
for you? Thanks in advance
--
logname shows no login name anymore after upgrade
https:/
No it's still not working for me. Moreover also writing my own logname
with getlogname() is failing from a terminal under X but also working on
the tty.
But whoami works just fine.
I attached a strace of logname.
** Attachment added: "strace logname"
http://launchpadlibrarian.net/15643985/log
Thank you for taking the time to report this problem and help to improve
Ubuntu.
Are you still experiencing this problem with the final release of Ubuntu
8.04? I've checked and 'logname' returns correct results for me on a
terminal running under X.
** Changed in: coreutils (Ubuntu)
Status
Update: It works on the tty-shells but not from a terminal in an
x-session.
--
logname shows no login name anymore after upgrade
https://bugs.launchpad.net/bugs/205194
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs maili