[Pkg-freeradius-maintainers] Bug#954911: No longer creates /run/freeradius, prevents start with control-socket

Sven Hartge sven at svenhartge.de
Wed Mar 25 07:13:17 GMT 2020


Package: freeradius
Version: 3.0.20+dfsg-3+b1
Severity: important

Hello!

Since 3.0.20 and the switch to Type=notify as start mechanism, the
directory /run/freeradius is no longer automatically created,
resulting in a failure to start if the control-socket vhost is active:

,----[ /usr/sbin/freeradius -X
| radiusd: #### Opening IP addresses and Ports ####
| listen {
|         type = "control"
|  listen {
|         socket = "/var/run/freeradius/freeradius.sock"
|         peercred = yes
|  }
| Failed creating control socket "/var/run/freeradius/freeradius.sock": Failed binding to /var/run/freeradius/freeradius.sock: No such file or directory
|
`----

Solution is to provide a /usr/lib/tmpfiles.d/freeradius.conf with the
following content:

-----------8<----------
d /run/freeradius 750 freerad freerad -
-----------8<----------

Grüße,
Sven.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (200, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freeradius depends on:
ii  freeradius-common  3.0.20+dfsg-3
ii  freeradius-config  3.0.20+dfsg-3+b1
ii  libc6              2.30-2
ii  libcrypt1          1:4.4.15-1
ii  libct4             1.1.6-1.1
ii  libfreeradius3     3.0.20+dfsg-3+b1
ii  libgdbm6           1.18.1-5
ii  libpam0g           1.3.1-5
ii  libperl5.30        5.30.0-9
ii  libreadline8       8.0-4
ii  libsqlite3-0       3.31.1-4
ii  libssl1.1          1.1.1e-1
ii  libsystemd0        245.2-1
ii  libtalloc2         2.3.0-5
ii  libwbclient0       2:4.11.5+dfsg-1+b1
ii  lsb-base           11.1.0

Versions of packages freeradius recommends:
ii  freeradius-utils  3.0.20+dfsg-3+b1

Versions of packages freeradius suggests:
pn  freeradius-krb5        <none>
pn  freeradius-ldap        <none>
pn  freeradius-mysql       <none>
pn  freeradius-postgresql  <none>
pn  freeradius-python3     <none>
ii  snmp                   5.8+dfsg-2

-- debconf-show failed


More information about the Pkg-freeradius-maintainers mailing list