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

Bug#376050: please do not claim to "Manage permissions with debconf"



On Mon, Jul 03, 2006 at 17:51 +0200, Frank Küster wrote:
> Okay, I worked along Ralf's older mail:
> 
> http://lists.debian.org/debian-tetex-maint/2006/05/msg00531.html
> 
> . add appropriate mktex.cnf in /u/s/texmf/web2c (or /e/texmf/web2c?)
> 
>   Done, in /u/s/texmf/.

Great! A minor suggestion, which would simplify moving back to a
global font cache:

Index: mktex.cnf
===================================================================
--- mktex.cnf   (revision 1476)
+++ mktex.cnf   (working copy)
@@ -1,3 +1,6 @@
+# global font cache
+#: ${MT_FEATURES=appendonlydir:varfonts}
+# per user font cache 
 : ${MT_FEATURES=appendonlydir:texmfvar}
 #: ${MODE=ljfour}
 #: ${BDPI=600}


BTW, what happens if one uses 'appendonlydir' and 'texmfvar' together?
In my tests I had always used only 'texmfvar'.

> . write documentation for NEWS.Debian and README.Debian
> 
>   Done, please read and correct

Suggestions:

Index: NEWS.Debian
===================================================================
--- NEWS.Debian (revision 1476)
+++ NEWS.Debian (working copy)
@@ -18,9 +18,9 @@
   
   * Breakage with TeXLive
   
-    The texlive packages do not yet automatically create a user's TEXMFVAR
-    directory for font caching.  This might break document processing in
-    some configurations.  Simply create the directory $HOME/.texmf-var
-    manually to fix this.
+    The texlive packages as of version 2005-2 do not automatically create
+    a user's TEXMFVAR directory for font caching. This might break
+    document processing in some configurations. Simply create the
+    directory $HOME/.texmf-var manually to fix this.
   
  -- Frank Küster <frank@debian.org>  Mon,  3 Jul 2006 15:25:26 +0200


Index: README.Debian
===================================================================
--- README.Debian       (revision 1476)
+++ README.Debian       (working copy)
@@ -11,11 +11,16 @@
  instead, but this directory is cleaned up regularly.
 
  On multi-user machines, it might be advisable that the local
- administrator set VARTEXFONTS to a persistent directory,
- e.g. /var/cache/fonts.  The variable is set in in
- /etc/texmf/texmf.d/05TeXMF.cnf, do not forget to run update-texmf
- after making the change.  Care should be taken to specifiy
- appropriate permissions for that directory.  Either the local admin
+ administrator enables a site-wide font cache and sets VARTEXFONTS to
+ a persistent directory, e.g. /var/cache/fonts.  The variable is set in
+ /etc/texmf/texmf.d/05TeXMF.cnf and can either be changed there or 
+ overwritten in a file that sorts before 05TeXMF.cnf, e.g.  
+ /etc/texmf/texmf.d/04VARTEXFONTS.cnf.  Do not forget to run
+ update-texmf after making the change.  To enable a side-wide font
+ caching the admin should copy /usr/share/texmf/web2c/mktex.cnf to
+ /etc/texmf/web2c/mktex.cnf and use 'varfonts' instead of 'texmfvar' in
+ MT_FEATURES.  Care should be taken to specifiy appropriate permissions
+ for the directory containing the font cache.  Either the local admin
  should create all available font data and not allow write access, or
  else write access should be limited to trusted users.  Yet an other
  alternative is to bind-mount /var/cache/fonts from a separate


Shall I commit these changes?

> . test updates and font creation under different circumstances
> 
>   Done, including the case of an existing /etc/texmf/web2c/mktex.cnf. 

Could you share how you did these tests? Thanks.

cheerio
ralf



Reply to: