Bug 15412 - Overwriting of /var/log/lastlog while upgrade
Overwriting of /var/log/lastlog while upgrade
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: setup (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-04 12:42 EDT by Enrico Scholz
Modified: 2014-03-16 22:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-04 12:42:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2000-08-04 12:42:57 EDT
The logfile /var/log/lastlog will be replaced by an empty file while
package-upgrade. It's better to consider it as %config(noreplace) in the
spec-file:

-%verify(not md5 size mtime) /var/log/lastlog
+ %verify(not md5 size mtime) %config(noreplace) /var/log/lastlog


Example:
$ lastlog
[... a lot of names and dates ...]
$ rpm -U  /usr/src/redhat/RPMS/noarch/setup-2.3.2-1.noarch.rpm
$ lastlog
$
Comment 1 Bill Nottingham 2000-08-07 00:12:52 EDT
Fixed in setup-2.3.4-1; thanks for the bug report.

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