Bug#798629: procps: w and who do not view any logged in users
Am Montag, 19. Dezember 2016, 00:12:38 CET schrieb Michael Biebl: > Control: tags -1 + moreinfo unreproducible > > On Sat, 12 Sep 2015 11:14:32 +0200 Martin Steigerwald > > wrote: > > Am Samstag, 12. September 2015, 08:09:26 CEST schrieb Craig Small: > > > On Fri, Sep 11, 2015 at 10:55:47AM +0200, Martin Steigerwald wrote: > > > > I find that on my current system w and who are not displaying any users: > > > [...] > > > > > > > Today there was a systemd upgrade to 226-1. I am not sure whether it > > > > is > > > > related. > > > > > > > > I have no idea what package to report this against, as it does not > > > > appear > > > > to be either procps (for w) or coreutils (who). Feel free to reassign > > > > as > > > > you see fit. > > > > > > Yeah, I suspect its neither but both are victims of whatever is (not) > > > updating /var/run/utmp > > > > > > Run utmpdump /var/run/utmp and see if you have entries. If you do it's > > > more likely w and who, I suspect there won't be much there and its a > > > systemd-login problem not updating that file correctly. > > > > Craig, it seems the utmp file is basically empty except the reboot and the > > logged out already tty1 session. > > > > merkaba:~> LANG=C utmpdump /var/run/utmp > > Utmp dump of /var/run/utmp > > [2] [0] [~~ ] [reboot ] [~ ] [4.2.0-tp520-btrfstrim+] > > [0.0.0.0] [Sat Sep 12 11:05:25 2015] [1] [00053] [~~ ] > > [runlevel] [~ ] [4.2.0-tp520-btrfstrim+] [0.0.0.0] [Sat > > Sep 12 11:05:28 2015] [6] [01704] [tty1] [LOGIN ] [tty1] [ > > ] [0.0.0.0] [Sat Sep 12 11:05:28 2015] > > merkaba:~> w > > > > 11:12:29 up 5 min, 0 users, load average: 0,30, 0,67, 0,36 > > > > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > merkaba:~> who > > merkaba:~> > > > > I suspected systemd-logind already, but I was not sure about it. Feel free > > to reassign as you see fit. > > Can you still reproduce the issue? > Seems w and who is working fine here with v232 on an up-to-date system. Appears to work here as well. Feel free to close. Thanks, -- Martin
Bug#798629: procps: w and who do not view any logged in users
Control: tags -1 + moreinfo unreproducible On Sat, 12 Sep 2015 11:14:32 +0200 Martin Steigerwald wrote: > Am Samstag, 12. September 2015, 08:09:26 CEST schrieb Craig Small: > > On Fri, Sep 11, 2015 at 10:55:47AM +0200, Martin Steigerwald wrote: > > > I find that on my current system w and who are not displaying any users: > > [...] > > > > > Today there was a systemd upgrade to 226-1. I am not sure whether it is > > > related. > > > > > > I have no idea what package to report this against, as it does not appear > > > to be either procps (for w) or coreutils (who). Feel free to reassign as > > > you see fit. > > > > Yeah, I suspect its neither but both are victims of whatever is (not) > > updating /var/run/utmp > > > > Run utmpdump /var/run/utmp and see if you have entries. If you do it's > > more likely w and who, I suspect there won't be much there and its a > > systemd-login problem not updating that file correctly. > > Craig, it seems the utmp file is basically empty except the reboot and the > logged out already tty1 session. > > merkaba:~> LANG=C utmpdump /var/run/utmp > Utmp dump of /var/run/utmp > [2] [0] [~~ ] [reboot ] [~ ] [4.2.0-tp520-btrfstrim+] > [0.0.0.0] [Sat Sep 12 11:05:25 2015] > [1] [00053] [~~ ] [runlevel] [~ ] [4.2.0-tp520-btrfstrim+] > [0.0.0.0] [Sat Sep 12 11:05:28 2015] > [6] [01704] [tty1] [LOGIN ] [tty1] [] [0.0.0.0 > ] [Sat Sep 12 11:05:28 2015] > merkaba:~> w > 11:12:29 up 5 min, 0 users, load average: 0,30, 0,67, 0,36 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > merkaba:~> who > merkaba:~> > > I suspected systemd-logind already, but I was not sure about it. Feel free > to reassign as you see fit. Can you still reproduce the issue? Seems w and who is working fine here with v232 on an up-to-date system. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#798629: procps: w and who do not view any logged in users
On Sat, Sep 12, 2015 at 11:14:32AM +0200, Martin Steigerwald wrote: > Craig, it seems the utmp file is basically empty except the reboot and the > logged out already tty1 session. Which means w is reporting "correctly" from the utmp file point of view. > I suspected systemd-logind already, but I was not sure about it. Feel free > to reassign as you see fit. I have done so and noted that this bug affects (but it is not caused by) procps. It might help the systemd people if you tell them what version of systemd you are running but I'm sure they have other questions too. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
Bug#798629: procps: w and who do not view any logged in users
reassign 798629 systemd retitle 798629 systemd-logind not updating utmp affects 798629 procps -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
Bug#798629: procps: w and who do not view any logged in users
Am Samstag, 12. September 2015, 08:09:26 CEST schrieb Craig Small: > On Fri, Sep 11, 2015 at 10:55:47AM +0200, Martin Steigerwald wrote: > > I find that on my current system w and who are not displaying any users: > [...] > > > Today there was a systemd upgrade to 226-1. I am not sure whether it is > > related. > > > > I have no idea what package to report this against, as it does not appear > > to be either procps (for w) or coreutils (who). Feel free to reassign as > > you see fit. > > Yeah, I suspect its neither but both are victims of whatever is (not) > updating /var/run/utmp > > Run utmpdump /var/run/utmp and see if you have entries. If you do it's > more likely w and who, I suspect there won't be much there and its a > systemd-login problem not updating that file correctly. Craig, it seems the utmp file is basically empty except the reboot and the logged out already tty1 session. merkaba:~> LANG=C utmpdump /var/run/utmp Utmp dump of /var/run/utmp [2] [0] [~~ ] [reboot ] [~ ] [4.2.0-tp520-btrfstrim+] [0.0.0.0 ] [Sat Sep 12 11:05:25 2015] [1] [00053] [~~ ] [runlevel] [~ ] [4.2.0-tp520-btrfstrim+] [0.0.0.0 ] [Sat Sep 12 11:05:28 2015] [6] [01704] [tty1] [LOGIN ] [tty1] [] [0.0.0.0 ] [Sat Sep 12 11:05:28 2015] merkaba:~> w 11:12:29 up 5 min, 0 users, load average: 0,30, 0,67, 0,36 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT merkaba:~> who merkaba:~> I suspected systemd-logind already, but I was not sure about it. Feel free to reassign as you see fit. Thanks, -- Martin
Bug#798629: procps: w and who do not view any logged in users
On Fri, Sep 11, 2015 at 10:55:47AM +0200, Martin Steigerwald wrote: > I find that on my current system w and who are not displaying any users: [...] > Today there was a systemd upgrade to 226-1. I am not sure whether it is > related. > > I have no idea what package to report this against, as it does not appear > to be either procps (for w) or coreutils (who). Feel free to reassign as > you see fit. Yeah, I suspect its neither but both are victims of whatever is (not) updating /var/run/utmp Run utmpdump /var/run/utmp and see if you have entries. If you do it's more likely w and who, I suspect there won't be much there and its a systemd-login problem not updating that file correctly. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
Bug#798629: procps: w and who do not view any logged in users
Package: procps Version: 2:3.3.11-2 Severity: important Dear Maintainer, I find that on my current system w and who are not displaying any users: merkaba:~> w 10:52:35 up 7 min, 0 users, load average: 0,77, 0,89, 0,53 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT merkaba:~> who merkaba:~> Today there was a systemd upgrade to 226-1. I am not sure whether it is related. I have no idea what package to report this against, as it does not appear to be either procps (for w) or coreutils (who). Feel free to reassign as you see fit. Thanks, Martin -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-tp520-btrfstrim+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages procps depends on: ii initscripts 2.88dsf-59.2 ii libc6 2.19-19 ii libncurses5 6.0+20150810-1 ii libncursesw5 6.0+20150810-1 ii libprocps52:3.3.11-2 ii libtinfo5 6.0+20150810-1 ii lsb-base 4.1+Debian14 Versions of packages procps recommends: ii psmisc 22.21-2.1 procps suggests no packages. -- no debconf information