Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 208085

Summary: webapp-config fails when emerging a web app
Product: Gentoo Linux Reporter: Kenneth Ljungh <kenneth>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Kenneth Ljungh 2008-01-29 19:09:44 UTC
When emerging mythweb I got a fatal error message from webapp-config which seems to come from failing to parse config_protect if nxclient is installed.

Reproducible: Always

Actual Results:  
The problem seems to be that config_protect in files profile.env and csh.env contains "$NXDIR". By replacing "$NXDIR" with "/usr/NX" webapp-config works.

* Fatal error: 
* Fatal error: There is a problem with your configuration file.
* Fatal error: webapp-config tried to read the variable "config_protect"
* Fatal error: and received the following error:
* Fatal error: 
* Fatal error: Bad value substitution:
* Fatal error: 	section: [USER]
* Fatal error: 	option : config_protect
* Fatal error: 	key    : nxdir
* Fatal error: 	rawval : /etc ${NXDIR}/home /etc /home/mythtv/ /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config
* Fatal error: 
* Fatal error: Please note that webapp-config is not written in bash anymore
* Fatal error: and that you cannot use the bash scripting features.
* Fatal error(s) - aborting
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-29 21:17:03 UTC
Well, because you have unexpanded junk in your environment... What installed the broken env.d entry?
Comment 2 Kenneth Ljungh 2008-01-30 07:10:08 UTC
Probably me screwing up, just ignore this.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-30 08:08:52 UTC
OK. closing then... ;)