Red Hat Bugzilla – Bug 453636
/var/log created with wrong xattributes.
Last modified: 2009-08-09 15:00:39 EDT
Description of problem:
This is so strange, I went to tail /var/log/messages, and discovered I have no
log files other than /var/log/yum.log. I am using pretty much a generic Fedora
9 install, with no changes to /etc/rsyslog.conf. rsyslogd is running, but no
log files are being created.
After I decided to send a HUP to rsysctl, and discovered the problem was
/var/log was created with the wrong xattributes by the Fedora 9 install.
I did 'restorecon -v /var/log && pkill -HUP rsysctld' and now everything is
Version-Release number of selected component (if applicable):
I haven't tried.
Steps to Reproduce:
1. Install Fedora 9 with an encrypted root from the install DVD with SELinux in
/var/log has wrong xattributes. No messages are logged.
/var/log should have correct attributes.
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Thanks for report and sorry for late response - just got maintainance of that package. Does the issue still persist? Does it apply for later Fedoras(as F-9 is almost EOL)? Could you, please, provide ls -lZd /var/log before restorecon? Anyway - such thing can't be easily solved in filesystem package itself, I guess it is more for anaconda installer or something like this (as I guess there are no %post scriptlets allowed in filesystem and i can't restorecon (due to dependency loop) in filesystem package).
Changing version to F-10 to prevent autoclosing ...
Closing insufficient data (as reported against EOL F-9 and likely not so urgent as initial report). Feel free to reopen that bugzilla if you still experience that issue with current Fedora.