I added a set -x into the script:

/etc/init.d/module-init-tools

The hang appears at line #56

# Loop over every line in /etc/modules.
grep '^[^#]' $MODULES_FILE | \
while read module args; do   <------------------------ Here
[ "$module" ] || continue
load_module "$module" "$args"
done


The obvious suggesting is that grep is not writing and not exiting.
However I note I'm able to use ctrl-C to interrupt this ... suggesting I have a controlling TTY
which I would not have expected.

If I do ctrl-C this , later scripts also hang .. eventually I start getting problems with script failing



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to