2c - just hit this myself on xenail s390x with a soaking openstack-on-
lxd installation.

masking proc-sys-fs-binfmt_misc.automount seemed to be a bad idea...
systemd is in a bad state..

ubuntu@zs93kvi:~$ systemctl -a | grep binfmt
  proc-sys-fs-binfmt_misc.automount                                             
                loaded    active     running          Arbitrary Executable File 
Formats File System Automount Point
  proc-sys-fs-binfmt_misc.mount                                                 
                loaded    inactive   dead             Arbitrary Executable File 
Formats File System
  systemd-binfmt.service                                                        
                loaded    inactive   dead             Set Up Additional Binary 
Formats
ubuntu@zs93kvi:~$ sudo systemctl mask proc-sys-fs-binfmt_misc.automount
Created symlink from /etc/systemd/system/proc-sys-fs-binfmt_misc.automount to 
/dev/null.
ubuntu@zs93kvi:~$ 
Broadcast message from systemd-journald@zs93kvi (Fri 2017-05-05 10:25:46 EDT):

systemd[1]: Caught <ABRT>, dumped core as pid 23484.


Broadcast message from systemd-journald@zs93kvi (Fri 2017-05-05 10:25:46 EDT):

systemd[1]: Freezing execution.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to