pdftex for some reason scans the whole home directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
texlive-bin (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: texlive-base-bin
When called as "pdftex filename.tex" the pdftex doesn't work as expected (I was using latex or pdflatex from tetex-bin and worked fine for years). It does only print:
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
and waits there for hours. I tried to strace the executable and found that is scans recursively my home directory probably searching for something. This is quite unacceptable. A partial output of strace is:
[...]
write(1, "This is pdfTeXk, Version 3.14159"..., 55) = 55
write(1, " %&-line parsing enabled.\n", 26) = 26
access(
open("/home/nmav/", O_RDONLY|
fstat(3, {st_mode=
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
open("/
getdents(3, /* 143 entries */, 4096) = 4088
stat("/
stat("/
stat("/
stat("/
open("/
stat("/
open("/
stat("/
open("/
stat("/
open("/
stat("/
open("/
open("/
fstat(4, {st_mode=
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
open("/
getdents(4, /* 10 entries */, 4096) = 384
stat("/
open("/
[...]
Changed in texlive-bin: | |
importance: | Undecided → Low |
status: | New → In Progress |
On Mo, 18 Feb 2008, Nikos wrote:
> and waits there for hours. I tried to strace the executable and found
> that is scans recursively my home directory probably searching for
> something. This is quite unacceptable. A partial output of strace is:
What is your
HOME
env variable? What is TEXMFHOME?
We had similar problems because HOME had a terminal /, which made /path/to/ home//texmf
TEXMFHOME=
and thus searches the full homedir.
It is important that HOME does not have a terminal slash.
Next release (TeX Live 2008) will have a fix for that
Best wishes
Norbert
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------
BUDE
A polite joke reserved for use in the presence of vicars.
--- Douglas Adams, The Meaning of Liff