Bug 520385 - warning: %postun(bind-libs-32:9.6.1-7.P1.fc12.x86_64) scriptlet failed, exit status 1
Summary: warning: %postun(bind-libs-32:9.6.1-7.P1.fc12.x86_64) scriptlet failed, exit ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 513016 521330 (view as bug list)
Depends On:
Blocks: F12Target
TreeView+ depends on / blocked
 
Reported: 2009-08-31 09:40 UTC by Andreas Schwab
Modified: 2013-04-30 23:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-01 10:30:21 UTC


Attachments (Terms of Use)

Description Andreas Schwab 2009-08-31 09:40:59 UTC
bind-libs %postun is trying to use /lib/ldconfig as a "shell".

  Cleanup        : 32:bind-libs-9.6.1-7.P1.fc12.x86_64                  149/222
/sbin/ldconfig: relative path `1' used to build cache
Non-fatal POSTUN scriptlet failure in rpm package b
warning: %postun(bind-libs-32:9.6.1-7.P1.fc12.x86_64) scriptlet failed, exit status 1

$ rpm -q bind-libs --scripts
postinstall program: /sbin/ldconfig
postuninstall scriptlet (using /sbin/ldconfig):

# bind-libs between 32:9.6.1-0.1.b1 and 32:9.6.1-0.4.rc1 have bigger SOnames
# than current bind - https://bugzilla.redhat.com/show_bug.cgi?id=509635.
# Remove this trigger when SOnames get bigger.

Comment 1 Adam Tkac 2009-09-01 09:15:42 UTC
*** Bug 513016 has been marked as a duplicate of this bug. ***

Comment 2 Adam Tkac 2009-09-01 09:19:07 UTC
Chm, it seems the first attempt to fix this issue was not successful (bug #513016).

Comment 3 Andreas Schwab 2009-09-01 09:50:34 UTC
The problem is that the specfile "language" does not have the concept of comments.  The body of the %postun script extends into the start of the next section (%triggerpostun in this case).  Your last attempt didn't change anything after all.

Comment 4 Adam Tkac 2009-09-01 10:30:21 UTC
Yes, it seems the specfile grammar doesn't include comments despite all docs say that comments start with '#'. I improved the postun scripplet so bind-9.6.1-9.P1.fc12 should be fine.

Comment 5 Adam Tkac 2009-09-07 08:35:42 UTC
*** Bug 521330 has been marked as a duplicate of this bug. ***

Comment 6 Cristian Ciupitu 2009-09-25 10:29:36 UTC
I'm having the same problem on *Fedora 11* when upgrading from bind-libs-9.6.1-4.P1.fc11.x86_64 (to bind-libs-9.6.1-6.P1.fc11.x86_64.rpm). Should I report another bug for Fedora 11?

Comment 7 Adam Tkac 2009-09-25 11:53:20 UTC
(In reply to comment #6)
> I'm having the same problem on *Fedora 11* when upgrading from
> bind-libs-9.6.1-4.P1.fc11.x86_64 (to bind-libs-9.6.1-6.P1.fc11.x86_64.rpm).
> Should I report another bug for Fedora 11?  

No. This bug was in postun script which means it is present even when you update to fixed 9.6.1-6.P1.fc11. This bug won't be present when you update from 9.6.1-6.P1.fc11 to newer version.

Comment 8 Cristian Ciupitu 2009-09-25 12:03:27 UTC
(In reply to comment #7)
> No. This bug was in postun script which means it is present even when you
> update to fixed 9.6.1-6.P1.fc11. This bug won't be present when you update from
> 9.6.1-6.P1.fc11 to newer version.  

Ok. I wanted to be sure that it's fixed in Fedora 11, too.


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