[lxc-users] proc-sys-fs-binfmt_misc.automount failed

webman at manfbraun.de webman at manfbraun.de
Sat Sep 3 14:13:39 UTC 2016


Hi !

Thanks ! I am on the way to migrate my whole it environment away
from windows - so I am new to too many things at the same time.

That I asked about binfmt, was that searching the internet show
up nothing about, binfmt would be used inside LXC at some point
or not and the core message was "failed to load automount".

I try to create a VM for a DMZ inside a firewall machine and
even I am using mono (which MAY use binfmt to make exe programs
easier to use), does not force ME to use binfmt. From your
answer I assume, LXC itself does not need it. If I install
"autofs", the error dont go away. I then just disabled and
masked the service inside the VM - this helped. Will see,
if I need automount later at some point. BTW, my VMs are
on ZFS anyways.

I do not have the competition to decide about security, but
experts told me, not to use Ubuntu, so I keep plain debian.

I try to avoid backports, because they caused me at least two
nightmares in the last weeks ...

Regards,
Manfred


> -----Original Message-----
> From: lxc-users [mailto:lxc-users-bounces at lists.linuxcontainers.org] On
> Behalf Of Fajar A. Nugraha
> Sent: Saturday, September 03, 2016 12:03 PM
> To: LXC users mailing-list
> Subject: Re: [lxc-users] proc-sys-fs-binfmt_misc.automount failed
> 
> On Sat, Sep 3, 2016 at 1:21 PM,  <webman at manfbraun.de> wrote:
> > Hello !
> >
> > I have a problem with LXC (1.0.6-6+deb8u2, on debian jessie, 8.5, uname
> 3.16.xx).
> 
> If you REALLY have (or want) to use debian jessie, I recommend at
> least use jessie-backports:
> https://packages.debian.org/search?keywords=lxc
> It has lxc-2.0.x which has lots of improvements over 1.0.x.
> 
> > [FAILED] Failed to set up automount Arbitrary Executable File Formats
> File System Automount Point.
> > See 'systemctl status proc-sys-fs-binfmt_misc.automount' for details.
> > Unit proc-sys-fs-binfmt_misc.automount entered failed state.
> 
> Some things, like autofs or loading kernel module, simply doesn't work
> inside a container. Most linux programs can run just fine without it
> though.
> 
> > I do not understand too much of Linux to know, what this means. I just
> created
> > another machine, whith same results. All work done as root.
> 
> A simple google search for "linux binfmt" (or reading the link in
> systemd unit) would've told you a lot. Short version, if you're not
> using wine or qemu user emulation, it should be safe to ignore it.
> 
> If you're "just a user who wants to use linux container", I highly
> recommend you use ubuntu + lxd + zfs instead. Ubuntu has gone a long
> way to integrate lxd/lxc into their distro, including tweaking their
> packages to be more container-friendly.
> 
> --
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users




More information about the lxc-users mailing list