Bug 4877 - zypper backend doesn't log messages
Summary: zypper backend doesn't log messages
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Frida Flodin
URL:
Keywords: linma_tester, prosaic
: 5523 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-29 16:38 CET by Pierre Ossman
Modified: 2021-05-04 10:38 CEST (History)
3 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2013-10-29 16:38:29 CET
The XML data from zypper contains a whole bunch of messages that we probably want to log. Most importantly errors that could explain why package installation failed.

Example output:

<message type="info">Retrieving package glibc-i18ndata-2.11.3-17.54.1.x86_64 (1/3), 3.1 MiB (10.5 MiB unpacked)</message>
<message type="error">Failed to mount cd:///?devices=/dev/sr1,/dev/sr0 on /var/adm/mount/AP_0xaHHTht: Mounting media failed (mount: no medium found on /dev/sr0)
</message>
Comment 1 Pierre Ossman cendio 2015-05-12 14:56:04 CEST
*** Bug 5523 has been marked as a duplicate of this bug. ***
Comment 3 Frida Flodin cendio 2021-04-29 14:54:02 CEST
Fixed now, tested build 2025 on both SLES 12 and 15
Comment 4 Linn cendio 2021-05-04 10:25:19 CEST
Tested with build 2029 on SLES 12 and 15, can confirm that tlsetup.log now contains additional lines with a message type and a message from zypper.

Note You need to log in before you can comment on or make changes to this bug.