Bug 58425 - The logfile /var/log/univention/radius_ntlm_auth.log is emptied during package update
Summary: The logfile /var/log/univention/radius_ntlm_auth.log is emptied during packag...
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Radius
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.2-2-errata
Assignee: Sönke Schwardt-Krummrich
QA Contact: Florian Best
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-26 12:30 CEST by Sönke Schwardt-Krummrich
Modified: 2025-07-02 14:51 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 2: Will only affect a 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.160
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2025-06-26 12:30:43 CEST
Upon package update the logfile /var/log/univention/radius_ntlm_auth.log is flushed and all its content gets lost.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2025-06-26 17:54:40 CEST
Package: univention-radius
Version: 9.2.3
Branch: ucs_5.2-0-errata5.2-2
Scope: errata5.2-2
Comment 3 Florian Best univentionstaff 2025-06-26 18:03:34 CEST
OK: update preserves log content
OK~: YAML

Commits:
univention-radius.yaml
48ea4cc48eef | chore(radius): update advisory
666d332d74ec | fix: do not drop content of existing radius_ntlm_auth.log

univention-radius (9.2.3)
666d332d74ec | fix: do not drop content of existing radius_ntlm_auth.log

Upgrade:
# grep -B1 fbest /var/log/univention/radius_ntlm_auth.log
2025-06-26 15:50:19,154 - radius-ntlm -    WARNING: [pid=111848; user=wsdcujq82z; mac=:::::] User is not allowed to authenticate via RADIUS
fbest                                         
# apt install univention-radius
…
The following packages will be upgraded:                                                                               
  python3-univention-radius univention-radius    
…
Get:1 http://omar.knut.univention.de/build2 ucs_5.2-0-errata5.2-2/all/ python3-univention-radius 9.2.3 [8,784 B]
Get:2 http://omar.knut.univention.de/build2 ucs_5.2-0-errata5.2-2/amd64/ univention-radius 9.2.3 [61.2 kB]
…
Preparing to unpack .../python3-univention-radius_9.2.3_all.deb ...
Unpacking python3-univention-radius (9.2.3) over (9.2.1) ...          
Preparing to unpack .../univention-radius_9.2.3_amd64.deb ...
Unpacking univention-radius (9.2.3) over (9.2.1) ...      
Setting up python3-univention-radius (9.2.3) ...  
…
# grep -B1 fbest /var/log/univention/radius_ntlm_auth.log
2025-06-26 15:50:19,154 - radius-ntlm -    WARNING: [pid=111848; user=wsdcujq82z; mac=:::::] User is not allowed to authenticate via RADIUS
fbest
Comment 4 Christian Castens univentionstaff 2025-07-02 14:51:48 CEST
<https://errata.software-univention.de/#/?erratum=5.2x135>