Bug 37819

Summary: UCR tmp_to_file file "__ucr__commit__" confuses apt-get (and possibly others) - 4.0-1
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UCRAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: best, botner, gohmann, jmm, petersen
Version: UCS 4.0   
Target Milestone: UCS 4.0-1-errata   
Hardware: Other   
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:
Bug Depends on: 35954    
Bug Blocks: 40077    

Description Philipp Hahn univentionstaff 2015-02-17 09:33:51 CET
+++ This bug was initially created as a clone of Bug #35954 +++

-> ls /etc/apt/sources.list.d/
15_ucs-online-version.list
20_ucs-online-component.list
20_ucs-online-component.list__ucr__commit__0.914667683074

-> apt-get update
...
N: Datei »20_ucs-online-component.list__ucr__commit__0.914667683074« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat
Comment 1 Philipp Hahn univentionstaff 2015-02-17 09:57:02 CET
r58118 | Bug #37819 UCR: Hide temporary commit files.
 Forward-port of Bug #35954: r58087 r58089

Package: univention-config-registry
Version: 10.0.1-7.479.201502170946
Branch: ucs_4.0-0
Scope: errata4.0-1

r58119 | Bug #37819 UCR: Hide temporary commit files YAML
 2015-02-17-univention-config-registry.yaml
Comment 2 Stefan Gohmann univentionstaff 2015-02-18 07:18:37 CET
Code review: OK

YAML: OK (r58186: fixed typo)

Tests: OK:

root@master401:~# ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list & ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list & ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list & ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list &
[1] 14376
[2] 14377
[3] 14378
[4] 14379
[5] 14380
[6] 14381
[7] 14382
[8] 14383
[9] 14384
[10] 14385
[11] 14386
[12] 14387
[13] 14388
[14] 14389
[15] 14390
[16] 14391
[17] 14392
[18] 14393
[19] 14394
[20] 14395
root@master401:~# File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list

root@master401:~# 
root@master401:~# ls -la /etc/apt/sources.list.d/       
total 16
drwxr-xr-x 2 root root 4096 Jan 17 19:23 .
drwxr-xr-x 6 root root 4096 Jan 17 14:10 ..
-rw-r--r-- 1 root root  731 Jan 17 14:10 15_ucs-online-version.list
-rw-r--r-- 1 root root 1263 Jan 17 19:23 20_ucs-online-component.list
-rw-r--r-- 1 root root    0 Jan 17 19:23 .20_ucs-online-component.list__ucr__commit__0.64770552952
Comment 3 Moritz Muehlenhoff univentionstaff 2015-02-24 08:23:17 CET
http://errata.univention.de/ucs/4.0/94.html