Bug 1096224 - warning: %post(pcs-0.9.115-2.fc21.x86_64) scriptlet failed, exit status 1
Summary: warning: %post(pcs-0.9.115-2.fc21.x86_64) scriptlet failed, exit status 1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcs
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1206253 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 13:38 UTC by Andrew Price
Modified: 2015-04-21 18:37 UTC (History)
3 users (show)

Fixed In Version: pcs-0.9.139-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-08 06:56:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew Price 2014-05-09 13:38:16 UTC
pcs fails to update properly due to a broken postinstall script:

  Updating   : pcs-0.9.115-2.fc21.x86_64                                 86/212 
  /var/tmp/rpm-tmp.vjosJX: line 1: fg: no job control
  warning: %post(pcs-0.9.115-2.fc21.x86_64) scriptlet failed, exit status 1
  Non-fatal POSTIN scriptlet failure in rpm package pcs-0.9.115-2.fc21.x86_64

  ...

  Failed:
    pcs.x86_64 0:0.9.115-1.fc21                                                   

The spec has:

  %post
  %systemd_post pcsd.service

But it doesn't have

  BuildRequires: systemd

which, as far as I can tell, should fix the problem.

Please update the spec to meet the systemd packaging guidelines here:

http://fedoraproject.org/wiki/Packaging:Systemd#Packaging

Thanks!

Comment 1 Jaroslav Reznik 2015-03-03 15:47:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Tomas Jelinek 2015-03-27 15:54:14 UTC
*** Bug 1206253 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2015-03-27 15:59:42 UTC
pcs-0.9.139-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pcs-0.9.139-3.fc22

Comment 4 Jan Pokorný [poki] 2015-03-27 16:05:43 UTC
This is exactly why a proper package review by community is preferred
over "fast track" :)

Comment 5 Fedora Update System 2015-03-27 16:20:16 UTC
pcs-0.9.137-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pcs-0.9.137-3.fc21

Comment 6 Fedora Update System 2015-03-27 16:31:49 UTC
pcs-0.9.115-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pcs-0.9.115-2.fc20

Comment 7 Fedora Update System 2015-03-29 04:28:20 UTC
Package pcs-0.9.115-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pcs-0.9.115-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4797/pcs-0.9.115-2.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-04-08 06:56:42 UTC
pcs-0.9.115-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-04-08 06:58:57 UTC
pcs-0.9.137-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-04-21 18:37:11 UTC
pcs-0.9.139-3.fc22 has been pushed to the Fedora 22 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.