Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88557

Summary: app-text/tetex-3.0-r2 installs programs in /var in violation of the FHS
Product: Gentoo Linux Reporter: Karl-Johan Karlsson <creideiki+gentoo-bugzilla>
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl-Johan Karlsson 2005-04-10 02:43:16 UTC
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
Comment 1 Martin Ehmsen (RETIRED) gentoo-dev 2006-01-24 10:19:57 UTC
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.