utmp records are not updated on boot

Solution Verified - Updated -

Issue

The systemd-update-utmp service unit is configured to run on system boot, utmp and wtmp records are not updated though. Subsequently, the runlevel command returns incorrect value. This makes other commands relying on output of this command, like sysv init scripts, inapplicable. Restart of the systemd-update-utmp service from command line can be used to fix the issue immediately, but this is not persistent across reboot.

Environment

RHEL 7
systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content