Bug 45340 - Download- & update mechanism for univention-system-check
Download- & update mechanism for univention-system-check
Status: RESOLVED FIXED
Product: UCS
Classification: Unclassified
Component: Sysinfo
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Jannik Ahlers
Arvid Requate
:
Depends on: 40461
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-07 12:19 CEST by Arvid Requate
Modified: 2017-11-01 12:41 CET (History)
7 users (show)

See Also:
What kind of report is it?: Feature Request
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): Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2017-09-07 12:19:10 CEST
Customers should have a way to automatically download the new univention-system-check tool (Bug #40461) from our website and keep it updated.

curl -OOs https://updates.software-univention.de/download/univention-system-check/univention-system-check.tar.gz{,.gpg}
gpgv --keyring /usr/share/keyrings/univention-archive-key-ucs-4x.gpg \
     univention-system-check.tar.gz.gpg univention-system-check.tar.gz
tar -xzf  univention-system-check.tar.gz


That way we may decide later to create a nagios-check which runs the script or a UMC diagnostic module which runs it on demand. But that's not part of this bug.
Comment 1 Arvid Requate univentionstaff 2017-09-07 12:22:04 CEST
A Debian package should be created in UCS 4.2-2.
Comment 2 Jannik Ahlers univentionstaff 2017-09-19 13:19:07 CEST
A debian package was created, it can be found in the branch ’jahlers/bug45340’ on gitlab.
Comment 3 Florian Best univentionstaff 2017-09-19 13:41:06 CEST
(In reply to jahlers from comment #2)
> A debian package was created, it can be found in the branch
> ’jahlers/bug45340’ on gitlab.
I made a lot of comments. Could you please consider these notes and adapt the code/files accordingly.
https://git.knut.univention.de/univention/ucs/commit/abc299b6b9740bad463c1929f97432622c8511af
Comment 4 Jannik Ahlers univentionstaff 2017-09-19 14:34:10 CEST
I applied the comments. Hopefully I didn't miss any.
Comment 5 Florian Best univentionstaff 2017-09-19 15:03:04 CEST
ucslint shows the following errors:

W:0011-13: debian/control: ucslint is missing in Build-Depends
E:0004-12: conffiles/etc/cron.d/univention-system-check-downloader: template file contains variables that are not registered in file entry:
        - server/role
E:0010-2: univention-system-check-downloader: file contains no copyright text block
E:0010-2: debian/rules: file contains no copyright text block
W:0007-2: debian/changelog: latest changelog entry does not contain bug/ticket/issue number

I added some more comments.
Comment 6 Jannik Ahlers univentionstaff 2017-09-19 17:04:15 CEST
Applied more comments.
Comment 7 Florian Best univentionstaff 2017-09-21 11:09:09 CEST
I reopen this issue because no Target Milestone is assigned.