Red Hat Bugzilla – Bug 177061
Some package should ghost-own /etc/mtab /etc/fstab
Last modified: 2015-03-04 20:15:28 EST
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:
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
This discussion might be relevant here
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).
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