Wind River Support Network

HomeDefectsOVP-653
Fixed

OVP-653 : openvswitch recipe missing runtime depends

Created: Oct 24, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 28, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

The openvswitch package contains a shell script /usr/bin/ovs-pki

This invokes a number of utilities that are not listed in the run-time dependencies:
[root@yow-soe-lx1 package]# bash --rpm-requires usr/bin/ovs-pki | grep executable | sort -u
executable(awk)
executable(cat)
executable(chmod)
executable(cp)
executable(date)
executable(grep)
executable(mkdir)
executable(mv)
executable(openssl)
executable(rm)
executable(sed)
executable(sha1)
executable(stat)
executable(touch)

Ignoring the ones from coreutils which is in the RDEPENDS it leaves: gawk, grep, openssl, sed

This causes an install failure in openvswitch-pki which runs ovp-pki as part of its %postinstall if any of those utilities are not present.  When I observed it personally it failed because 'sed' was missing.

Workaround

Install the other packages first.

Steps to Reproduce

Remove the sed package and attempt to install openvswitch-pki
Live chat
Online