Bug 666419 - plymouth %post fails: Need 'inst' function, try setting PLYMOUTH_POPULATE_SOURCE_FUNCTIONS ...
Summary: plymouth %post fails: Need 'inst' function, try setting PLYMOUTH_POPULATE_SOU...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: plymouth
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 629283 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-30 16:01 UTC by Mads Kiilerich
Modified: 2011-12-22 22:43 UTC (History)
8 users (show)

Fixed In Version: plymouth-0.8.4-0.20110822.3.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-22 22:43:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
move post install script to posttrans (1.02 KB, patch)
2011-04-14 16:27 UTC, Nicolas Chauvet (kwizart)
no flags Details | Diff

Description Mads Kiilerich 2010-12-30 16:01:47 UTC
When creating a livecd I got

  Installing: plymouth-scripts             ##################### [388/468] 
  Installing: libdrm                       ##################### [389/468] 
  Installing: plymouth                     ##################### [390/468]Need 'inst' function, try setting PLYMOUTH_POPULATE_SOURCE_FUNCTIONS to a file that defines it
warning: /etc/dracut.conf created as /etc/dracut.conf.rpmnew
 
  Installing: dracut                       ##################### [391/468] 
  Installing: kernel                       ##################### [392/468] 

The message comes when plymouth %post runs /usr/libexec/plymouth/plymouth-generate-initrd (from plymouth-scripts) and doesn't find /usr/share/dracut/dracut-functions (from dracut which haven't been installed yet).

dracut also requires plymouth, so I guess some refactoring is required to remove this (essentially) circular dependency.

dracut-006-5.fc14.noarch
plymouth-0.8.4-0.20100823.7.fc14.i686
rpm-4.8.1-5.fc14.i686
yum-3.2.28-5.fc14.noarch
livecd-tools-14.1-1.fc14.i686

Comment 1 Nicolas Chauvet (kwizart) 2011-03-25 11:11:28 UTC
The other way would be to run /usr/libexec/plymouth/plymouth-generate-initrd in %posttrans ?

Comment 2 Nicolas Chauvet (kwizart) 2011-04-14 16:26:37 UTC
I confirm that the error disappear if using %posttrans
http://koji.fedoraproject.org/koji/taskinfo?taskID=2999513

This was testing during a kickstart install (using SpaceWalk).

Comment 3 Nicolas Chauvet (kwizart) 2011-04-14 16:27:42 UTC
Created attachment 492166 [details]
move post install script to posttrans

Comment 4 Orion Poplawski 2011-08-31 15:53:53 UTC
Still present with plymouth-0.84-0.20110822.1.fc16

Comment 5 Mads Kiilerich 2011-09-19 15:41:31 UTC
*** Bug 629283 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2011-12-15 17:35:18 UTC
plymouth-0.8.4-0.20110822.3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/plymouth-0.8.4-0.20110822.3.fc16

Comment 7 Fedora Update System 2011-12-16 19:51:17 UTC
Package plymouth-0.8.4-0.20110822.3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing plymouth-0.8.4-0.20110822.3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17167/plymouth-0.8.4-0.20110822.3.fc16
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-12-22 22:43:59 UTC
plymouth-0.8.4-0.20110822.3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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