clone_paths: use 'rootfs' for destination directory
clone_paths: use 'rootfs' for destination directory

We were trying to be smart and use whatever the last part of
the container's rootfs path was.  However for block devices
that doesn't make much sense.  I.e. if lxc.rootfs = /dev/md-1,
chances are that /var/lib/lxc/c1/md-1 does not exist.

So always use the $lxcpath/$lxcname/rootfs, and if it does
not exist, try to create it.

With this, 'lxc-clone -s -o c1 -n c2' where c1 has an lvm backend
is fixed.  See https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1414771

Signed-off-by: Serge Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>
Acked-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

Pelagicore/lxc,hfuCN/lxc,federicobriata/lxc,Ponce/lxc,ioops/lxc,bmoar/lxc,akshaykarle/lxc,ysbnim/lxc,Distrotech/lxc,aeris/lxc,virajs/lxc,jirislaby/lxc,sapun/lxc,QingweiPeterLan/cs188-lxc,cjwatson/lxc,armcc/lxc,codebauss/lxc,szaszg/lxc,cjwatson/lxc,ysbnim/lxc,efiop/lxc,regit/lxc,ss1h2a3tw/lxc,hkjolhede/lxc,QingweiPeterLan/cs188-lxc,regit/lxc,efiop/lxc,ysbnim/lxc,ksperis/lxc,fwilson42/lxc,DarknessBeforeDawn/lxc,bostjan/lxc,federicobriata/lxc,JohnPeacockMessageSystems/lxc,aeris/lxc,caglar10ur/lxc,yubo/lxc,ecarrara/lxc,bostjan/lxc,hallyn/lxc,bmoar/lxc,major/lxc,Pelagicore/lxc,rowhit/lxc,QingweiPeterLan/cs188-lxc,LynxChaus/lxc,hfuCN/lxc,major/lxc,hallyn/lxc,Ponce/lxc,armcc/lxc,Pelagicore/lxc,DarknessBeforeDawn/lxc,LynxChaus/lxc,virajs/lxc,terceiro/lxc,DarknessBeforeDawn/lxc,christiaan/lxc,ss1h2a3tw/lxc,fwilson42/lxc,akshaykarle/lxc,aeris/lxc,Ponce/lxc,lisongmin/lxc,lisongmin/lxc,major/lxc,Distrotech/lxc,tych0/lxc,cjwatson/lxc,rowhit/lxc,lazy404/lxc,akshaykarle/lxc,hkjolhede/lxc,sapun/lxc,LynxChaus/lxc,efiop/lxc,regit/lxc,armcc/lxc,bostjan/lxc,ecarrara/lxc,yubo/lxc,codebauss/lxc,federicobriata/lxc,caglar10ur/lxc,caglar10ur/lxc,fwilson42/lxc,GreatFruitOmsk/lxc,ksperis/lxc,virajs/lxc,raspberrypython/lxc,sapun/lxc,ksperis/lxc,ioops/lxc,christiaan/lxc,hallyn/lxc,szaszg/lxc,ioops/lxc,hkjolhede/lxc,codebauss/lxc,terceiro/lxc,lisongmin/lxc,szaszg/lxc,raspberrypython/lxc,JohnPeacockMessageSystems/lxc,Distrotech/lxc,bmoar/lxc,GreatFruitOmsk/lxc,thmo/lxc,GreatFruitOmsk/lxc,yubo/lxc,ecarrara/lxc,jirislaby/lxc,hfuCN/lxc,rowhit/lxc,tych0/lxc,christiaan/lxc,lazy404/lxc,thmo/lxc,tych0/lxc,rldleblanc/lxc,lazy404/lxc,rldleblanc/lxc,rldleblanc/lxc,JohnPeacockMessageSystems/lxc,thmo/lxc,jirislaby/lxc,terceiro/lxc,raspberrypython/lxc,ss1h2a3tw/lxc