[Bug 1555760] Re: Too many levels of symbolic links /proc/sys/fs/binfmt_misc
Eric Desrochers
eric.desrochers at canonical.com
Sat Jun 25 21:10:57 UTC 2016
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
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1555760
Title:
Too many levels of symbolic links /proc/sys/fs/binfmt_misc
Status in binfmt-support package in Ubuntu:
Confirmed
Status in systemd package in Ubuntu:
Incomplete
Bug description:
At first I thought this was an LXD issue, but it turns out the issue
is in systemd
https://github.com/lxc/lxd/issues/1727#issuecomment-194416558
ls -l /proc/sys/fs/binfmt_misc fails with error:
Too many levels of symbolic links
I restarted binfmt manually by running:
sudo /usr/sbin/update-binfmts --disable
sudo /usr/sbin/update-binfmts --enable
I think using systemd to do this would have also worked:
sudo service binfmt-support restart
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1555760/+subscriptions
More information about the foundations-bugs
mailing list