All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] RFC???
@ 2021-05-31 19:11 Armin Kuster
  2021-05-31 19:11 ` [PATCH 1/2] systemctl: Stop tracebacks use formated error messages Armin Kuster
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Armin Kuster @ 2021-05-31 19:11 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-31 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 19:11 [PATCH 0/2] RFC??? Armin Kuster
2021-05-31 19:11 ` [PATCH 1/2] systemctl: Stop tracebacks use formated error messages Armin Kuster
2021-05-31 19:11 ` [PATCH 2/2] package_manager/rpm: decode systemctl failures Armin Kuster
2021-05-31 19:20 ` [OE-core] [PATCH 0/2] RFC??? Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.