Comment 17 for bug 1555760

Revision history for this message
Eric Desrochers (slashd) wrote :

I don't have the error "Too many levels of symbolic links" when doing an "ls" command but I do have a problem using "df" on Xenial after installing Openstack with lxd using "conjure-up"

"df" works fine, but after a reboot, it hangs.

A "strace df" shows that it hangs at doing :
..
stat("/sys/fs/cgroup/memory", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat("/sys/fs/cgroup/hugetlb", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat("/sys/fs/cgroup/cpuset", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat("/proc/sys/fs/binfmt_misc",

$ systemctl status proc-sys-fs-binfmt_misc.mount
● proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System
   Loaded: loaded (/lib/systemd/system/proc-sys-fs-binfmt_misc.mount; static; vendor preset: enabled)
   Active: inactive (dead) since Sat 2016-06-25 16:54:21 EDT; 9min ago
    Where: /proc/sys/fs/binfmt_misc
     What: binfmt_misc
     Docs: https://www.kernel.org/doc/Documentation/binfmt_misc.txt
           http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  Process: 6247 ExecMount=/bin/mount binfmt_misc /proc/sys/fs/binfmt_misc -t binfmt_misc (code=exited, status=0/SUCCESS)

Jun 25 16:54:21 <HOST> systemd[1]: Mounting Arbitrary Executable File Formats File System...
Jun 25 16:54:21 <HOST> systemd[1]: Mounted Arbitrary Executable File Formats File System.
Jun 25 16:54:22 <HOST> systemd[1]: proc-sys-fs-binfmt_misc.mount: Start request repeated too quickly.
Jun 25 16:54:22 <HOST> systemd[1]: Failed to mount Arbitrary Executable File Formats File System.

My workaround is to perform the following command at every reboot :
$ sudo dpkg-reconfigure binfmt-support

Eric