Univention Bugzilla – Bug 35954
UCR tmp_to_file file "__ucr__commit__" confuses apt-get (and possibly others)
Last modified: 2015-11-24 11:19:17 CET
-> 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
This happened multiple times while internal update to 4.0 and in several customer enironments. These temporary files have to be created underneath /tmp, at least. I am not sure if we saw this on UCS 4 already.
This should be changed in 4.0 as well. (In reply to Tim Petersen from comment #1) > These temporary files have to be created underneath /tmp, at least. I am not > sure if we saw this on UCS 4 already. Maybe we could simple create files starting with a dot.
(In reply to Tim Petersen from comment #1) > I am not > sure if we saw this on UCS 4 already. I saw it yesterday at billy (UCS 4.0)
I have a UCS 4 system where this is currently the case if you need it. N: Datei »20_ucs-online-component.list__ucr__commit__0.423874846787« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
r58087 | Bug #35954 UCR: Hide temporary commit files. r58089 | Bug #35954 UCR: Hide temporary commit files. Hide UCR commit files be pre-pending a dot to the file name Package: univention-config-registry Version: 9.0.6-15.478.201502161031 Branch: ucs_3.2-0 Scope: errata3.2-4 r58088 | Bug #35954 UCR: Hide temporary commit files YAML r58091 | Bug #35954 UCR: Hide temporary commit files YAML 2015-02-16-univention-config-registry.yaml QA: aptitude install '?source-package(univention-config-registry)?installed QA: ucr --debug commit /etc/apt/sources.list.d/20_ucs-online-component.list QA: ^Z QA: ls -al /etc/apt/sources.list.d/ QA: LANG=C apt-get update TODO: Bug needs to be cloned to 4.0-x after QA
Code review: OK YAML: OK (r58185: fixed typo and bug number) Tests: OK root@master481:~# 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] 25491 [2] 25492 [3] 25493 [4] 25494 [5] 25495 [6] 25496 [7] 25497 [8] 25498 [9] 25499 [10] 25500 [11] 25501 [12] 25502 [13] 25503 [14] 25504 [15] 25505 [16] 25506 [17] 25507 [18] 25508 [19] 25509 [20] 25510 root@master481:~# ls -la /etc/apt/sources.list.d/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 insgesamt 24 drwxr-xr-x 2 root root 4096 18. Feb 07:26 . drwxr-xr-x 6 root root 4096 18. Feb 07:25 .. -rw-r--r-- 1 root root 57 18. Aug 2014 05univention-system-setup.list -rw-r--r-- 1 root root 2047 18. Feb 07:22 15_ucs-online-version.list -rw-r--r-- 1 root root 643 18. Feb 07:25 20_ucs-online-component.list -rw-r--r-- 1 root root 643 18. Feb 07:26 20_ucs-online-component.list.old -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.0471026088128 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.12207280052 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.175253879257 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.241868475838 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.272421182966 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.38916957743 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.39002721615 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.392084540219 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.431553150082 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.43944961919 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.446385005611 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.520975273272 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.591652202773 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.63840285675 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.669447108193 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.681224748082 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.949698749462 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.973641954558 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.979186060005 -rw-r--r-- 1 root root 0 18. Feb 07:26 .20_ucs-online-component.list__ucr__commit__0.998559995265 root@master481:~# ls -la /etc/apt/sources.list.d/ insgesamt 20 drwxr-xr-x 2 root root 4096 18. Feb 07:26 . drwxr-xr-x 6 root root 4096 18. Feb 07:25 .. -rw-r--r-- 1 root root 57 18. Aug 2014 05univention-system-setup.list -rw-r--r-- 1 root root 2047 18. Feb 07:22 15_ucs-online-version.list -rw-r--r-- 1 root root 643 18. Feb 07:26 20_ucs-online-component.list [1] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [2] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [3] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [4] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [5] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [6] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [7] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [8] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [9] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [10] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [11] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [12] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [13] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [14] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [15] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [16] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [17] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [18] Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [19]- Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list [20]+ Fertig ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list root@master481:~#
http://errata.univention.de/ucs/3.2/286.html