[virt-tools-list] [virt-manager] [PATCH 0/9] Integration of virt-bootstrap

Radostin rstoyanov1 at gmail.com
Tue Jun 27 17:12:14 UTC 2017


I just realized that with the default directory permissions (755) other
users are only able to read and execute, that could be the reason why
for non-root user "Permission Denied" occurs. (The /tmp/foo is not owned
from this user.)


On 27/06/17 16:50, Cole Robinson wrote:
> On 06/23/2017 02:49 PM, Radostin wrote:
>> Hi Cole,
>>
>> Thank you for the feedback.
>>
>> To solve the problem with virt-bootstrap/skopeo use:
>>
>> virt-bootstrap docker://fedora /tmp/foo
> Thanks, indeed that works. Guess I'm just used to the libvirt qemu:///system
> URI :)
>
> Trying it now with docker://fedora ... does virt-bootstrap require running as
> root? It doesn't seem to generate a usable container dir without root, I see
> errors like:
>
> /bin/tar: etc/alternatives/cifs-idmap-plugin: Cannot open: Permission denied
> /bin/tar: etc/alternatives/libnssckbi.so.x86_64: Cannot open: Permission denied
> /bin/tar: etc/cifs-utils/idmap-plugin: Cannot open: Permission denied
> /bin/tar: etc/crypto-policies/back-ends/bind.config: Cannot open: Permission
> denied
> /bin/tar: etc/crypto-policies/back-ends/gnutls.config: Cannot open: Permission
> denied
> /bin/tar: etc/crypto-policies/back-ends/gnutls28.config: Cannot open:
> Permission denied
> /bin/tar: etc/crypto-policies/back-ends/java.config: Cannot open: Permission
> denied
> /bin
>
> And so on. But virt-bootstrap still reports success.
>
> Another issue I noticed: would be nice to get the virt-bootstrap output into
> the virt-manager debug log
>
> The UI generally looks good though, nice work
>
> - Cole
>




More information about the virt-tools-list mailing list