[tlu] PATH not propagated to *-sys scripts (Yosemite)

Bruno Voisin bvoisin at icloud.com
Fri Jul 11 18:27:58 CEST 2014


Le 11 juil. 2014 à 17:25, Adam R. Maxwell <amaxwell at mac.com> a écrit :

> I'll also note that any security improvements would be meaningless, since the entire goal of TLU is to blindly run a huge mass of perl and shell tools as root.

Two additional thoughts on the matter:


- Another thing you could try is install Perl/Tk, then run directly tlmgr --gui from the command line (or maybe simply tlmgr, in which case Perl/Tk isn't required). Last I tried, that is on Mavericks, Perl/Tk could be retrieved from

	http://search.cpan.org/~srezic/Tk/

and compiled straightforwardly with

	perl Makefile.PL
	make
	make test
	sudo make install

I'm not sure whether TLU runs tlmgr directly, or some of the scripts tlmgr is based on. I think the former. If that's the case, then this test would point to tlmgr or TLU as the culprit.


- MacTeX-2014 has introduced a Mavericks-related change to the TeXDist structure it is based on. In the former structure, managed by texdist and documented in /Library/TeX/Distributions/TeXDist-description.rtf, /usr/texbin was a symlink to (depending on architecture)

	../Library/TeX/Distributions/.DefaultTeX/Contents/Programs/{universal-darwin,x86_64-darwin}

itself a symlink to

	/usr/local/texlive/<year>/bin/{universal-darwin,x86_64-darwin}

These symlinks were created by the MacTeX-2014 pre- or postflight scripts (I don't remember which). In the new structure, yet undocumented and managed by /Library/TeX/Distributions/Programs/texdistmgr, additional layers have been introduced with /usr/texbin a symlink to

	../Library/TeX/Distributions/Programs/texbin

itself a symlink to

	../.DefaultTeX/Contents/Programs/texbin

itself a symlink to (depending on arch)

	{i386,powerpc,ppc,x86_64}

themselves symlinks to

	{universal-darwin,universal-darwin,universal-darwin,x86_64-darwin}

Given all the symlinks are created by the MacTeX-2014 install scripts, and you reported experiencing problems with it (including in particular the new TeXDist pref pane which contains texdistmgr and is an essential part of the change), then maybe this structure is broken on your setup in ways (though I can't see how) making updmap-sys and fmtutil-sys work but not TLU.


Bruno





More information about the tlu mailing list