On Fri, Jun 17, 2016 at 04:16:42PM +0200, Jakub Wilk wrote:
> * Joseph Nahmias <j...@nahmias.net>, 2016-06-17, 13:32:
> >joe@skippy:~$ tail -n +1 /proc/sys/fs/binfmt_misc/jar*
> >tail: cannot open ‘/proc/sys/fs/binfmt_misc/jar*’ for reading: No such file 
> >or directory
> >joe@skippy:~$ ls -la /proc/sys/fs/binfmt_misc/
> >total 0
> >dr-xr-xr-x 2 root root 0 Jun  5 03:57 .
> >dr-xr-xr-x 1 root root 0 Jun  5 03:57 ..
> 
> Looks like /proc/sys/fs/binfmt_misc is not even mounted... :-\
> The binfmt-support init script is responsible for mounting it and
> registering binfmts. Could you try restarting it and see if it helps?

Ah, that seems to illuminate the issue:

joe@skippy:~$ sudo /etc/init.d/binfmt-support stop
[ ok ] Disabling additional executable binary formats: binfmt-support.
joe@skippy:~$ sudo /etc/init.d/binfmt-support start
[....] Enabling additional executable binary formats:
binfmt-supportupdate-binfmts: warning: Couldn't load the binfmt_misc
module.
. ok
joe@skippy:~$ uname -srvm
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64
joe@skippy:~$ dir /lib/modules/
total 12
drwxr-xr-x 2 root root 4096 Nov  6  2014 3.13-1-686-pae/
drwxr-xr-x 3 root root 4096 Jun  5 03:50 3.16.0-4-686-pae/
drwxr-xr-x 3 root root 4096 Feb 17  2014 3.2.0-4-686-pae/

Looks like I picked the wrong kernel arch (amd64 vs 686) when I last
rebooted the VM. :(

Thanks for the help,
--Joe

Reply via email to