[FEDORA/SELinux] chronyd chronyd.pid
Hi,
on a fresh Fedora 2.6.35.9-64.fc14.x86_64 installation I have little trouble with chrony. I love that tool for synchronyzing my clock. SELinux complains, that /usr/sbin/chronyd like to read/write to chronyd.pid. Further I find entries in /var/log/messages, that /var/lib/chrony/drift could not be opened. As I'm completely new to SELinux - I'd like to get some help setting the Security Rules. Thanks in advance Basti PS: Should the rules be quite fine from the FC-Repo? |
Quote:
Quote:
|
Hi,
thank you for your answeg. Quote:
I forget another detail: chronyd ist running fine now (found with ps aux|grep chrony) - but there are no files in /var/log/chrony. Sag again. I just looked for further entries in /var/log/messages - I'll post them here: Code:
[root@Fedo chrony]# grep -i chronyd /var/log/messages |grep setroubleshoot Running sealert returns "Queary_alerts error (1003): id not found... Any further ideas? Merry christmas Greets Bastian |
What does this return: 'grep chronyd /var/log/audit/audit*|audit2allow' ?
|
Hi unSpawn,
happy new year! Sorry for the late answer - I was not able to connect to the machine remote. Here is the output: Quote:
Code:
grep chronyd /var/log/audit/audit*|audit2allow Greets Bastian |
Quote:
Quote:
Do submit these local rules to the Fedora bug tracker or the Chrony developers please. |
Quote:
thank you for your explanations and help. It now seems to be fine - but still no files in /var/log/chrony got created. As mentioned above, I created a bug: https://bugzilla.redhat.com/show_bug.cgi?id=667301 Thanks again Bastian |
Quote:
Quote:
|
Quote:
The command line pgrep -lf chrony results in Code:
2421 /usr/sbin/chronyd -u chrony The only matching file to /etc/*syslog* is rsyslog.conf - which I did not change... Thanks for your help. Greets Bastian |
Quote:
What does 'stat /var/log/chrony' say? What happens if you touch the log file names in /var/log/chrony/ and restart the daemon? Does '/usr/sbin/lsof -Pwlnp `pgrep chronyd`' show it has log files open? Does syslog show any Chrony warnings or informational messages? |
Solved
Quote:
okay - I fixed one error: In the config-file /etc/chrony.conf there is the log-dir set - and in the following line, the instances which should be logged have been marked as comment... Sorry I should have seen that before. Thanks again for all your help! |
NP, you're welcome.
|
All times are GMT -5. The time now is 09:12 PM. |