Univention Bugzilla – Bug 33807
Transfer UCS component installation status
Last modified: 2014-07-31 12:41:58 CEST
The user agent string of the univention-updater should be extended by the information which UCS components are installed. To save bandwidth the information should be transmitted via a bit field. Therefore the bit position should be added to the UCS component app center ini files. For example: dhcp-server.ini: bitpostion=1 samba4.ini: bitpostion=2 fetchmail.ini: bitpostion=5 If fetchmail an samba4 are installed the number 18 is transferred (10010), if fetchmail and dhcp-server are installed 17 is transferred. The value should be saved in a UCR variable and this variable should be set through an apt-get hook.
We discussed it again and we would also be nice to transfer the installation status of the apps. But in this case the value gets very big. Maybe we find a better way to save bandwidth.
Maybe the existing Debian solution would be an option: http://packages.qa.debian.org/p/popularity-contest.html popcon supports vendor profiles to submit to hosts other than popcon.debian.org It already features mechanisms to differentiate between packages which are solely installed and actively used: http://popcon.debian.org/: inst : number of people who installed this package; vote : number of people who use this package regularly; old : number of people who installed, but don't use this package regularly; recent : number of people who upgraded this package recently; Die Verwendung wird anhand der atime der Dateien geprüft.
Created attachment 5795 [details] Testcase Create Single- and Multi-Template-File in all combinations → ucs-test?
Comment on attachment 5795 [details] Testcase Wrong Bug #33842
A better solution would be: - adding a 2 char acronym to every ini file - adding a test case to ensure the acronyms are unique - the app center sets an UCR variable with the installed apps - the updater adds these list as comma separate list to the user agent string
(In reply to Stefan Gohmann from comment #5) > A better solution would be: > > - adding a 2 char acronym to every ini file > > - adding a test case to ensure the acronyms are unique > > - the app center sets an UCR variable with the installed apps See Bug #35177 > - the updater adds these list as comma separate list to the user agent string At this bug the user agent string should be extended, see conffiles/etc/apt/apt.conf.d/55user_agent.
The component status is read from the UCRV and sent via the apt-get user agent: univention-updater (9.0.41-4) Advisory updated: 2014-06-18-univention-updater.yaml
OK, that works. The components are not registered during the update, see Bug #35271. I've made small changes to the YAML file.
http://errata.univention.de/ucs/3.2/137.html
*** Bug 31813 has been marked as a duplicate of this bug. ***