Thank you Miroslav!

Both options are working.

Br,
Goran Pregrad

-----Original Message-----
From: Miroslav Lichvar <mlich...@redhat.com> 
Sent: 27. siječnja 2020. 10:17
To: goran.preg...@gridclone.com
Cc: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] Running as service permission denied

On Fri, Jan 24, 2020 at 07:31:48PM +0100, goran.preg...@gridclone.com wrote:
> I am trying to run ptp4l as service on Centos 7 in Layer-2 mode, but 
> once service starts it logs messages:

> Jan 24 16:57:06 localhost.localdomain ptp4l[3169]: ptp4l[105018.567]: 
> socket
> failed: Permission denied

It's a selinux issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1759212

A workaround is to add a custom rule (module), or disable selinux.

--
Miroslav Lichvar




_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to