"S" == stephanie kerckhof stephanie.kerckhof@ec.europa.eu writes:
Hi
S> Hello, We are encountering problems with the NFS boot scripts. We S> already used this on another installation of Qlustar. It was S> working fine, but on our new install, it seems that the scripts S> are not executing at boot anymore. Here is the procedure we S> followed: S> 1. We created a script in /etc/qlustar/common/rc.boot S> 2. We made the script executable using chmod +x
is it executable by everybody (chmod 755)? root maps to user nobody on NFS clients so it won't start at boot if it isn't ...
S> If I look on the node, the script is visible in the NFS folder S> /etc/qlustar/common/rc.boot. If I execute it manually, it has the S> behaviour I'm expecting from it.
As root or another user? If it sill doesn't start automatically at boot if all these requirements are met, but it will if executed manually, it can be a timing issue (systemd dependency related).
S> Do you have any idea of why the NFS scripts could have some S> problems in executing at boot time? I was also wondering if S> there would be a way to start a service automatically at boot on S> a node?
It will have to be done via rc.boot scripts or would require some application-specific under the hood manipulations.
Best,
Roland