Bug 477833 - texlive cron file appears way too broad
Summary: texlive cron file appears way too broad
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-24 01:29 UTC by Michal Jaegermann
Modified: 2013-07-02 23:34 UTC (History)
3 users (show)

Fixed In Version: 2007-46.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-15 19:12:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2008-12-24 01:29:10 UTC
Description of problem:

/etc/cron.daily/texlive.cron reads like this:

#!/bin/bash
# Remove TeX fonts not used in 180 days
/usr/sbin/tmpwatch 4320 /var/lib/texmf
exit 0

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
like it.

Version-Release number of selected component (if applicable):
texlive-2007-35.fc10.x86_64

Comment 1 Michal Jaegermann 2008-12-24 01:39:25 UTC
> 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
/var/lib/texmf/fonts/map/dvips/updmap:

and many other files from /var/lib/texmf are missing too.

Comment 2 Michal Jaegermann 2008-12-24 02:04:48 UTC
$ rpm -V texlive-texmf-2007-26.fc10.noarch | grep missing

shows right away, the next day after it was installed,

missing     /var/lib/texmf/default.ls-R
missing     /var/lib/texmf/dvipdfm/config/config
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
are there?

Comment 3 Jindrich Novy 2009-10-15 19:12:42 UTC
This one should be fixed now as no cron job is called in the newer releases.

Comment 4 Fedora Update System 2009-11-13 02:24:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.