[Pkg-freeradius-maintainers] Bug#920345: Bug#920345: freeradius: running freeradius with debug(-X) option breaks systemd unit

Mariusz Gronczewski xani666 at gmail.com
Thu Jan 24 14:36:58 GMT 2019


In our case it was enough to add dropin changing execstart to include
-f and type to simple:

ExecStart=/usr/sbin/freeradius -f $FREERADIUS_OPTIONS
Type=simple

What do you mean by "it is expected" ? Currently enabling debug (by
setting FREERADIUS_OPTIONS="-X") cause it to enter restart loop,
surely that isn't an expected behaviour ?

On Thu, 24 Jan 2019 at 13:52, Michael Stapelberg <stapelberg at debian.org> wrote:
>
> Yes, this is expected. What change are you suggesting?
>
> On Thu, Jan 24, 2019 at 1:45 PM Mariusz Gronczewski <xani666 at gmail.com> wrote:
>>
>> Package: freeradius
>> Version: 3.0.12+dfsg-5+deb9u1
>> Severity: normal
>>
>> Currently the type of systemd service is forking.
>>
>> Adding debug to cmdline causes freeradius to run in foreground (and dump debug
>> to stdout), which means systemd timeouts on starting service because it assumes
>> it will fork.
>>
>> Changing type to simple, and adding -f (run in foreground) option in unit file
>> fixes that
>>
>>
>>
>>
>> --
>> Mariusz Gronczewski (XANi) <xani666 at gmail.com>
>> GnuPG: 0xEA8ACE64
>>
>> _______________________________________________
>> Pkg-freeradius-maintainers mailing list
>> Pkg-freeradius-maintainers at alioth-lists.debian.net
>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-freeradius-maintainers
>
>
>
> --
> Best regards,
> Michael



-- 
Mariusz Gronczewski (XANi) <xani666 at gmail.com>
GnuPG: 0xEA8ACE64



More information about the Pkg-freeradius-maintainers mailing list