interesting, i have not seen initscript not running processes, but i have seen it start a command and not wait for it to complete before it does the next line, rare, but did see it happen for sure a few times. we set our runlevel to 3 in autoyast, touch /etc/nologin, and run all our bash statements, then at the end, reset runlevel to 5 and last command is a reboot, so running commands in the background may not work for us since the reboot will kill it. our rug command stat fail, they are due to the rug error, not autoyast initscript, failing to start the process. I will try your other suggestion of deleting the whatyoumecalling db file... and get back to you. thanks.
neal
Originally Posted by brunold
|
We use the init-script section in the autoyast files to install the zlm client and register it at the same time with the zlm server. When the init script section is processed, not all processes were really started. Maybe that can be one of the problems. We install the zlm client, register it and then the init script is finished and the server starts the rest of the missing processes. So when it will start to install all mandatory bundles (>20), the system has finished the installation process and is already at the login prompt.
I wonder if you can put those rug commands in a different script (maybe on a nfs share) and launch that in the background, that the install completes beside that script gets executed.
Here is what we have in the init script section:
|
Code:
|
...
<scripts>
<init-scripts config:type="list">
<script>
<filename>zlmreg.sh</filename>
<debug config:type="boolean">true</debug>
<location></location>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/bash
#
# After installation, the logfile from this script can be found in
# /var/adm/autoinstall/logs
#
echo "========================================="
echo "... Starting AutoYAST included script ..."
echo "========================================="
mount -o nfsvers=3 10.0.0.1:/install /mnt
cd /mnt/zlm/addon
./autoyast-post.sh PSLES10-64.txt
... |
That autoyast-post.sh installs the zlm client and registers it. I would try to put a line like this there in:
"./run_rug_cmds.sh &"
Rainer
|