Univention Bugzilla – Full Text Bug Listing |
Summary: | Radius fails to start after upgrade to UCS 4.4-2 - missing /etc/freeradius/3.0/proxy.conf.debian | ||
---|---|---|---|
Product: | UCS | Reporter: | Lukas Zumvorde <zumvorde> |
Component: | Radius | Assignee: | UCS maintainers <ucs-maintainers> |
Status: | RESOLVED WORKSFORME | QA Contact: | UCS maintainers <ucs-maintainers> |
Severity: | normal | ||
Priority: | P5 | CC: | brodersen, hahn, thorsten.strusch |
Version: | UCS 4.4 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 4: Minor Usability: Impairs usability in secondary scenarios |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.046 | 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: | |||
Bug Depends on: | 42535 | ||
Bug Blocks: | |||
Attachments: | 50303-radius-proxy.cfg |
Description
Lukas Zumvorde
2019-10-02 14:11:07 CEST
Mixed tabs and spaces should not be problem in "/etc/freeradius/3.0/sites-available/inner-tunnel". At least my test system has no problem with that. The missing "proxy.conf.debian" does indeed stop the server from starting. But I'm not sure why it was missing in the first place. In my test system with a fresh radius install i had this tab at exactly the same spot as the customer. My system was installed at version 4.4-1 and has not been updated. The ".debian" files are normally diverted by UCR when it replaces a Debian conffiles with an UCR template file: The original files gets renamed to ".debian" and the original path is replaced by the generated file. It might have happened that the file was not `dpkg-divert`ed correctly or that during a package update the file was updated / removed without honoring the diversion correctly. `dpkg` honors them internally, but if a maintainer scripts touches the file and does not explicitly check for diversions, the file might get mishandled. Maybe `ucf` is used to manage that file? customer here :-) There is no divert to this file: ``` root@radius:~# LANG=C dpkg-divert --list | grep radius diversion of /etc/freeradius/modules/ldap to /etc/freeradius/modules.ldap.debian by univention-radius diversion of /etc/freeradius/modules/mschap to /etc/freeradius/modules.mschap.debian by univention-radius ``` After the update from 2 to 3 the freeradius-config had to be moved manually to the folder 3.0/. Probably the file got lost during this upgrade. The .bash_history does not go back that far on the system. :-/ The mixed indentation is just annoying at this point, but produces no errors. best regards /thorsten The inclusion of 'proxy.conf.debian` was done by Bug #42535 for UCS-4.3-3 with git:539df6009bb etc/freeradius/3.0/proxy.conf is registered to be replaced by an UCR template in debian/univention-radius.univention-config-registry (In reply to Thorsten Strusch from comment #4) > There is no divert to this file: But itt should be, but due to Bug #28284 that file might not have get updated. > After the update from 2 to 3 the freeradius-config had to be moved manually to the folder 3.0/. Probably the file got lost during this upgrade. At least the move should have happened automatically by Bug #46263 during the upgrade from UCS 4.2-5 to 4.3-0. Actually the old UCR templates for v2 only got removed and new ones for v3 got added. Moving anything manually should never be needed unless you modified some files there manually, which confused `dpkg`. If you still have that system please provide the output of the following two commands before and after an (failed) update: dpkg-query -W -f '${Conffiles}\n' freeradius-config freeradius | grep -F proxy.conf find /etc/freeradius -name 'proxy.conf*' -exec md5sum {} + I have tested this upgrade from 4.2-4 to 4.3-3 and afterwards I had both /etc/freeradius/3.0/proxy.conf{,.debian}. Not that with [4.3-0 … 4.3-2] you will not have the `proxy.conf.debian` file as it only gets diverted with 4.3-3. As UCS << 4.4-8 is out-of-maintenance and we will not release errata for old releases → WORKS-FOR-ME / WONT-FIX Created attachment 10906 [details]
50303-radius-proxy.cfg
|