Bug 35084

Summary: univention-samba4-backup unable to delete sysvol backup
Product: UCS Reporter: Roman Dietiker <roman.dietiker>
Component: Samba4Assignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: gohmann, walkenhorst
Version: UCS 3.2   
Target Milestone: UCS 3.2-2-errata   
Hardware: All   
OS: Linux   
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:

Description Roman Dietiker 2014-06-10 13:38:32 CEST
The Script /usr/sbin/univention-samba4-backup can't locate the sysvol backups.
The script is looking for sysvol_*bz2, in the script as followed:
find $WHERE -name "sysvol_*bz2" -mtime +$DAYS -exec rm  {} \;

But the Backups are safed as: sysvol.2014-05-01.tar.bz2
done in the script here: tar cjf ${WHERE}/${n}.${WHEN}.tar.bz2  $relativedirname --warning=no-file-ignored

The _ in the find statement should be replaced by .


Errata level of the installation: 121
Comment 1 Felix Botner univentionstaff 2014-07-08 15:56:03 CEST
(In reply to Roman Dietiker from comment #0)
> ...
> The _ in the find statement should be replaced by .

Thanks, i fixed this in univention-samba4-backup

YAML: staging/2014-06-17-univention-samba4.yaml
Comment 2 Arvid Requate univentionstaff 2014-07-09 16:58:30 CEST
Verified.
Comment 3 Janek Walkenhorst univentionstaff 2014-07-10 13:35:23 CEST
http://errata.univention.de/ucs/3.2/142.html