Skip to content

RFC???

Armin Kuster openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2systemctl: Stop tracebacks use formated error messagesmeta/recipes-core/systemd/systemd-systemctl/systemctl+19 -50 replies
2/2package_manager/rpm: decode systemctl failuresmeta/lib/oe/package_manager/rpm/__init__.py+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] RFC???

I ran into an issue with a systemd service that had a depend. The post init error message was a bit misleading;

ERROR: security-build-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['clamav-daemon'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/build/builds/master/tmp/work/qemux86_64-poky-linux/security-build-image/1.0-r0/temp/log.do_rootfs.

All I found was a python trace back in the logs. I have provided a version of an error message that I hope is acceptable. The second patch is for RPM adapting to use the 'error message' to help provide a bit more info.

The RPM solusion has been tested and before porting this to the other package managers, I want to make sure the 'error message' was accepted.

Armin Kuster (2):
systemctl: Stop tracebacks use formated error messages package_manager/rpm: decode systemctl failures

 meta/lib/oe/package_manager/rpm/__init__.py   |  3 +++
 .../systemd/systemd-systemctl/systemctl       | 24 +++++++++++++++----
 2 files changed, 22 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1