[lxc-users] LXCFS install issue

Rajasekar Darapuram raj at robinsystems.com
Mon May 4 20:16:03 UTC 2015


"lxc-create -n sample4 -t ubuntu" => works fine
on  lxc-start I get this issue, where lxcfs is getting crashed  (i manaully
started lxcfs to see the logs)...

root at ubuntu:/home/ubuntu/lxcfs-0.6# lxc-start -n sample4
root at ubuntu:/home/ubuntu/lxcfs-0.6# fuse: read too many bytes
fuse: writing device: Invalid argument
fuse: read too many bytes
fuse: writing device: Invalid argument
*** Error in `./lxcfs': double free or corruption (!prev):
0x00000000014c11f0 ***

[1]+  Exit 134                sudo ./lxcfs -s -f -o allow_other
/var/lib/lxcfs
root at ubuntu:/home/ubuntu/lxcfs-0.6#

Please let me know


On Thu, Apr 30, 2015 at 10:35 AM, Rajasekar Darapuram <raj at robinsystems.com>
wrote:

> After more research..this is what I found
> I have 2 test machines...will get hardware details for comaprision (from
> our hardware team)..
> LXCFS works fine on 1 machine, while i get the issue on other machine
> (same ISO, same LXC, LXCFS debs etc)..
> then I installed the latest Ubuntu 14.04.2 iso (which has latest kernel
> etc) on the machine which was failing and I still get the same issue....
>
> fuse error and proc not mounted (when i attach to the containers)..Is
> there any hardware requirements for FUSE or LXCFS?
>
> One weird thing is on my local laptop, I used to have LXC/LXCFS
> running..now when i installed latest lxc/lxcfs and start a container I get
> this error on my local laptop
>
> root at Local-Raj:/home/raj# lxc-start -n today2
> lxc-start: lxc_start.c: main: 344 The container failed to start.
> lxc-start: lxc_start.c: main: 346 To get more details, run the container
> in foreground mode.
> lxc-start: lxc_start.c: main: 348 Additional information can be obtained
> by setting the --logfile and --logpriority options.
> root at Local-Raj:/home/raj# lxc-start -F -n today2
> lxc-start: conf.c: setup_caps: 2126 unknown capability mac_admin
> lxc-start: conf.c: lxc_setup: 3917 failed to drop capabilities
> lxc-start: start.c: do_start: 699 failed to setup the container
> lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2
> lxc-start: start.c: __lxc_start: 1157 failed to spawn 'today2'
> lxc-start: lxc_start.c: main: 344 The container failed to start.
> lxc-start: lxc_start.c: main: 348 Additional information can be obtained
> by setting the --logfile and --logpriority options.
>
>
>
> Thanks
> Raj
>
> On Thu, Apr 30, 2015 at 9:13 AM, Serge Hallyn <serge.hallyn at ubuntu.com>
> wrote:
>
>> I use lxcfs on a 3.13 kernel on one machine with no problems.
>>
>> Quoting Rajasekar Darapuram (raj at robinsystems.com):
>> > BTW we are using kernel 3.13 kernel..can that be any issue?
>> >
>> > On Wed, Apr 29, 2015 at 6:56 PM, Rajasekar Darapuram <
>> raj at robinsystems.com>
>> > wrote:
>> >
>> > > I'm getting the same error even for PPA based install....
>> > >  I just rebuilt an ISO with no older versions of LX, installed latest
>> from
>> > > PPA
>> > > and tried creating a container..
>> > > i get the same error.
>> > >
>> > > Thanks
>> > > Raj
>> > >
>> > > On Wed, Apr 29, 2015 at 5:48 PM, Rajasekar Darapuram <
>> raj at robinsystems.com
>> > > > wrote:
>> > >
>> > >> Recently this issue has been happening even when I install it
>> directly
>> > >> from PPA...
>> > >> the original ISO installed had older version of LXC..so I was
>> removing
>> > >> that and cgmanager, adding the ppa:ubuntu/lxc/daily and installing
>> the
>> > >> latest one..
>> > >> then i'm creating the container using the command
>> > >> lxc-create -n sample1 -t ubuntu
>> > >> and when i attach to the container, I run ps, i get the issue..
>> > >> the temporary fix is...when i run fusermount -uz on /proc/stat,
>> diskstats
>> > >>  meminfo, cpuinfo and uptime files, then ps seems to be working
>> fine..
>> > >> SOmehow these files are not being mounted properly...no idea why..
>> > >>
>> > >> anyways I just rebuilt an ISO with no older versions of
>> LXC...installing
>> > >> now..will update you again, how it goes..
>> > >>
>> > >> thanks a lot for your help.
>> > >>
>> > >> THanks
>> > >> Raj
>> > >>
>> > >> On Wed, Apr 29, 2015 at 5:32 PM, Serge Hallyn <
>> serge.hallyn at ubuntu.com>
>> > >> wrote:
>> > >>
>> > >>> Quoting Rajasekar Darapuram (raj at robinsystems.com):
>> > >>> > here's the log from /var/log/upstart/lxcfs.log
>> > >>> >
>> > >>> > fuse: read too many bytes
>> > >>> > fuse: writing device: Invalid argument
>> > >>>
>> > >>> This sounds like a fuse error.
>> > >>>
>> > >>> In
>> > >>>
>> https://lists.linuxcontainers.org/pipermail/lxc-users/2015-April/009003.html
>> > >>> you said that it worked fine using the ppa package, but fails when
>> you
>> > >>> build
>> > >>> it yourself.  Is that still the case?
>> > >>>
>> > >>
>> > >>
>> > >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150504/1e94f80c/attachment.html>


More information about the lxc-users mailing list