Bug 57641 - Univention-Support-Info don't create the file under /tmp
Summary: Univention-Support-Info don't create the file under /tmp
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Sysinfo
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-9-errata
Assignee: Julia Bremer
QA Contact: Jürn Brodersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-07 13:15 CEST by Mirac Erdemiroglu
Modified: 2024-10-23 14:15 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024042421000051
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirac Erdemiroglu univentionstaff 2024-10-07 13:15:51 CEST
Customer effected 2024042421000051

Could reproduce the issue on my test system, here is the output:

UCS: 5.0-9 errata1126
Installed: cups=2.2.1 dhcp-server=12.0 samba4=4.16 self-service=5.0 squid=3.5 ucsschool=5.0 v6 ucsschool-veyon-proxy=4.9.0.8-ucs1
Upgradable:

root@mejneschool2:~# univention-report-support-info
Collected new Univention Support Info   
Download signature https://updates.software-univention.de/download/scripts/univention-support-info.gpg = 200
New version of the script installed
Starting Univention Support Info...
USI Archiver Version 68
Collecting command output: .....................................................done.
Collecting files: .................................................................................................................................................................................................
................................................................................................................................................................................................................don
e.
Searching for changed template files: done.
Collecting package lists: done.
Collecting output transaction-file-check: FAIL
Checking certificate validity: done.
Collecting hardware information: done.  
Collecting logfiles: ....................................................................................done.
Data collection completed.
The data can be found here:     /tmp/univention-support-info-d6iobrr4.tar.bz2
root@mejneschool2:~# ls -lah /tmp/
insgesamt 64K
drwxrwxrwt 15 root root 4,0K Okt  7 12:58 .
drwxr-xr-x 18 root root 4,0K Okt  7 09:30 ..
drwx------  2 root root 4,0K Okt  7 12:54 admincli_0
drwxrwxrwt  2 root root 4,0K Okt  2 15:39 .font-unix
drwxrwxrwt  2 root root 4,0K Okt  2 15:39 .ICE-unix
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-apache2.service-SkDj6I
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-colord.service-1CP0eP
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-dovecot.service-wHgMvS
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-haveged.service-nc3rC4
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-memcached.service-yTsELq
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-nagios-nrpe-server.service-Obh2MS
drwx------  3 root root 4,0K Okt  2 15:39 systemd-private-50447b6f5cd14f8eb5a18953d9e9f130-ntp.service-C4Oe8Y
drwxrwxrwt  2 root root 4,0K Okt  2 15:39 .Test-unix
-rw-------  1 root root 2,2K Okt  3 13:37 tmp7y0_bw_0
drwxrwxrwt  2 root root 4,0K Okt  2 15:39 .X11-unix
drwxrwxrwt  2 root root 4,0K Okt  2 15:39 .XIM-unix


I don't get it, if i use the article for, the USI will be created successfully:
https://help.univention.com/t/systeminformationen-fur-den-univention-support/6729

But our installed script should do the same, like in the article?!?
Comment 2 Julia Bremer univentionstaff 2024-10-21 09:31:26 CEST
Successful build
Package: univention-support-info
Version: 6.0.0-8
Branch: 5.0-0
Scope: errata5.0-9
User: jbremer

[univention-support-info] 36cc0cc Bug #57641: Don't remove archive file per default
[ucs] 5c55cacb3e fixup! Bug #57641: YAML
[ucs] 6a2ac7dfbc Bug #57641: YAML


The script `univention-report-support-info` now
keeps the generated archive per default.
The option `--cleanup` has been added to the script,
to overrule this new behavior.