Hola Arnau,
> we' re planning to change our WN disk partitions and add/modify some
> mount options. One of those is adding noexec at /tmp.
>
> We've been doing some test and noticed that ALL lcg-CE jobs submitted to
> our torque/maui lrms fail. After some debug, we found:
>
> /var/spool/pbs/mom_priv/jobs/13463005.pbs02.pic.es.SC:
> /tmp/bootstrap.KM9390: /usr/bin/perl: bad interpreter: Permission denied
>
> and this come from " PBS batch job script built by Globus job manager"
> that has some /tmp in it (SC job file).
>
>
> bootstrap=`mktemp /tmp/bootstrap.XXXXXX`; chmod 700 $bootstrap
> cat >> $bootstrap <<EOFbs
> #!/usr/bin/perl -w
> use strict;
>
> [...]
> EOFbs
> $bootstrap /home/atpilot001/ ce06.pic.es ...
>
>
> We define tmpdir at WN level:
> # grep tmpdir /var/spool/pbs/mom_priv/config
> $tmpdir /home/tmp
>
> and we'd like to use $tmpdir (/home/tmp) as torque tmpdir.
>
> Is there any way for converting that "/tmp" into a "$tmpdir"?
The script should use ${TMPDIR:-/tmp} instead. Bug opened:
https://savannah.cern.ch/bugs/?74580
|