Bug 58033 - chown: warning: '.' should be ':': „root.DC Backup Hosts“
Summary: chown: warning: '.' should be ':': „root.DC Backup Hosts“
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.2-1-errata
Assignee: Florian Best
QA Contact: Johannes Lohmer
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-27 16:51 CET by Sönke Schwardt-Krummrich
Modified: 2025-04-02 14:09 CEST (History)
1 user (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?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
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:
best: Patch_Available+


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-02-27 16:51:24 CET
When joining a (UCS@school) 5.2 replica, the join.log contains the following output:

Configure 20univention-join.inst Thu Feb 27 16:24:37 CET 2025
2025-02-27 16:24:37.965358922+01:00 (in joinscript_init)
chown: warning: '.' should be ':': „root.DC Backup Hosts“
Object modified: cn=dcmitte,cn=dc,cn=server,cn=computers,ou=gsmitte,dc=ucs,dc=intra
2025-02-27 16:24:42.551813942+01:00 (in joinscript_save_current_version)

Currently the chown warning is only an optical issue.
Comment 1 Florian Best univentionstaff 2025-03-21 12:06:54 CET
diff --git management/univention-join/20univention-join.inst management/univention-join/20univention-join.inst
index 4ffe196b172..12b68d6e4f4 100755
--- management/univention-join/20univention-join.inst
+++ management/univention-join/20univention-join.inst
@@ -144,7 +144,7 @@ if [ "$server_role" = "domaincontroller_master" -o "$server_role" = "domaincontr
        if [ -e /etc/univention/ssl ]; then
                res=`find /etc/univention/ssl/ -group root`
                if [ -n "$res" ]; then
-                       find /etc/univention/ssl/ -group root | xargs chown root."DC Backup Hosts"
+                       find /etc/univention/ssl/ -group root | xargs chown root:"DC Backup Hosts"
                fi
        fi
 fi
Comment 3 Florian Best univentionstaff 2025-04-01 11:55:32 CEST
Reproduce:
chgrp root /etc/univention/ssl/master521.school.dev/req.pem
univention-run-join-scripts --force --run-scripts 20univention-join.inst

Fixed in:

univention-join.yaml
1a8edf630275 | feat(join): make use of chown future proof

univention-join (14.0.7)
1a8edf630275 | feat(join): make use of chown future proof
    prevent the warning `chown: warning: '.' should be ':': „root.DC Backup Hosts“` in `20univention-join.inst` when any file under /etc/univention/ssl belongs to the group `root`.
Comment 4 Johannes Lohmer univentionstaff 2025-04-01 11:56:10 CEST
problem reproduced ok
fix tested ok
errata yaml ok
package built ok
Comment 5 Christian Castens univentionstaff 2025-04-02 14:09:57 CEST
<https://errata.software-univention.de/#/?erratum=5.2x59>