Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88557 - app-text/tetex-3.0-r2 installs programs in /var in violation of the FHS
Summary: app-text/tetex-3.0-r2 installs programs in /var in violation of the FHS
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 02:43 UTC by Karl-Johan Karlsson
Modified: 2006-01-24 10:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.