Freeradius configuration cannot be stored on a mapped Docker volume
Timothy Weaver
timothyweaver at gmail.com
Tue Jan 23 17:30:13 UTC 2024
Unfortunately I can't because no logs are generated. Neither the console
nor a "docker logs freeradius" give any output.
On Tue, Jan 23, 2024 at 1:21 AM <nabble at felix.world> wrote:
> 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
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list