Bug 46492 - univention-radius needs to be adjusted to freeradius 3
univention-radius needs to be adjusted to freeradius 3
Status: CLOSED FIXED
Product: UCS manual
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Stefan Gohmann
Jürn Brodersen
: interim-4
Depends on: 46263
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-05 14:14 CET by Stefan Gohmann
Modified: 2018-03-14 14:38 CET (History)
3 users (show)

See Also:
What kind of report is it?: Release Management
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2018-03-05 14:14:42 CET
The radius manual should be checked since the path for the clients.conf has been changed.

+++ This bug was initially created as a clone of Bug #46263 +++

univention-radius (5.0.0-2A~4.3.0.201712211509) wird eingerichtet ...
...
Calling joinscript 80univention-radius.inst ...
...
cp: reguläre Datei '/etc/freeradius/ssl/private.key' kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei '/etc/freeradius/ssl/cert.pem' kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
Invalid command 'gendh'; type "help" for a list.
chgrp: Zugriff auf '/etc/freeradius/ssl/private.key' nicht möglich: Datei oder Verzeichnis nicht gefunden
chgrp: Zugriff auf '/etc/freeradius/ssl/cert.pem' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/etc/freeradius/ssl/private.key' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/etc/freeradius/ssl/cert.pem' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/etc/freeradius/ssl/dh' nicht möglich: Datei oder Verzeichnis nicht gefunden
...

There is a /etc/freeradius/3.0/certs/, but no /etc/freeradius/ssl/
Confirmed by doing a "apt-get install univention-freeradius" inside a minimal Docker container using the following Dockerfile:

FROM phahn/ucs-minbase:430
ENV DEBIAN_FRONTEND noninteractive
RUN eval "$(sed -rne 's,^deb (.+/)([0-9]+)\.([0-9]+)/maintained/\2\.\3-([0-9]+) ucs[0-9]+ main,url=\1 major=\2 minor=\3 patch=\4,p' /etc/apt/sources.list)"&&(seq -f "$major.$minor-%.0f" $patch -1 1&&seq -f "$major.%.0f-0" $minor -1 0)|while read rel;do for arch in '$(ARCH)' all;do echo "deb [trusted=yes] ${url}${rel%-*}/unmaintained ${rel}/${arch}/";done;done|tee /etc/apt/sources.list.d/unmaintained.list
RUN apt-get -qq update && apt-get install --yes univention-radius
Comment 2 Jürn Brodersen univentionstaff 2018-03-09 17:16:34 CET
OK
Comment 3 Stefan Gohmann univentionstaff 2018-03-14 14:38:50 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".