Univention Bugzilla – Bug 46263
univention-radius needs to be adjusted to freeradius 3
Last modified: 2019-02-19 17:49:59 CET
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
Jessie -> freeradius 2.2.5 Stretch -> freeradius 3.0.12 Upgrade notes: http://networkradius.com/doc/current/upgrading/
The notification-daemon package moved to unmaintained and plasma-workspace is installed as an alternative. The package should be moved back to maintained.
On a fresh system it works again. I still need to test 4.2 -> 4.3 upgrade. [4.3-0 854abddafd] Bug #46263: add /etc/freeradius/ssl directory creation to join script [4.3-0 4624d2d597] Bug #46263: update freeradius config to freeradius 3 [4.3-0 5a28f95b48] Bug #46263: update changelog
I added to test cases: [4.3-0 2dd3a0bce7] Bug #46263: add radius test section [4.3-0 40fac4112b] Bug #46263: changelog
please remove the dependency to univention-radius from ucs-test-radius Instead add something like "## packages: [ldap-utils]" to the tests. We don't install services with ucs-test-* packages as they may not fully configured on all systems and we end up with broken tests like http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/Apps/job/wordpress/job/App%20Autotest%20MultiEnv/SambaVersion=no-samba,Systemrolle=master/lastCompletedBuild/testReport/
(In reply to Felix Botner from comment #5) > please remove the dependency to univention-radius from ucs-test-radius > > Instead add something like "## packages: [ldap-utils]" to the tests. > > We don't install services with ucs-test-* packages as they may not fully > configured on all systems and we end up with broken tests like > http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/Apps/job/wordpress/ > job/App%20Autotest%20MultiEnv/SambaVersion=no-samba,Systemrolle=master/ > lastCompletedBuild/testReport/ Thanks, changed: [4.3-0 4c0897120d] Bug #46263: remove univention-radius dependency from debian/control
[4.3-0 8ba1d8f444] Bug #46263: enable freeradius.service [4.3-0 e2eae21003] Bug #46263: add maintscript for old templates [4.3-0 081e8fde60] Bug #46263: remove old diverts [4.3-0 49dcba95bc] Bug #46263: ensure radius knows the ldap secret to be able to bind [4.3-0 418eb5b99c] Bug #46263: changelog Note: 49dcba95bc should fix the jenkins tests
e4c9f7f0: fix 01_base/26check_logfiles_general
Update and newly installed systems works. The automated tests are successful on my test systems but they fail in Jenkins. I've created Bug #46478.
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".
*** Bug 46187 has been marked as a duplicate of this bug. ***