<div dir="ltr"><div>"lxc-create -n sample4 -t ubuntu" => works fine</div>on  lxc-start I get this issue, where lxcfs is getting crashed  (i manaully started lxcfs to see the logs)...<div><br></div><div><div>root@ubuntu:/home/ubuntu/lxcfs-0.6# lxc-start -n sample4</div><div>root@ubuntu:/home/ubuntu/lxcfs-0.6# fuse: read too many bytes</div><div>fuse: writing device: Invalid argument</div><div>fuse: read too many bytes</div><div>fuse: writing device: Invalid argument</div><div>*** Error in `./lxcfs': double free or corruption (!prev): 0x00000000014c11f0 ***</div><div><br></div><div>[1]+  Exit 134                sudo ./lxcfs -s -f -o allow_other /var/lib/lxcfs</div><div>root@ubuntu:/home/ubuntu/lxcfs-0.6#</div></div><div><br></div><div>Please let me know</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 10:35 AM, Rajasekar Darapuram <span dir="ltr"><<a href="mailto:raj@robinsystems.com" target="_blank">raj@robinsystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>After more research..this is what I found</div>I have 2 test machines...will get hardware details for comaprision (from our hardware team)..<div>LXCFS works fine on 1 machine, while i get the issue on other machine (same ISO, same LXC, LXCFS debs etc)..</div><div>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....</div><div><br></div><div>fuse error and proc not mounted (when i attach to the containers)..Is there any hardware requirements for FUSE or LXCFS?</div><div><br></div><div>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</div><div><br></div><div><div>root@Local-Raj:/home/raj# lxc-start -n today2</div><div>lxc-start: lxc_start.c: main: 344 The container failed to start.</div><div>lxc-start: lxc_start.c: main: 346 To get more details, run the container in foreground mode.</div><div>lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.</div><div>root@Local-Raj:/home/raj# lxc-start -F -n today2</div><div>lxc-start: conf.c: setup_caps: 2126 unknown capability mac_admin</div><div>lxc-start: conf.c: lxc_setup: 3917 failed to drop capabilities</div><div>lxc-start: start.c: do_start: 699 failed to setup the container</div><div>lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2</div><div>lxc-start: start.c: __lxc_start: 1157 failed to spawn 'today2'</div><div>lxc-start: lxc_start.c: main: 344 The container failed to start.</div><div>lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.</div></div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div>Raj</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 9:13 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I use lxcfs on a 3.13 kernel on one machine with no problems.<br>
<div><div><br>
Quoting Rajasekar Darapuram (<a href="mailto:raj@robinsystems.com" target="_blank">raj@robinsystems.com</a>):<br>
> BTW we are using kernel 3.13 kernel..can that be any issue?<br>
><br>
> On Wed, Apr 29, 2015 at 6:56 PM, Rajasekar Darapuram <<a href="mailto:raj@robinsystems.com" target="_blank">raj@robinsystems.com</a>><br>
> wrote:<br>
><br>
> > I'm getting the same error even for PPA based install....<br>
> >  I just rebuilt an ISO with no older versions of LX, installed latest from<br>
> > PPA<br>
> > and tried creating a container..<br>
> > i get the same error.<br>
> ><br>
> > Thanks<br>
> > Raj<br>
> ><br>
> > On Wed, Apr 29, 2015 at 5:48 PM, Rajasekar Darapuram <<a href="mailto:raj@robinsystems.com" target="_blank">raj@robinsystems.com</a><br>
> > > wrote:<br>
> ><br>
> >> Recently this issue has been happening even when I install it directly<br>
> >> from PPA...<br>
> >> the original ISO installed had older version of LXC..so I was removing<br>
> >> that and cgmanager, adding the ppa:ubuntu/lxc/daily and installing the<br>
> >> latest one..<br>
> >> then i'm creating the container using the command<br>
> >> lxc-create -n sample1 -t ubuntu<br>
> >> and when i attach to the container, I run ps, i get the issue..<br>
> >> the temporary fix is...when i run fusermount -uz on /proc/stat, diskstats<br>
> >>  meminfo, cpuinfo and uptime files, then ps seems to be working fine..<br>
> >> SOmehow these files are not being mounted properly...no idea why..<br>
> >><br>
> >> anyways I just rebuilt an ISO with no older versions of LXC...installing<br>
> >> now..will update you again, how it goes..<br>
> >><br>
> >> thanks a lot for your help.<br>
> >><br>
> >> THanks<br>
> >> Raj<br>
> >><br>
> >> On Wed, Apr 29, 2015 at 5:32 PM, Serge Hallyn <<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>><br>
> >> wrote:<br>
> >><br>
> >>> Quoting Rajasekar Darapuram (<a href="mailto:raj@robinsystems.com" target="_blank">raj@robinsystems.com</a>):<br>
> >>> > here's the log from /var/log/upstart/lxcfs.log<br>
> >>> ><br>
> >>> > fuse: read too many bytes<br>
> >>> > fuse: writing device: Invalid argument<br>
> >>><br>
> >>> This sounds like a fuse error.<br>
> >>><br>
> >>> In<br>
> >>> <a href="https://lists.linuxcontainers.org/pipermail/lxc-users/2015-April/009003.html" target="_blank">https://lists.linuxcontainers.org/pipermail/lxc-users/2015-April/009003.html</a><br>
> >>> you said that it worked fine using the ppa package, but fails when you<br>
> >>> build<br>
> >>> it yourself.  Is that still the case?<br>
> >>><br>
> >><br>
> >><br>
> ><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>