Univention Bugzilla – Bug 50634
os-release still identifies UCS as Debian
Last modified: 2023-04-20 16:27:45 CEST
# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" 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. base/univention-base-files/conffiles/etc/os-release: PRETTY_NAME="Univention Corporate Server @%@version/version@%@" NAME="Univention Corporate Server" VERSION_ID="@%@version/version@%@" VERSION="@%@version/version@%@ (@%@version/releasename@%@)" VERSION_CODENAME="@%@version/releasename@%@" ID="univention" ID_LIKE="debian" HOME_URL="https://www.univention.com/" SUPPORT_URL=" https://www.univention.com/products/support/" BUG_REPORT_URL="https://forge.univention.org/" ANSI_COLOR="0;31" CPE_NAME="cpe:/a:univention:univention_corporate_server"
CODENAME should no longer be set since UCS-5 with Bug #51460.
API-SPEC: <http://0pointer.de/blog/projects/os-release>
*** Bug 54226 has been marked as a duplicate of this bug. ***
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~5.1.0.202304131444 Branch: ucs_5.1-0 Package: base-files Version: 12.4A~5.2.0.202304131450 Branch: ucs_5.2-0 Package "lsb" has been reverted to the unpatched original Debian versions for UCS 5.1 and 5.2
r19999 | Bug #50634: Adapt os-release for UCS Package: base-files Version: 11.1+deb11u6A~5.1.0.202304181020 Branch: ucs_5.1-0 Package: base-files Version: 12.4A~5.2.0.202304181025 Branch: ucs_5.2-0
[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(-)