[Icecast] "Could not create listener socket on port" error only when using systemd service

Michael C Cambria mcc at fid4.com
Tue Oct 17 12:37:37 UTC 2023



On 10/17/23 04:51, Petr Pisar wrote:
> V Mon, Oct 16, 2023 at 12:34:42PM -0700, Jordan Erickson napsal(a):
>> On 10/16/23 10:37, Michael C Cambria wrote:
>>> I'm using icecast via Fedora 37 package and systemd service to start.
>>>
>>> I've added multiple <listen-socket> but get:
>>>
>>> "EROR connection/connection_setup_sockets Could not create listener
>>> socket on port xxx"
>> *snip*
>>
> It's rather caused by a SELinux policy which only allows icecast daemon to
> listen on TCP/8000 port:
[deleted]


The problem does appear to be selinux related.  I was making changes 
remotely and didn't notice alerts until I had console access.  But why 
only via systemd?  When I started manually via bash things worked as 
expected?

Thanks,
MikeC






More information about the Icecast mailing list