| Summary: | Cloud-Init: generated config-drive CD image is world-readable | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Pavel Novotny <pnovotny> |
| Component: | vdsm | Assignee: | Francesco Romani <fromani> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, bazulay, iheim, lpeer, mavital, michal.skrivanek, Rhev-m-bugs, sbonazzo, sherold, yeylon, zdover |
| Target Milestone: | --- | ||
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | ovirt-3.4.0-beta2 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, when running a virtual machine once with Cloud-Init, the config-drive CD image created was world-readable. This .img file has now been set to be readable only for vdsm:qemu (that is, the permissions have been set to 640).
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-09 13:26:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Pavel Novotny
2013-11-25 11:54:06 UTC
Verified upstream in ovirt-engine-3.4.0-0.7.beta2.el6.noarch. Following the reproducer in comment 0 for verification. Results: The attached CD image file is now no longer world-readable: # ps aux | grep [q]emu | grep cdrom qemu 9377 58.4 0.4 1568208 32880 ? Sl 11:59 0:08 /usr/libexec/qemu-kvm -name cloudy -S -M rhel6.5.0 -cpu Penryn -enable-kvm -m 1024 [...snip...] -drive file=/var/run/vdsm/payload/11b2841c-03bd-43d8-8d43-4ece2392fee8.62b0aaef2741993fc8bc89d3c3bc4f58.img,if=none,media=cdrom [...snip...] # ls -l /var/run/vdsm/payload/11b2841c-03bd-43d8-8d43-4ece2392fee8.62b0aaef2741993fc8bc89d3c3bc4f58.img -rw-r-----. 1 vdsm qemu 366592 Feb 18 11:59 /var/run/vdsm/payload/11b2841c-03bd-43d8-8d43-4ece2392fee8.62b0aaef2741993fc8bc89d3c3bc4f58.img Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0504.html |