[Lxc-users] copy from OEL template does not work
Tamas Papp
tompos at martos.bme.hu
Thu Aug 15 17:56:10 UTC 2013
On 08/15/2013 06:37 PM, Dwight Engen wrote:
> On Thu, 15 Aug 2013 16:12:26 +0200
> Tamas Papp <tompos at martos.bme.hu> wrote:
>
>> hi,
>>
>> env:
>>
>> Linux virt101 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC
>> 2013 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available.
>> Distributor ID: Ubuntu
>> Description: Ubuntu 13.04
>> Release: 13.04
>> Codename: raring
>> ii lxc 0.9.0.0~staging~20130814-145 amd64
>> Linux Containers userspace tools
>>
>> I created the container with the official lxc-oracle script:
>>
>> $ lxc-create -n VM -t oracle
>>
>> LSB
>> Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
>> Distributor ID: OracleServer Description: Oracle Linux Server
>> release 6.4 Release: 6.4
>> Codename: n/a
>>
>>
>>
>>
>>
>> I copy a file from the container with scp.
>>
>> From top output:
>> 31973 tompos 20 0 120m 18m 1272 S 41.3 0.0 0:05.28 bash -c
>> scp -f a.txt
>>
>> File:
>> -rw-r--r-- 1 tompos tompos 0 Aug 15 09:42 /home/tompos/a.txt
>>
>> Usually I get a segfault after a time:
>> [356314.564571] bash[6347]: segfault at 7fff110d1ff8 ip
>> 00007f30ec5bc2ea sp 00007fff110d2000 error 6 in
>> libc-2.12.so[7f30ec578000+18a000]
> Hi Tamas, I'm not certain I fully understand your scenario. It looks
> like you have an OL6.4 container on an Ubuntu host, and you are then
> trying to scp a file from out of the container into the host? Are you
Exactly.
Into the host or any other VM or (linux?) computer. I didn't tested other OS, like windows.
> doing the scp from inside the container or on the host?
I connect with scp to the container:
host:~$ scp container:a.txt .
BTW, the same is true for rsync.
tamas
More information about the lxc-users
mailing list