<div dir="ltr">Hello,<div><br></div><div>here is an issue that I noticed today and seems related: Sometime between the last Sunday and yesterday, TeX Live ceased to index <font face="monospace">/usr/local/texlive/texmf-local/tex/generic</font> in kpathsea. Here is a demonstration of the issue using the historic TeX Live 2021 Docker image:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace"># docker run --rm -it texlive/texlive:TL2021-historic</font></div><div><font face="monospace">(entering docker container)</font></div><div><font face="monospace"># mkdir -p /usr/local/texlive/texmf-local/tex/generic/foo</font></div><div><font face="monospace"># touch /usr/local/texlive/texmf-local/tex/generic/foo/bar.tex</font></div><div><font face="monospace"># texhash</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2021/texmf-config/ls-R...</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2021/texmf-dist/ls-R...</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2021/texmf-var/ls-R...</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/texmf-local/ls-R...</font></div><div><font face="monospace">texhash: Done.</font></div><div><font face="monospace"># kpsewhich bar.tex</font></div><div><font face="monospace">/usr/local/texlive/texmf-local/tex/generic/foo/bar.tex</font></div></blockquote><div><font face="monospace"><br></font></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace"># docker run --rm -it texlive/texlive:latest</font></div><div><font face="monospace">(entering docker container)</font></div><div><font face="monospace"># mkdir -p /usr/local/texlive/texmf-local/tex/generic/foo</font></div><div><font face="monospace"># touch /usr/local/texlive/texmf-local/tex/generic/foo/bar.tex</font></div><div><font face="monospace"># texhash</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2022/texmf-config/ls-R...</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2022/texmf-dist/ls-R...</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2022/texmf-local/ls-R...</font></div><div><font face="monospace">texhash: Updating /usr/local/texlive/2022/texmf-var/ls-R...</font></div><div><font face="monospace">texhash: Done.</font></div><div><font face="monospace"># kpsewhich bar.tex</font></div><div><font face="monospace">(no results)</font></div></blockquote><div><br></div><div>The TeX Live 2022 Docker image exhibited the same behavior as the TeX Live 2021 Docker image until yesterday's weekly update of the Docker image. Is this a bug or the intended behavior from now on? It is currently breaking <a href="https://github.com/witiko/markdown/actions/runs/2526661788">the continuous integration of the Markdown package</a>.</div><div><br></div><div>Best,</div><div>Vit</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ne 19. 6. 2022 v 23:09 odesílatel Karl Berry <<a href="mailto:karl@freefriends.org">karl@freefriends.org</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">    Has install-tl changed behavior recently (e.g., past two weeks) in<br>
    terms of how TEXMF configurations are set? <br>
<br>
Not intentionally, but we (Norbert and I) have been playing with the<br>
directory-setting code, so indeed, a bug like this seems probable.<br>
<br>
    Could someone point me to a change log?<br>
<br>
Unfortunately we don't keep a separate ChangeLog file for this, but our<br>
commit log msgs are here (or on the github mirror, if you prefer):<br>
<a href="https://tug.org/svn/texlive/trunk/Master/install-tl?view=log" rel="noreferrer" target="_blank">https://tug.org/svn/texlive/trunk/Master/install-tl?view=log</a><br>
<a href="https://github.com/TeX-Live/texlive-source/commits" rel="noreferrer" target="_blank">https://github.com/TeX-Live/texlive-source/commits</a><br>
<br>
    I'm not sure, but I think the output in this case (even when the<br>
    script was run with sudo) used to be: /home/<my user name>/texmf.<br>
<br>
I do seem to recall having a special case so that root's home dir was<br>
not used. What is the value of your HOME envvar after sudo?<br>
<br>
Thanks,<br>
Karl<br>
</blockquote></div>