Bug 685026 - Missing %preun scriptlet dependency
Summary: Missing %preun scriptlet dependency
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dbus
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 05:35 UTC by Panu Matilainen
Modified: 2013-03-06 04:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-14 19:52:43 UTC
Type: ---


Attachments (Terms of Use)

Description Panu Matilainen 2011-03-15 05:35:27 UTC
Description of problem:
dbus calls /sbin/service in its %preun scriptlet but does not have a dependency for it. This can result in scriptlet failures during erase:

Version-Release number of selected component (if applicable):
dbus-1.4.6-1.fc15 (f15, rawhide)

How reproducible:
Always

Steps to Reproduce:
1. yum --disablerepo="*" --enablerepo=rawhide --installroot=/home/test -y
install apg
2. rpm -e --root /home/test dbus
  
(step 1 produces other warnings due to bugs in other packages, step 2 using rpm due to yum bug causing failures on chroot erase)

Actual results:
/var/tmp/rpm-tmp.VZFk1D: line 2: /sbin/service: No such file or directory

Expected results:
No warnings/errors issued.

Additional info:
This will cure the error as the scriptlet is now:
Requires(preun): /sbin/service

...but native systemd usage will require something else, not sure if guidelines for handling the systemd transition exist yet.

Comment 1 Panu Matilainen 2011-03-15 06:22:07 UTC
(In reply to comment #0)
> Steps to Reproduce:
> 1. yum --disablerepo="*" --enablerepo=rawhide --installroot=/home/test -y
> install apg

Argh, should be "install dbus" obviously. Sorry 'bout that, too early in the morning for copy-pasting apparently...

Comment 2 Rex Dieter 2012-10-14 19:52:43 UTC
f15 EOL'd, f16+ packaging doesn't call 'service' anymore


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