[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#141086: tetex-bin: Puts files in /usr/local



"mdz" == Matt Zimmerman <mdz@debian.org>
"CMC" == C.M. Connelly <cmc@debian.org>

Matt,


    CMC> So what we've really got here is a wishlist bug, for
    CMC> changes to the cron job to not regenerate the ls-R file
    CMC> or for the TeX configuration file to not require the ls-R
    CMC> file for the /usr/local/lib/texmf/ directory.

    mdz> No, what we _still_ have here is a cron job which tries
    mdz> to write to /usr, which is a clear FHS violation and thus
    mdz> a violation of a 'must' directive in Debian policy.

Next time, please provide a reference so that we can verify what
you're talking about without having to search around for it.

    FHS> Section 4, The /usr Hierarchy, says

    FHS> /usr is the second major section of the filesystem.  /usr
    FHS> is shareable, read-only data.  That means that /usr
    FHS> should be shareable between various hosts running
    FHS> FHS-compliant and should not be written to.  Any
    FHS> information that is host-specific or varies with time is
    FHS> stored elsewhere.

We can fix that.  A short-term fix for you (assuming you don't
have a local texmf tree) is to comment out the TEXMFLOCAL and
TEXMFOLDLOCAL lines in /etc/texmf/texmf.d/05TeXMF.

As for longer-term fixes, we can either modify stuff so that the
ls-R file ends up in /var (like the one for /usr/share/texmf/), or
we can modify the TEXMF variable to not require an ls-R file.  The
first option is better, the second option is easy.

   CMC

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Man cannot be civilised, or be kept civilised by what he does in his
	    spare time; only by what he does as his work.
			     W.R. Lethaby
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  C.M. Connelly               c@eskimo.com                   SHC, DS
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+


-- 
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: