Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 597068 Details for
Bug 835466
[nova] injection of ssh authorized_keys sometimes fail when injecting other files too.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
rhbz835466.sh
rhbz835466.sh (text/plain), 1.18 KB, created by
Richard W.M. Jones
on 2012-07-09 12:53:03 UTC
(
hide
)
Description:
rhbz835466.sh
Filename:
MIME Type:
Creator:
Richard W.M. Jones
Created:
2012-07-09 12:53:03 UTC
Size:
1.18 KB
patch
obsolete
>#!/bin/sh - ># Reproducer for RHBZ#835466 > ># Choose installed copy or locally built libguestfs. >guestfish=guestfish >guestmount=guestmount >#guestfish="$HOME/d/libguestfs/run $HOME/d/libguestfs/fish/guestfish" >#guestmount="$HOME/d/libguestfs/run $HOME/d/libguestfs/fuse/guestmount" > >cd /tmp > >rm -f test1.img test1.qcow2 >rm -rf testmp > ># Create a test disk image (test1.img) >$guestfish -N fs:ext3 exit > ># Create an overlay qcow2 image. >qemu-img create -f qcow2 -o backing_file=test1.img test1.qcow2 >/dev/null > ># Mount, write, unmount. >mkdir testmp >$guestmount -a test1.qcow2 -m /dev/sda1 testmp >cp /etc/group testmp/group >if ! fusermount -u testmp; then > echo "No conclusion. You must do" > echo " fusermount -u /tmp/testmp" > echo "and rerun the test." > exit 2 >fi > >#sleep 10 > ># Copy the overlay to another file, possibly before guestmount ># has finished writing to it. >cp test1.qcow2 test2.qcow2 > ># Does the copied overlay contain the file we wrote? >if ! $guestfish -a test2.qcow2 --ro -m /dev/sda1 filesize /group; then > echo "bug RHBZ#835466 was reproduced on this machine" > exit 1 >fi > >echo "RHBZ#835466 could not be reproduced. This might be luck" >echo "or you might not be affected by it."
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 835466
:
594410
|
596883
|
597041
| 597068 |
597371