Bug 50634 - os-release still identifies UCS as Debian
os-release still identifies UCS as Debian
Product: UCS
Classification: Unclassified
Component: General
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.1
Assigned To: Philipp Hahn
Florian Best
: 54226 (view as bug list)
Depends on:
Blocks: 46120 51460
  Show dependency treegraph
Reported: 2019-12-12 15:08 CET by Philipp Hahn
Modified: 2024-03-08 10:57 CET (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
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.011
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022110321000465
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2019-12-12 15:08:39 CET
# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION="9 (stretch)"

This breaks all kind of (automation) software as they wrongly identify UCS systems as Debian. This is also visible on every boot where "$PRETTY_NAME" is displayed.

See <man:os-release(1)>. Basically it replaces base/univention-base-files/conffiles/etc/lsb-release.


PRETTY_NAME="Univention Corporate Server @%@version/version@%@"
NAME="Univention Corporate Server"
VERSION="@%@version/version@%@ (@%@version/releasename@%@)"
SUPPORT_URL=" https://www.univention.com/products/support/"
Comment 1 Philipp Hahn univentionstaff 2020-09-18 16:22:11 CEST
CODENAME should no longer be set since UCS-5 with Bug #51460.
Comment 2 Philipp Hahn univentionstaff 2021-03-17 11:00:53 CET
API-SPEC: <http://0pointer.de/blog/projects/os-release>
Comment 3 Philipp Hahn univentionstaff 2021-12-10 11:08:35 CET
*** Bug 54226 has been marked as a duplicate of this bug. ***
Comment 5 Philipp Hahn univentionstaff 2023-04-17 11:48:40 CEST
r19989 | Bug #50634: Adapt os-release for UCS
r19990 | Bug #50634: Adapt os-release for UCS
r19991 | Bug #50634: Adapt os-release for UCS

Package: base-files
Version: 11.1+deb11u6A~
Branch: ucs_5.1-0

Package: base-files
Version: 12.4A~
Branch: ucs_5.2-0

Package "lsb" has been reverted to the unpatched original Debian versions for UCS 5.1 and 5.2
Comment 6 Philipp Hahn univentionstaff 2023-04-18 10:49:18 CEST
r19999 | Bug #50634: Adapt os-release for UCS

Package: base-files
Version: 11.1+deb11u6A~
Branch: ucs_5.1-0

Package: base-files
Version: 12.4A~
Branch: ucs_5.2-0
Comment 7 Philipp Hahn univentionstaff 2023-04-18 10:50:18 CEST
[preview/5.2-0] 76030ba73f test(lsb): New distribution: Ucs
 test/ucs-test/tests/01_base/20lsb_id | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
Comment 8 Florian Best univentionstaff 2024-03-04 10:44:31 CET
OK: name changed from Univention to UCS:
# lsb_release -is 2>/dev/null 

FYI: no changelog entry. If required, please reopen the bug.
Comment 9 Florian Best univentionstaff 2024-03-08 10:57:20 CET
ucs-test (10.0.10-62)
99369220d455 | test(lsb): New distribution: Ucs