Since I'm paranoid, and the Filesystem Hierarchy Standard says that /var should only contain data, I've mounted /var with the noexec option. However, app-text/tetex-3.0-r2 installs a shell script in /var/lib/texmf/texconfig/tcfmgr and expects to be able to execute it. Reproducible: Always Steps to Reproduce: 1. Emerge app-text/tetex-3.0-r2. 2. Try to emerge app-text/jadetex-3.13-r1. 3. See it die with: >>> Source unpacked. tex jadetex.ins This is TeX, Version 3.141592 (Web2C 7.5.4) kpathsea: Running mktexfmt tex.fmt /usr/bin/mktexfmt: /var/lib/texmf/texconfig/tcfmgr: /bin/sh: bad interpreter: Permission denied fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `tex.fmt'! make: *** [basic] Error 1
I can't find anywhere in the FHS where it says that /var must not contain executables. It says that /var should contain data, but a script can be data if it is input to another executable (which it is in this case). The term 'data' is as vague as a term goes. If you can find anywhere in the FHS where it says that /var must not contain executables, feel free to reopen the bug.