Chris Jones wrote:
Paul Howarth wrote:
On Sun, 2006-06-25 at 23:16 +0100, Chris Jones wrote:
I am using FC5 on a generic Athlon x64 PC. I am having problems with
several services.
1. Dovecot refuses to start. When I attempt to start the service I
get a message in /var/log/messages as follows:
Jun 25 23:05:38 bilbo kernel: audit(1151273138.255:415): avc:
denied { create } for pid=1480 comm="dovecot"
scontext=user_u:system_r:dovecot_t:s0
tcontext=user_u:system_r:dovecot_t:s0 tclass=socket
Can anyone here give me a hint on what I need to do to get this
working? >From the log message, this seems to be something to do with
selinux.
Indeed it is. Some more diagnostic info would be useful. Can you post
the output of:
# ausearch -a 415
produces the output >
[root@bilbo network-scripts]# ausearch -a 415
-bash: ausearch: command not found
Clearly, I am missing this application. Where should it be? Which RPM?
It's in the "audit" package.
2. On Samba, I experience a different, but possibly related problem.
Samba starts, but I see the following message in the log every few
minutes:
Jun 25 23:09:25 bilbo smbd[1502]: Denied connection from
(192.168.0.5)
Jun 25 23:11:50 bilbo smbd[1513]: [2006/06/25 23:11:50, 0]
lib/access.c:check_access(328)
The other PC referred to in the log message is unable to even see the
linux share.
Any help here would be greatly appreciated.
Do you have a "hosts allow" line in /etc/samba/smb.conf ?
Yes. it reads > hosts allow = 192.168.0 127.
which has always worked in the past.
Try this:
hosts allow = 192.168.0. 127.
Paul.