Bug 458071

Summary: noisy %post from spinfinity plugin
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: plymouthAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, krh, lmacken, orion
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-27 20:57:38 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 457945    

Description Jesse Keating 2008-08-06 09:36:44 EDT
During initial install, the plugin tries to set the default via /usr/sbin/plymouth-set-default-plugin, which apparently doesn't exist at this time.  This causes a scriptlet error.
Comment 1 Ray Strode [halfline] 2008-08-06 09:54:10 EDT
odd,

%package plugin-spinfinity
Summary: Plymouth "Spinfinity" plugin
Group: System Environment/Base
Requires: %name = %{version}-%{release}

and %{_sbindir}/plymouth-set-default-plugin is in the plymouth package.

This bug sort of smells like bug 214737, but I can't imagine plymouth being pulled in multilib and that bug is closed fixed now anyway.
Comment 2 Jesse Keating 2008-08-06 10:01:23 EDT
perhaps you missed the difference between Requires: and Requires(post): ?

Requires just means "this must pre-exist or be in the same transaction set"  whereas Requires(post) means "This must pre-exist or be installed prior to the %post script is ran"
Comment 3 Ray Strode [halfline] 2008-08-06 10:06:21 EDT
oh, right.  I knew that, fix coming shortly.
Comment 4 Orion Poplawski 2008-10-27 17:45:30 EDT
%post can still fail, though perhaps for a different reason:

Installing plymouth-scripts-0.6.0-0.2008.10.24.2.fc10.x86_64
Installing plymouth-plugin-spinfinity-0.6.0-0.2008.10.24.2.fc10.x86_64
warning: %post(plymouth-plugin-spinfinity-0.6.0-0.2008.10.24.2.fc10.x86_64) scriptlet failed, exit status 1
Installing plymouth-0.6.0-0.2008.10.24.2.fc10.x86_64

Something /usr/sbin/plymouth-set-default-plugin runs or a directory it needs?
Comment 5 Ray Strode [halfline] 2008-10-27 17:50:07 EDT
if you run it manually does it fail?
Comment 6 Orion Poplawski 2008-10-27 17:52:25 EDT
It runs fine on the installed system.
Comment 7 Luke Macken 2008-10-27 20:29:15 EDT
Getting this with todays rawhide.

/usr/lib/plymouth/spinfinity.so does not exist

error: %post(plymouth-plugin-spinfinity-0.6.0-0.2008.10.24.2.fc10.x86_64) scriptlet failed, exit status 1
Comment 8 Ray Strode [halfline] 2008-10-27 20:55:35 EDT
so i guess this is because plymouth isn't installed yet causing /usr/lib/plymouth not to exist.
Comment 9 Ray Strode [halfline] 2008-10-27 20:57:38 EDT
I've moved /usr/lib/plymouth to plymouth-libs