[Lxc-users] copy from OEL template does not work

Tony Su tonysu at su-networking.com
Thu Aug 15 17:26:15 UTC 2013


Also,
Without an error message more informative than a simple segfault, who knows?

Recommend:
Search your Host syslogs for a more informative error message
If not in a message, post the Container config file somewhere where
someone can inspect (eg Pastbin)

I assume that you're copying to/from separate physical machines or
this is only an intellectual exercise? Of course, copying to/from a
Host and a Container on the Host doesn't require SCP (eg networking),
there are many alternatives like mounting a shared directory or simply
copy/paste if your User account has sufficient permissions.

Tony


On Thu, Aug 15, 2013 at 9:37 AM, Dwight Engen <dwight.engen at oracle.com> 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
> doing the scp from inside the container or on the host?
>
>> The same works fine with Ubuntu guest. What can be the problem?
>> Is it a bug or maybe I miss something?
>>
>> Thanks in advance,
>> tamas
>>
>> ------------------------------------------------------------------------------
>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>> It's a free troubleshooting tool designed for production.
>> Get down to code-level detail for bottlenecks, with <2% overhead.
>> Download for free and get started troubleshooting in minutes.
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Lxc-users mailing list
>> Lxc-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users




More information about the lxc-users mailing list