[Samba] SerNet Samba3 argues with SELinux on CentOS 6.3

Moray Henderson Moray.Henderson at ict-software.org
Fri Sep 7 08:03:56 MDT 2012


Using SerNet's samba3-3.6.7-44.el6.x86_64, nmbd fails to start on CentOS
6.3.  The log.nmbd error is 

  [2012/09/07 14:30:42,  0] lib/util_sock.c:1369(create_pipe_sock)
    bind failed on pipe socket /var/lib/samba/nmbd/unexpected: Permission
denied
  [2012/09/07 14:30:42,  0] nmbd/nmbd_packets.c:48(nmbd_init_packet_server)
    ERROR: nb_packet_server_create failed: NT_STATUS_ACCESS_DENIED

There is a corresponding Access Vector Cache denial from SELinux
(selinux-policy-targeted-3.7.19-155.el6_3.noarch):

  1. 09/07/2012 14:30:42 nmbd unconfined_u:system_r:nmbd_t:s0 49 sock_file
create unconfined_u_object_r:samba_var_t:s0 denied 19914

Is there some SELinux option I can set, is this a bug in Samba 3.6.7 or
SELinux, or should I go back to using CentOS' build of Samba
(samba-3.5.10-125.el6.x86_64.rpm)?


Moray.
"To err is human; to purr, feline."







More information about the samba mailing list