Bug#427562: [BINGO FOUND] Launches forkbomb on upgrade/install
Norbert Preining <preining@logic.at> wrote:
> So AFAIS the only solution to this is that we go back to the hack of NOT
> preloading the latex format, but including the stuff in the .ini files.
> Because jadetex depends on texlive-latex-base we can be sure that the
> respective files are already installed on the system.
>
> But then - Frank - what about files loaded from latex.ini which no
> reside in /etc/texmf which still have the "new" suffix ... what do you
> think?
An alternative would be to teach fmtutil about "depending formats" and
let it skip a format if there is no information for the depended-on
format, just as it would skip that depended-on format itself.
This would be done in the parse_line function in fmtutil, but I'm unsure
about the actual format of $texargs. It seems that most formats have a
'*' before there ini file, like this:
latex pdftex language.dat -translate-file=cp227.tcx *latex.ini
What does that mean?
But I guess we can just grep for '&\([[:alpha:]]+\)[[:space:]]' in
$texargs (it need not at the beginning, at least unless
-tranlage-file=foo is forbidden when using a preloaded format), and
check for $1.fmt.
But how will jadetex then be recreated when latex becomes available?
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: