Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201260 - ~sys-cluster/torque-2.2.1 installs env.d file with unexpanded variables
Summary: ~sys-cluster/torque-2.2.1 installs env.d file with unexpanded variables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 20:08 UTC by Jeroen Roovers (RETIRED)
Modified: 2010-09-10 19:01 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 Jeroen Roovers (RETIRED) gentoo-dev 2007-12-04 20:08:38 UTC
gentoo/cvs/gentoo-x86/sys-cluster/torque $ grep CONFIG_PROTECT files/*env.d*
files/torque-env.d-2.2.1:CONFIG_PROTECT="/var/spool/torque/sched_priv/{holidays,resource_group,dedicated_time,sched_config} /var/spool/torque/{server_name,pbs_environment}"
files/torque-env.d-2.2.1-r1:CONFIG_PROTECT="${PBS_SERVER_HOME}/sched_priv/{holidays,resource_group,dedicated_time,sched_config} ${PBS_SERVER_HOME}/{server_name,pbs_environment}"

This results in:
elmer ~ # grep -w CONFIG_PROTECT /etc/profile.env
export CONFIG_PROTECT='/var/bind /usr/share/X11/xkb ${PBS_SERVER_HOME}/sched_priv/{holidays,resource_group,dedicated_time,sched_config} ${PBS_SERVER_HOME}/{server_name,pbs_environment} /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config'

which in turn isn't expanded by, say, webapp-config which then fails. As far as I am aware, variables in env.d files are never expanded.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2007-12-04 20:18:14 UTC
Great, I'll get a fix in by tonight.  So much for trying to be tricky.
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2007-12-04 21:56:38 UTC
Fix committed, sorry for the inconvenience.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2007-12-05 16:06:56 UTC
That fixed it, thanks!