How to reproduce: - head amd64 host - head i386 jail - pkg install binutils inside the head i386 jail There are lots of: indexinfo: Impossible to open directory: Not permitted in capability mode pkg-static: POST-INSTALL script failed
The source code of print/indexinfo is readable at https://github.com/bapt/indexinfo/blob/master/indexinfo.c
A commit references this bug: Author: oshogbo Date: Tue Jul 3 18:17:19 UTC 2018 New revision: 335900 URL: https://svnweb.freebsd.org/changeset/base/335900 Log: capsicum: add getdirentries to the freebsd32 compact There is a getdirentries syscall in freebsd32 and it's capability ready so allow calling it in the capability mode. PR: 228671 Changes: head/sys/compat/freebsd32/capabilities.conf
A commit references this bug: Author: oshogbo Date: Tue Jul 3 18:18:30 UTC 2018 New revision: 335901 URL: https://svnweb.freebsd.org/changeset/base/335901 Log: Regen after 335900. PR: 228671 Changes: head/sys/compat/freebsd32/freebsd32_sysent.c
A commit references this bug: Author: emaste Date: Mon Sep 17 18:36:29 UTC 2018 New revision: 338726 URL: https://svnweb.freebsd.org/changeset/base/338726 Log: MFC r335900 (oshogbo): capsicum: add getdirentries to the freebsd32 compact There is a getdirentries syscall in freebsd32 and it's capability ready so allow calling it in the capability mode. PR: 228671 Changes: _U stable/11/ stable/11/sys/compat/freebsd32/capabilities.conf
A commit references this bug: Author: emaste Date: Mon Sep 17 18:46:30 UTC 2018 New revision: 338728 URL: https://svnweb.freebsd.org/changeset/base/338728 Log: revert r338726 (getdirentries capsicum addition) Compat getdirentries was added with the ino64 project and is not needed in stable/11. I MFC'd r335900 accidentally as a side effect of some other WIP. PR: 228671 Changes: _U stable/11/ stable/11/sys/compat/freebsd32/capabilities.conf