[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] RE: condor_config_val macro bug?



> From: Sean Looper 
> Sent: Monday, July 11, 2005 12:02 PM
> To: 'Condor-Users Mail List'
> Subject: condor_config_val macro bug?
> LOCAL_CONFIG_FILE =
> $(NET_DIR)\etc\globalClient\$(HOSTNAME)\condor_config.local
> 
> 
> When I run 'condor_config_val -name dell001 -config' on dell001, I get this
> output:

> Config file:
> 
>         //manager/condor/etc/globalMaster/condor_config
> 
> Local config file:
> 
>        
> \\manager\Condor\etc\globalClient\dell001\condor_config.local
> 
> 
> However, when I run 'condor_config_val -name dell001 -config' on dell015, I
> get this output:
> 
> Config file:
> 
>         //manager/condor/etc/globalMaster/condor_config
> 
> Local config file:
> 
>        
> \\manager\Condor\etc\globalClient\dell015\condor_config.local
> 
> It appears that condor_config_val is substituting the $(HOSTNAME) macro
> based on the querying machine and not the machine being queried.  Is this
> intended or have I discovered a bug?

I cannot replicate this on 6.6.8 (Windows)

to make it simpler does

condor_config_val -name <localmachine> HOSTNAME

condor_config_val -name <remotemachine> HOSTNAME

exhibit the same behaviour or is it only on expression evaluation?

Matt