Bug 922630 - [virt-sandbox-service] path option is ignored when create sandbox
Summary: [virt-sandbox-service] path option is ignored when create sandbox
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt-sandbox
Version: 19
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 927122
TreeView+ depends on / blocked
 
Reported: 2013-03-18 06:17 UTC by Wayne Sun
Modified: 2013-12-16 18:51 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
: 927122 (view as bug list)
Environment:
Last Closed: 2013-12-16 18:51:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Wayne Sun 2013-03-18 06:17:17 UTC
Description of problem:
The path option -p or --path is ignored when create sandbox container.

Version-Release number of selected component (if applicable):
libvirt-sandbox-0.1.0-1.fc18.x86_64
httpd-2.4.3-15.fc18.x86_64
kernel-3.8.2-206.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1. make a dir
# ll /home/wayne/test/ -dZ
drwxr-xr-x. root root unconfined_u:object_r:user_home_t:s0 /home/wayne/test/

2. create a sandbox container with -p
# virt-sandbox-service create -p /home/wayne/test/ -t svirt_lxc_net_t -l s0:c200,c300 -C -u httpd.service apache13
Created sandbox container dir /var/lib/libvirt/filesystems/apache13
Created sandbox config /etc/libvirt-sandbox/services/apache13.sandbox
Created unit file /etc/systemd/system/httpd

# ll -Zd /home/wayne/test/
drwxr-xr-x. root root unconfined_u:object_r:user_home_t:s0 /home/wayne/test/

container dir remains at the default dir, the given dir is empty.

3.
  
Actual results:
-p is ignored

Expected results:
given path should work with create sandbox container

Additional info:

Comment 1 Daniel Walsh 2013-04-01 19:29:40 UTC
This is fixed in git version.

Comment 2 Cole Robinson 2013-12-16 18:51:32 UTC
Fedora 18 is end-of-life soon, but sounds like this is fixed in F19+


Note You need to log in before you can comment on or make changes to this bug.