Comment 5 for bug 1813052

Revision history for this message
Tony Godshall (togo) wrote : Re: [Bug 1813052] Re: who returns no results

reassign 1813052 systemd

On Fri, Jan 25, 2019 at 3:17 PM A Godshall <email address hidden> wrote:
>
> OK, I found a workaround:
>
> $ sudo apt install systemd=229-4ubuntu4 libsystemd0=229-4ubuntu4 libpam-systemd=229-4ubuntu4
>
> Looks like it's not a coreutils nor a who issue, it's a systemd issue, perhaps related to backport, since I'm not seeing it on bionic.
>
> Of course next upgrade will break it again, until the packages are fixed.
>
>
> On Fri, Jan 25, 2019 at 12:17 PM A Godshall <email address hidden> wrote:
> >
> > Oh, and to be clear, this is a regression.
> >
> >
> > On Wed, Jan 23, 2019, 11:15 AM Anthony Godshall <<email address hidden> wrote:
> >>
> >> Attempting to diagnose, I had added /var/run/utmp and /var/run/utmpx as directories. I just removed those, same empty result:
> >> # who
> >> # who;echo $?
> >> 0
> >> # strace who
> >> execve("/usr/bin/who", ["who"], [/* 21 vars */]) = 0
> >> brk(NULL) = 0x1726000
> >> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> >> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
> >> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
> >> fstat(3, {st_mode=S_IFREG|0644, st_size=117369, ...}) = 0
> >> mmap(NULL, 117369, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7efc0bce0000
> >> close(3) = 0
> >> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
> >> open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
> >> read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
> >> fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
> >> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc0bcdf000
> >> mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7efc0b70e000
> >> mprotect(0x7efc0b8ce000, 2097152, PROT_NONE) = 0
> >> mmap(0x7efc0bace000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7efc0bace000
> >> mmap(0x7efc0bad4000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7efc0bad4000
> >> close(3) = 0
> >> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc0bcde000
> >> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc0bcdd000
> >> arch_prctl(ARCH_SET_FS, 0x7efc0bcde700) = 0
> >> mprotect(0x7efc0bace000, 16384, PROT_READ) = 0
> >> mprotect(0x60a000, 4096, PROT_READ) = 0
> >> mprotect(0x7efc0bcfd000, 4096, PROT_READ) = 0
> >> munmap(0x7efc0bce0000, 117369) = 0
> >> brk(NULL) = 0x1726000
> >> brk(0x1747000) = 0x1747000
> >> open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
> >> fstat(3, {st_mode=S_IFREG|0644, st_size=2981280, ...}) = 0
> >> mmap(NULL, 2981280, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7efc0b436000
> >> close(3) = 0
> >> 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)
> >> 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)
> >> close(1) = 0
> >> close(2) = 0
> >> exit_group(0) = ?
> >> +++ exited with 0 +++
> >> #
> >>
> >> --
> >> You received this bug notification because you are subscribed to the bug
> >> report.
> >> https://bugs.launchpad.net/bugs/1813052
> >>
> >> Title:
> >> who returns no results
> >>
> >> To manage notifications about this bug go to:
> >> https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1813052/+subscriptions
>
>
>
> --
> Best Regards.
> This is unedited.
> P-)

--
--
Best Regards.
This is unedited.
This message came out of me
via a suboptimal keyboard.