Bug 39661 - italc-key files in sysvol dir causes sysvol-sync.sh to fail
italc-key files in sysvol dir causes sysvol-sync.sh to fail
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on: 39511
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-29 09:49 CET by Stefan Gohmann
Modified: 2019-01-03 07:17 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-10-29 09:49:25 CET
It also fails if italc-key files are stored in the sysvol dir

root@ucs:/var/lib/samba/sysvol/dom.de# find /var/cache/univention-samba4/sysvol-sync/ucs-1 -type f -o -type d | sort >/tmp/l2
(reverse-i-search)`vim': ^Cm /root/.ssh/known_hosts +244
root@ucs:/var/lib/samba/sysvol/dom.de# less /usr/share/univention-samba4/scripts/sysvol-sync.sh
root@ucs:/var/lib/samba/sysvol/dom.de# getfacl -span -R /var/cache/univention-samba4/sysvol-sync/ucs-1 | sed -ne 's/^# file: //p' | sort  >/tmp/l1
root@ucs:/var/lib/samba/sysvol/dom.de# diff /tmp/l1 /tmp/l2
8492a8493
> /var/cache/univention-samba4/sysvol-sync/ucs-1/dom.de/scripts/italc-key.pub
8505a8507
> /var/cache/univention-samba4/sysvol-sync/ucs-1/dom.de/scripts/italc-key_ucs-1.pub

Ticket #2015102921000119

+++ This bug was initially created as a clone of Bug #39511 +++

The new ACL check (all files and directories must have acl's set) causes the sysvol-sync.sh to fail if there is a link in the sysvol dir.

Ticket: 2015100521000691
Comment 1 Stefan Gohmann univentionstaff 2015-10-29 10:06:34 CET
Maybe I was too fast. Meanwhile, the ACLs have been set.
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:17:31 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.