Open lsk5201 opened 4 months ago
The same error on running rootless podman. File persmissions looks good.
podman unshare ls -al /home/joe/MQTT/config/
total 16
drwxr-xr-x 1 1883 1883 94 Mar 6 16:19 .
drwxr-xr-x 1 1883 1883 26 Mar 5 19:32 ..
-rw-r----- 1 1883 1883 630 Mar 5 18:01 aclfile
-rw-r----- 1 1883 1883 6 Mar 6 16:19 mosquitto.conf
-rw-r----- 1 1883 1883 1057 Mar 5 18:29 mosquitto.old
-rw-r----- 1 1883 1883 0 Mar 5 18:01 pskfile
-rw-r----- 1 1883 1883 597 Mar 5 18:01 pwfile
podman run -it --name mosquitto -p 1883:1883 \
-v /home/joe/MQTT/config:/mosquitto/config \
-v /home/joe/MQTT/data:/mosquitto/data \
-v /home/joe/MQTT/log:/mosquitto/log \
eclipse-mosquitto:openssl
1709739091: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
2024/2/11 21:37:15 1707658635: Error: Unable to open config file /mosquitto/config/mosquitto.conf.