Bug 351981

Summary: post script fails
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: bluez-utilsAssignee: Bastien Nocera <bnocera>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8CC: bnocera
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.20-3.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-26 11:00:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235703    

Description Joe Orton 2007-10-25 09:46:18 UTC
From install.log from a fresh Raw Hide install:

Installing bluez-utils - 3.20-2.fc8.i386
error: %post(bluez-utils-3.20-2.fc8.i386) scriptlet failed, exit status 1

Comment 1 Joe Orton 2007-10-25 12:46:02 UTC
It's not obvious to me why this happens.  It may be that just putting "exit 0"
at the end of the scriptlet is all that's needed.  Doing:

-Prereq: /sbin/chkconfig, /sbin/service
+Requires(preun): /sbin/chkconfig, /sbin/service
+Requires(post): /sbin/chkconfig, /sbin/service

may also help but from looking at the ordering in the install.log doesn't seem
to have been the actual cause of the issue.

The "Requires: cups" on the -also and -gstreamer subpackages looks... wrong.

Comment 2 Joe Orton 2007-10-25 20:27:47 UTC
Fixed in bluez-utils-3.20-4.fc9.

Guys you probably want to push either this or at least the %post changes to F8;
the "bluetooth" service is not getting enabled by default in fresh installs.

Comment 3 Bastien Nocera 2007-10-25 22:36:59 UTC
Will fix for F8

Comment 4 Bastien Nocera 2007-10-26 11:00:45 UTC
Built in bluez-utils-3.20-3.fc8 and tagging requested for F8.