Why don't you use Sernet Enterprise Samba?
(...) they do not provide RPMs for RHEL/CentOS 7. So this seems not to be an option.
As someone said before, you don't need to use "the latest and greatest" to run a functional service... On a production environment that is even often undesirable until things settle down...
Anyway, Sernet also provides a source rpm. Why not build up from that base?
On Mon, Sep 15, 2014 at 4:07 AM, Miguel Medalha miguelmedalha@sapo.pt wrote:
Why don't you use Sernet Enterprise Samba?
(...) they do not provide RPMs for RHEL/CentOS 7. So this seems not to be an option.
As someone said before, you don't need to use "the latest and greatest" to run a functional service... On a production environment that is even often undesirable until things settle down...
Anyway, Sernet also provides a source rpm. Why not build up from that base?
+1 However, the init scripts from the built RPMs may not be compatible with C7 (systemd). I believe the OP is having problems with starting the daemons not building the Samba4.
The Sernet Samba4 packages work like a champ on C6.5.
-- Arun Khan
Hi Miguel,
Miguel Medalha wrote:
Anyway, Sernet also provides a source rpm. Why not build up from that base?
CentOS 7 is using systemd - that would cause problems.
And anyway, I've used the package samba from CentOS-7 as base. This way, incmpatibilites with base samba4 are minimized (same paths etc.).
I've already written in this thread: It has turned out that selinux is the problem - turning off selinux helps.. But that is not really what you want to...And since the problem is selinux, I am not sure if Sernet's source would have anything changed.
Anyway, I do not think that my package is broken anymore since selinux configuration is a different thing.
Greetings
Markus
What AVC's is SELinux giving you?
On 09/15/2014 02:48 AM, Markus Steinborn wrote:
Hi Miguel,
Miguel Medalha wrote:
Anyway, Sernet also provides a source rpm. Why not build up from that base?
CentOS 7 is using systemd - that would cause problems.
And anyway, I've used the package samba from CentOS-7 as base. This way, incmpatibilites with base samba4 are minimized (same paths etc.).
I've already written in this thread: It has turned out that selinux is the problem - turning off selinux helps.. But that is not really what you want to...And since the problem is selinux, I am not sure if Sernet's source would have anything changed.
Anyway, I do not think that my package is broken anymore since selinux configuration is a different thing.
Greetings
Markus _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Daniel,
Daniel J Walsh wrote:
What AVC's is SELinux giving you?
Policy has been "enforcing" - and I see the folloqwing AVCs at the end of my audit log - but those repeated several times:
type=AVC msg=audit(1410628837.928:422): avc: denied { connectto } for pid=2330 comm="smbd" path="/run/samba/winbindd/pipe" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket type=AVC msg=audit(1410628852.301:430): avc: denied { connectto } for pid=2392 comm="smbd" path="/run/samba/ncalrpc/np/netlogon" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket
Greetings
Markus
On 09/16/2014 10:50 AM, Markus Steinborn wrote:
Hi Daniel,
Daniel J Walsh wrote:
What AVC's is SELinux giving you?
Policy has been "enforcing" - and I see the folloqwing AVCs at the end of my audit log - but those repeated several times:
type=AVC msg=audit(1410628837.928:422): avc: denied { connectto } for pid=2330 comm="smbd" path="/run/samba/winbindd/pipe" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket type=AVC msg=audit(1410628852.301:430): avc: denied { connectto } for pid=2392 comm="smbd" path="/run/samba/ncalrpc/np/netlogon" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket
This looks like you have something running as init_t that is listening on "/run/samba/winbindd/pipe"
ps -eZ | grep init_t
Greetings
Markus _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos