Automation Broker failed to startup due to permission denied for chown and chmod.
The detailed logs were captured in screenshot:
The content of the compose yaml file was like below:
version: "3"
services:
automation_broker:
image: docker.io/phantomsaas/automation_broker:6.4.1
restart: unless-stopped
environment:
# The Base URL for SOAR
- PHANTOM_BASE_URL=https://<stack_name>.soar.splunkcloud.com
- PUID=0
- PGID=0
# Optional: Proxy Settings for AB
# - http_proxy=http://<proxy_ip>:<proxy_port>
# - https_proxy=https://<proxy_ip>:<proxy_port> volumes:
- type: bind
source: /root/AutomationBroker/splunk_data
target: /splunk_data
bind:
create_host_path: trueThe host directory was owned by root user. And the PUID and PGID were configured accordingly in the compose yaml file.
[root@localhost AutomationBroker]# ls -l /root/AutomationBroker
drwxr-x---. 9 root root 108 Jun 24 07:47 splunk_data
Run "ls -lZ" to check the SELIUX context of the directory and find it is not labeled as container_file_t.
[root@localhost AutomationBroker]# ls -lZ /root/AutomationBroker
drwxr-x---. 9 root root unconfined_u:object_r:admin_home_t:s0 108 Jun 24 07:47 splunk_dataRevise the compose yaml file as below:
version: "3"
services:
automation_broker:
image: docker.io/phantomsaas/automation_broker:6.4.1
restart: unless-stopped
environment:
# The Base URL for SOAR
- PHANTOM_BASE_URL=https://<stack_name>.soar.splunkcloud.com
- PUID=0
- PGID=0
# Optional: Proxy Settings for AB
# - http_proxy=http://<proxy_ip>:<proxy_port>
# - https_proxy=https://<proxy_ip>:<proxy_port> volumes:
- /root/AutomationBroker/splunk_data:/splunk_data:Z
The volumes section is updated to have the ":Z" at the end which instructs Podman to apply the appropriate SELinux label (container_file_t) to the host directory.
The AB started successfully without permission issue:
Run "ls -lZ" to check the SELIUX context of the directory again and find it is labeled as container_file_t:
[root@localhost AutomationBroker]# ls -lZ /root/AutomationBroker
drwxr-x---. 9 root root system_u:object_r:container_file_t:s0:c190,c762 108 Jun 24 08:47 splunk_data
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |