For some reason there is a difference if the format has already been registered. But this will not happen in our init script anyway.
$ sudo /usr/sbin/update-binfmts --disable jar $ sudo sh -c "echo $(cat /var/cache/binfmts/jar) > /proc/sys/fs/binfmt_misc/register" $ sudo sh -c "echo $(cat /var/cache/binfmts/jar) > /proc/sys/fs/binfmt_misc/register" $ $ sudo /usr/sbin/update-binfmts --disable jar $ sudo sh -c "cat /var/cache/binfmts/jar > /proc/sys/fs/binfmt_misc/register" $ sudo sh -c "cat /var/cache/binfmts/jar > /proc/sys/fs/binfmt_misc/register" cat: write error: Invalid argument -- update-binfmts is slow on boot https://bugs.launchpad.net/bugs/320822 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
