Bug 1379 - missing utmpx
missing utmpx
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 1999-03-01 05:26 EST by enrico.scholz
Modified: 2014-03-16 22:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-06-23 17:03:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description enrico.scholz 1999-03-01 05:26:47 EST
I'am missing a ">/var/run/utmpx" in rc.sysinit which clears
the user database at glibc 2.1 systems.
Comment 1 Cristian Gafton 1999-03-18 18:38:59 EST
Fixed oon the beta release
Comment 2 enrico.scholz 1999-06-02 04:33:59 EDT
Bug seems to be back in the official release (initscripts-4.16) and in
the rawhide (4.19) version.

BTW1: /var/log/wtmpx should be handled (touch'ed, chmod'ed,...) like
BTW2: In the rawhide version /var/run will be cleared by rc.sysinit
*after* creation of utmp, so utmp will be removed also.
Comment 3 Bill Nottingham 1999-06-14 15:51:59 EDT
the accidental removal of utmp will be fixed in initscripts-4.20.
As for utmpx/wtmpx, currently it's ignored because nothing shipped
in RH6.0 should be using it...
Comment 4 enrico.scholz 1999-06-14 16:44:59 EDT
Yes, you are right. After introducing the utmpx/wtmpx stuff at my
system (early glibc2.1 ages), much new compiled programs where
configured to look for .tmpx files only.
So it seems more programs are using .tmpx than .tmp; but it's just my
problem :(, not yours.
Comment 5 Cristian Gafton 1999-06-16 11:18:59 EDT
enabling utmpx by default has the potential to screw up older
programs. This is something that the user/administrator of the bix has
to decide for himself.
Comment 6 Jeff Johnson 1999-06-21 05:04:59 EDT
But if the user has enabled utmpx, then initscripts needs to do
something like
	[ -s /var/run/utmpx ] && cp /dev/null /var/run/utmpx
Ditto wtmpx.
Comment 7 Bill Nottingham 1999-06-21 14:26:59 EDT
true, but it leads to the problem (at least in the current
initscripts) of determining behavior based on a file you've
alread deleted. :)
Comment 8 Bill Nottingham 1999-06-23 17:03:59 EDT
initscripts-4.22 will zero /var/run/utmpx, /var/log/wtmpx
if it finds them...

Note You need to log in before you can comment on or make changes to this bug.