Bugzilla – Bug 112886
config.tetex stops when installing using "upgrade" option
Last modified: 2005-08-25 16:09:49 UTC
When doing an "upgrade" rather than a fresh install, when SuSEconfig runs at the end, it will stop on config.tetex. I CTRL-ALT-F2'd over to that console (is already logged in as root) and ran it from there. Turns out it's prompting for root's password. But, even when I put in the previous system's root password (you don't set it in an update), it did not work. Nor did it work with an empty password. If I kill the process, it goes onto the release notes just fine. When the system is up, if I run SuSEconfig, it does not prompt for a password, HOWEVER, I get these errors in config.tetex: readlink: missing operand Try `readlink --help' for more information. /sbin/conf.d/SuSEconfig.tetex: line 79: test: -nt: unary operator expected /sbin/conf.d/SuSEconfig.tetex: line 79: test: -nt: unary operator expected (repeated about 10 more times) I upgraded Beta1 to Beta3.
Also, this does not happen with a fresh install.
Sounds like the "nobody" user bug again. But the "test" errors puzzle me. Please attach /etc/passwd
Not the /etc/passwd the line of nobody within /etc/shadow is the real thing.
For the other error I'd like to know what the comand kpsewhich texmf.cnf prints out on the shell prompt.
I've add a check for texmf.cnf in SuSEconfig.tetex and also add a check for an expired password of the system user nobody. Nevetheless I'd like to know _why_ texmf.cnf is not found by kpsewhich and therefore readlink gets an empty variable. Please provide feedback.
Created attachment 47631 [details] My /etc/passwd file
Created attachment 47633 [details] My /etc/shadow file. Root's password is 979bf7fz
When I run 'kpsewhich texmf.cnf', I get no output at all. Even if run it from /usr/share/texmf/web2c (which is where I found texmf.cnf). Both texmf.cnf and kpsewhich came from RPM tetex-3.0-18 'rpm --verify tetex-3.0-18' produces the following: S.5....T c /etc/texmf/ls-R S.5....T /var/cache/fonts/ls-R S.5....T /var/lib/texmf/db/ls-R S.5....T /var/lib/texmf/doc/helpindex.html S.5....T /var/lib/texmf/ls-R
The problem is the nobody:*:13008:0:0:::: entry in /etc/shadow, please run chage -M 99999 nobody as root. After that remove the 'ls-R' file and re-run mktexlsr ... now SuSEconfig.tetex should work again.
Works perfectly. Was this due to a bug in beta1 with the nobody user?
Yep. the bug has forced empty ls-R files and therefore the data base of kpsewhich was not usable to find the texmf.cnf.