Bug 748414 - Non-fatal POSTIN scriptlet failure in rpm package 2:qemu-common-0.15.1-1.fc16.x86_64
Summary: Non-fatal POSTIN scriptlet failure in rpm package 2:qemu-common-0.15.1-1.fc16...
Keywords:
Status: CLOSED DUPLICATE of bug 748281
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-24 12:06 UTC by Richard W.M. Jones
Modified: 2013-01-09 11:55 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-24 15:33:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-10-24 12:06:17 UTC
Description of problem:

[...]
  Updating   : 2:qemu-common-0.15.1-1.fc16.x86_64                    1/18 
Non-fatal POSTIN scriptlet failure in rpm package 2:qemu-common-0.15.1-1.fc16.x86_64
Operation failed: No such file or directory
Operation failed: No such file or directory
warning: %post(qemu-common-2:0.15.1-1.fc16.x86_64) scriptlet failed, exit status 1
  Updating   : 2:qemu-system-x86-0.15.1-1.fc16.x86_64                2/18 
[...]

This also appears to cause the later cleanup on qemu-common
to fail (hangs on a futex).

Version-Release number of selected component (if applicable):

2:0.15.1

How reproducible:

I only tried it once.

Steps to Reproduce:
1. yum update qemu (old version was 2:qemu-common-0.15.0-5.fc16.x86_64)
2.
3.
  
Actual results:

%postin script fails as above.

Expected results:

Should not fail.

Additional info:

Here is the script ...

getent group kvm >/dev/null || groupadd -g 36 -r kvm
getent group qemu >/dev/null || groupadd -g 107 -r qemu
getent passwd qemu >/dev/null || \
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
    -c "qemu user" qemu

/bin/systemctl --global enable ksm.service
/bin/systemctl --global enable ksmtuned.service

The errors appear to come from the systemctl commands at the
end.  Is this a systemd error?

$ rpm -q systemd
systemd-35-1.fc16.x86_64

Comment 1 Richard W.M. Jones 2011-10-24 12:07:44 UTC
Updated to systemd 37, but same error:

$ sudo /bin/systemctl --global enable ksm.service
Operation failed: No such file or directory

Comment 2 Justin M. Forbes 2011-10-24 15:33:08 UTC

*** This bug has been marked as a duplicate of bug 748281 ***


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