Freeradius configuration cannot be stored on a mapped Docker volume

nabble at felix.world nabble at felix.world
Tue Jan 23 09:21:15 UTC 2024


Hi Timothy, 

Could you share the debug output of radius, why it crashes??

- 
Lineconnect

> On 23. Jan 2024, at 01:48, Timothy Weaver <timothyweaver at gmail.com> wrote:
> 
> When attempting to include a volume mapping to anything under either the
> /etc/raddb or /etc/freeradius container folders, the container crashes on
> startup. Despite the original ticket being closed as a Docker issue, the
> behavior does not occur with non Freeradius containers.
> 
> For example, if the docker-compose.yml file includes:
> 
>    volumes:
>      - ./freeradius:/etc/freeradius
> 
> or
> 
>    volumes:
>      - ./raddb:/etc/raddb
> 
> This will not allow the container to start. Only a mapping to a specific
> file will work, but is sub-optimal because then you cannot persist anything
> in the mods-enabled folder.
> 
> While the documentation explicitly handles this persistence with the `COPY
> raddb/ /etc/raddb/` line, it seems this is a workaround to supporting a
> very standard way of handling it in the docker-compose.yml.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list