*** This bug is a duplicate of bug 2152801 ***
https://bugs.launchpad.net/bugs/2152801
In AppArmor context, it might be a different bug.
- actual (maybe resolute, stonking) Ubuntu's systemd doesn't use utmp
mechanisms, and is using /run/systemd/sessions/.
- gnuwho has ability to read from systemd's dir, but actual AppArmor profile
prevent to access.
- so IMHO /etc/apparmor.d/who should have below to get valid result for gnuwho.
```
/run/systemd/sessions/* r,
```
Mitigation: To avoid this behavior, make /etc/apparmor.d/local/who and
write above one line, and exec to reload profile.
$ sudo apparmor_parser -r /etc/apparmor.d/who
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155139
Title:
'who' coreutils-from-uutils uucore/en-US.ftl apparmor denied
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2155139/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs