Bug 155256
Summary: | /var/log/lastlog from setup conflicts with util-linux | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> | ||||||
Component: | util-linux | Assignee: | Karel Zak <kzak> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | rawhide | CC: | 13640887, kzak, n3npq, nobody+pnasrat, notting, roozbeh, tmraz | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 4.4.1-21 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-02-22 12:26:22 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 136450, 150222 | ||||||||
Attachments: |
|
Description
Robert Scheck
2005-04-18 16:47:12 UTC
Should be fixed in 2.5.42-1. No, it isn't; reopening :-( Preparing... ########################################### [100%] file /var/log/lastlog from install of setup-2.5.42-1 conflicts with file from package util-linux-2.12p-7 Bill, couldn't we remove owning /var/log/lastlog from setup package but require latest util-linux for example? No, beause if util-linux isn't installed first, it will get removed on update. util-linux.spec has: %ghost %attr(0400,root,root) %verify(not md5 size mtime) /var/log/lastlog setup.spec has: %ghost %attr(0400,root,root) %verify(not md5 size mtime) /var/log/lastlog Not sure what else to do here... Created attachment 113368 [details]
Ignore %ghost and %ghost file conflicts
We could be skipping %ghost file conflicts if both packages mark the file as
%ghost
The patch above addresses strictly %ghost and %ghost behaviour.
Using current Rawhide, installing of the setup package is possible without any problem or conflict. Can somebody confirm this? The bug is still there in FC4. Really?! Reopening as FC4Blocker until somebody of Red Hat says the opposite... I can confirm it: # rpm -U util-linux-2.12p-9.4.i386.rpm file /var/log/lastlog from install of util-linux-2.12p-9.4 conflicts with file from package setup-2.5.44-1 # rpm -q rpm rpm-4.4.1-21 Bill's comment #3 is true. There's %ghost in both packages. %post in util-linux: touch /var/log/lastlog chown root:root /var/log/lastlog chmod 0400 /var/log/lastlog And *WHY* is this problem being reported against rpm? Skipping %ghost file conflicts is just the tip of an iceberg ... Created attachment 115544 [details]
setup vs util-linux rpmfi
Paul, can we *please* get rid of this problem very soon? It's very annoying and absolutely unnecessary! So the package setup avoids update of util-linux and the other way round! IMHO there are two possibilities: a) The Red Hat maintainers do fine RPM packaging (the way jbj prefers) b) Or we're using your workaround/hack from comment #4 This is a util-linux or setup, not an rpm, problem. rpm has flat zippo to say about what packages own what files. Reassigning to util-linux ... Paul, what's up with rpm-4.4.3? *** Bug 166959 has been marked as a duplicate of this bug. *** |