[Pacemaker] /.crm_help_index file (in system root aka /)

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Mon Jul 12 15:17:34 UTC 2010


On 07/02/2010 03:26 PM, Dejan Muhamedagic wrote:
> On Thu, Jul 01, 2010 at 07:46:44PM +0200, Raoul Bhatia [IPAX] wrote:
>> On 07/01/2010 05:46 PM, Dejan Muhamedagic wrote:
>>> The help index is created in the user's home. Is that the home of
>>> the root user? Shouldn't it be /root? BTW, there are many other
>>> programs creating dot files in home dirs.
>>
>> yeah, i know. and /root/.xxxx would perfectly be fine.
>>
>> but occasionally, it appears in /
>>
>> thats the "issue".
> 
> OK, it's because the HOME variable expands to zilch. Now, that
> may be a problem because we definitely need a place for the help
> index. In case there's no HOME variable the shell may refuse to
> create the index which means there wouldn't be any help, but this
> has to be tested. You can open a bugzilla if bothered.

hi,

thinking about it, it *might* be related to cronjobs:

> # cat /etc/cron.d/ipax_backup 
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> 
> # m h dom mon dow user  command
> 00 07    * * *   root   /root/bin/do_i_run_res.sh mysql-server && /root/bin/backup.mysql.sh > /dev/null

can you confirm my suspicion? shall i still open a bugzilla?

thanks,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________



More information about the Pacemaker mailing list