stgraber@dakara:~$ rssh castiana.lan.mtl
root@castiana:~# ls -lh /proc/sys/fs/binfmt_misc
ls: cannot open directory '/proc/sys/fs/binfmt_misc': Too many levels of 
symbolic links
root@castiana:~# cat /proc/mounts | grep binfmt
systemd-1 /proc/sys/fs/binfmt_misc autofs 
rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 0 0
root@castiana:~# 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
  binfmt-support.service                                                        
                          loaded    active   exited    Enable support for 
additional executable binary formats
  systemd-binfmt.service                                                        
                          loaded    inactive dead      Set Up Additional Binary 
Formats
root@castiana:~#

-- 
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:
  New
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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to