scripts don't execute

Ronald Steele rsteele at adaptivemethods.com
Fri Jun 24 18:48:37 CEST 2016


Yes, it’s excitable. That was my first thought too.
ls -l reports
-rwxr-xr-x 1 root root …

The same permissions are on the directory, which matches all the other script directories.

Ron


> On Jun 24, 2016, at 10:16 AM, Denny Bortfeldt <denny at bortfeldt.net> wrote:
> 
> Are you sure that your script in <CLASS>/<nr>-<name> got chmod +x ? Without execution flag the script will not get executed.
> 
> 2016-06-24 15:59 GMT+02:00 Ronald Steele <rsteele at adaptivemethods.com <mailto:rsteele at adaptivemethods.com>>:
> I’m trying to use scripts to install application software.   The scripts never get executed.
> If I embed the same script code into to one of the existing scripts (say CENTOS) the code works, however any scripts I create are never executed.
> The script’s file permissions are the same as the existing scripts.  The class name is defined in .../class/50-host-classes and appears in the log files in variables.log and fai.log (but never in shell.log).
> 
> Thanks for any ideas.
> 
> Ron
> 
> 
> 
> 
> Spam <https://antispam.roaringpenguin.com/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=s>
> Phish/Fraud <https://antispam.roaringpenguin.com/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=p>
> Not spam <https://antispam.roaringpenguin.com/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=n>
> Forget previous vote <https://antispam.roaringpenguin.com/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=f>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20160624/0b4d01ac/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3593 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20160624/0b4d01ac/attachment-0001.p7s>


More information about the linux-fai mailing list