Red Hat Bugzilla – Bug 477833
texlive cron file appears way too broad
Last modified: 2013-07-02 19:34:14 EDT
Description of problem:
/etc/cron.daily/texlive.cron reads like this:
# Remove TeX fonts not used in 180 days
/usr/sbin/tmpwatch 4320 /var/lib/texmf
The same way like an older tetex.cron. There is a catch though. On a tetex installation in /var/lib/texmf there were indeed only font files. Right now there are there directories like dvipdfm, dvips, fonts, tex, web2c and inside of those many files which do not like that should be dropped after 180 days at all. For example /var/lib/texmf/tex/generic/config/pdftexconfig.tex from texlive-texmf-2007-26.fc10 package and many others.
'tmpwatch' looks only at atime and does not differentiate between files. This cannot be correct.
Well, a default configuration shows VARTEXFONTS=/var/lib/texmf/fonts.
If the later directory would be in texlive.cron that would be more
Version-Release number of selected component (if applicable):
> would be more like it.
No, actually not. A day after it was installed the whole setup is already damaged:
$ ls $(rpm -qlf /var/lib/texmf/fonts/map/dvips/updmap | grep dvips/updmap)
ls: cannot access /var/lib/texmf/fonts/map/dvips/updmap/builtin35.map: No such file or directory
ls: cannot access /var/lib/texmf/fonts/map/dvips/updmap/download35.map: No such file or directory
ls: cannot access /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map: No such file or directory
ls: cannot access /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map: No such file or directory
ls: cannot access /var/lib/texmf/fonts/map/dvips/updmap/psfonts_pk.map: No such file or directory
ls: cannot access /var/lib/texmf/fonts/map/dvips/updmap/psfonts_t1.map: No such file or directory
and many other files from /var/lib/texmf are missing too.
$ rpm -V texlive-texmf-2007-26.fc10.noarch | grep missing
shows right away, the next day after it was installed,
missing c /var/lib/texmf/web2c/mktex.cnf
and an older installation of texlive-texmf-2007-24.fc9.noarch adds /var/lib/texmf/tex/generic/config/pdftexconfig.tex to this list. Other missing files appear to be of a length 0 so they may indeed not show up. Hm, why they
This one should be fixed now as no cron job is called in the newer releases.
texlive-2007-46.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.