Previously non-root users could use the 'lastlog'. Now they get 'Permission denied'. This issue was caught by the Cockpit integration tests. Version-Release number of selected component (if applicable): * 2016-03-11 13:00:48 23.81 959ae205c4 fedora-atomic fedora-atomic:fedora-atomic/f23/x86_64/docker-host shadow-utils-4.2.1-3.fc23.x86_64 How reproducible: Every time Steps to Reproduce: 1. Boot Fedora Atomic 23.81 2. Log in as a non root user, such as 'fedora' 3. Run lastlog Actual results: $ lastlog /var/log/lastlog: Permission denied $ sudo ls -l /var/log/lastlog ----------. 1 root root 292584 Mar 15 07:46 /var/log/lastlog Expected results: $ lastlog Username Port From Latest root **Never logged in** ... $ sudo ls -l /var/log/lastlog -rw-r--r--. 1 root root 292584 Mar 15 03:49 /var/log/lastlog
RHEL Atomic Host has the same issue: https://bugzilla.redhat.com/show_bug.cgi?id=1317798
Colin this looks like an Atomic host bug that got lost in the noise,
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I can't reproduce this with a recent-ish vagrant box at least: https://atlas.hashicorp.com/fedora/boxes/23-atomic-host # atomic host status TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC * 2016-04-19 19:04:34 23.106 05052ae3bb fedora-atomic fedora-atomic:fedora-atomic/f23/x86_64/docker-host
I can reproduce with: TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC * 2016-06-07 01:00:21 23.131 aadcfe51ac fedora-atomic fedora-atomic:fedora-atomic/f23/x86_64/docker-host -bash-4.3# su fedora [fedora@localhost roothome]$ lastlog /var/log/lastlog: Permission denied
Same on RHEL Atomic: -bash-4.2# atomic host status TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC * 2016-05-06 05:57:30 7.2.4 b060975ce3 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard -bash-4.2# su cloud-user [cloud-user@localhost roothome]$ lastlog /var/log/lastlog: Permission denied
This is still the case on: fedora-atomic:fedora-atomic/f23/x86_64/docker-host Version: 23.174 (2016-09-01 18:44:32) and rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard Version: 7.2.6-1 (2016-08-18 16:01:03)
atomic-1.16.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2ad6948192
atomic-1.16.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cf5944a771
atomic-1.16.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cf5944a771
atomic-1.16.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2ad6948192
atomic-1.16.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e8cbc792c6
atomic-1.16.4-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e8cbc792c6
atomic-1.16.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.