I am sorry that I am not clear reproducing process. Anyone can help me? Thanks.
I have set use_cow_images = False in nova.conf and restarted services.
Then I executed the steps in the description and file "passwd" generated.
As the description says, the contents of /etc/passwd should be in the passwd file. Since the passwd file is a binary file, I tried to use "grep" to search the contents of /etc/passwd in passwd file. But I found nothing. And I also tried "grep" command on bad.qcow2. Also nothing was found. In the instance, I executed "sudo strings /dev/vda | head -1" and it shows "/etc/passwd". So the "dd" operation should have worked. But I don't know how can I show the contents of "/etc/passwd" in downloaded passwd file.
I am sorry that I am not clear reproducing process. Anyone can help me? Thanks.
I have set use_cow_images = False in nova.conf and restarted services.
Then I executed the steps in the description and file "passwd" generated.
As the description says, the contents of /etc/passwd should be in the passwd file. Since the passwd file is a binary file, I tried to use "grep" to search the contents of /etc/passwd in passwd file. But I found nothing. And I also tried "grep" command on bad.qcow2. Also nothing was found. In the instance, I executed "sudo strings /dev/vda | head -1" and it shows "/etc/passwd". So the "dd" operation should have worked. But I don't know how can I show the contents of "/etc/passwd" in downloaded passwd file.
Anyone has some advice? Thanks very much.