Bug 1104634 - save_y2logs does not depend on bzip2
save_y2logs does not depend on bzip2
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
Jiri Srain
Depends on:
  Show dependency treegraph
Reported: 2018-08-13 08:47 UTC by Fabian Vogt
Modified: 2018-08-13 15:03 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2018-08-13 08:47:50 UTC
This causes save_y2logs to fail on live media as bzip2 is not installed by anything else.

Comment 1 Josef Reidinger 2018-08-13 15:03:53 UTC
script should not use bzip2 when it is not available: https://github.com/yast/yast-yast2/blob/master/scripts/save_y2logs#L33

reason why it failed is explicit name for logs that contain bz2. So you explicitelly requested bz2 but it is not installed.

so script can work without compression, but not when compression is requested.
and we report it properly:


so it works as designed.