Fedora 22 upgrade - No GUI - /var/log/lastlog: No such file

asked 2015-08-21 16:11:55 -0500

Jimmy gravatar image

updated 2015-08-21 20:46:32 -0500

mether gravatar image

I did an update from Fedora 21 to 22 and now my system boot does not complete, it stops at:

Started Update UTMP about System Runlevel Changes

I switched to a console and I checked the logs with journalctl, I see that there is errors about various files, such as this message:

login[1139]: pam_lastlog(login:session): unable to open /var/log/lastlog: No such file or directory

when I check the file the permissions are as follow:

file: var/log/lastlog owner: root group: root user::--- group::--- other::---

I reinstalled the setup and util-linux packages and that reset the permissions on that file, but after a reboot it was back as above. I also try reinstalling Xorg and Gnome.

edit retag flag offensive close merge delete


Sometimes you get more information from a CLI than from the GUI. Open up a terminal and type this in: ls -l /var/log/lastlog and see what it says. This is what I get:

[joe@khorlia ~]$ ls -l /var/log/lastlog
-rw-r--r--. 1 root root 292584 Aug 17 18:54 /var/log/lastlog

This tells me that anybody can read the file, but only the owner (root) can write to it. What does yours say?

sideburns gravatar imagesideburns ( 2015-08-21 16:40:44 -0500 )edit