Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208085 - webapp-config fails when emerging a web app
Summary: webapp-config fails when emerging a web app
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 19:09 UTC by Kenneth Ljungh
Modified: 2008-01-30 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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... ;)