Justus Winter wrote:
As a workaround, using {reboot,halt}-hurd is safe (filesystem-wise)
even when using sysvinit. Using those commands avoids such problems.
I will try!
Then again, you should try to debug this. See what the init script
does. Inject a set -x to see where it hangs, etc.
I tried telnetting into the box and then perfoming a couple of
operations (remote login seems to be stabler than the console, which
freezes).
Some additional info:
I tried manually "openbsd-inetd stop" and it stopped without hanging
I then did "poweroff &" and checked with "ps -a" where it was haning
I noticed that almost with any script in init.d called with "stop" it
did hang. I then killed that process and it continued to the next, nutil
it came to filesystem where everything did hang. That is it looks that
it is not just one hanging...
I should try perhaps just booting an shuttingo down, to see how a clean
system works.
what should I do with "set -x" ? Please explain further...
Riccardo