| Summary: | switch ksm and binfmt to use systemd | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paolo Bonzini <pbonzini> | ||||||
| Component: | qemu | Assignee: | Justin M. Forbes <jforbes> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | amit.shah, berrange, dougsland, dwmw2, ehabkost, gcosta, itamar, jaswinder, jforbes, knoel, misc, scottt.tw, virt-maint | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | qemu-0.15.1-1.fc16 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-11-05 01:23:16 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Paolo Bonzini
2011-09-28 13:16:20 UTC
Created attachment 525337 [details]
patch against git
qemu-0.15.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/qemu-0.15.1-1.fc16 Package qemu-0.15.1-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qemu-0.15.1-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14698 then log in and leave karma (feedback). Not sure if this work as expected. I got this error message on qemu-common installation :
Mise à jour : 2:qemu-common-0.15.1-1.fc16.x86_64 4/19
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
# /bin/systemctl --global enable ksm.service
Operation failed: No such file or directory
And strace show that :
# strace -e open /bin/systemctl --global enable ksm.service
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libsystemd-daemon.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdbus-1.so.3", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/systemd/user/ksm.service", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
Operation failed: No such file or directory
[root@liliana misc]# ls /usr/lib/systemd/
user
[root@liliana misc]# ls /usr/lib/systemd/user/
bluetooth.target exit.service printer.target sockets.target
default.target exit.target shutdown.target sound.target
[root@liliana misc]#
The --global do not appear on https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
Created attachment 530262 [details]
patch to add [Install] and correct systemctl invocation
Reproducible here too, something must have changed in system{d,ctl} since I did the patches.
qemu-0.15.1-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |