I don't know for sure how the files /etc/mtab and /etc/fstab are created, but I have a strong feeling that it should be owned as a ghost file by some package, presumable util-linux, thus: %ghost %{_sysconfdir}/mtab %ghost %{_sysconfdir}/fstab Currently it is unowned at creation time: [root@felicia]# rpm -qf /etc/mtab the file /etc/mtab does not belong to any package Perhaps fstab should be owned by the "setup" package, not sure. I could file another bug for that one. There could be some to me unknown policy that such files could be unowned, but never heard of it, so please enlighten me in that case.
This discussion might be relevant here https://www.redhat.com/archives/fedora-extras-list/2006-January/msg00183.html
Actually that post was what got me started. We had some discussion some time ago which led up to this policy and during that discussion I mentioned that there are still a few vital files in /etc that are unowned...
This is still an issue in Raw Hide as of 17 Feb 06: > rpm -qf /etc/fstab file /etc/fstab is not owned by any package
The /etc/fstab and mtab file are important for more packages. It means it should be stay there after "rpm -e util-linux". I think the setup package should be own it (or we can ignore it -- from my point of view it's real cosmetic problem).
Sounds reasonable. I've added those 2 files to setup with proper entries (%ghost etc) so they won't ever get overwritten or modified during updates, erases etc. Read ya, Phil
Confirmed fixed.
Thanks guys.