[opensuse] Re: reboot/shutdown occasionally fail
Mark Goldstein wrote:
In my experience after X is killed and I log in as root and issue "halt" command, in most cases it works, but sometimes it is stuck at some point after stopping network services.
The ordering of service shutdown in 11.1 is sometimes flawed; I don't know about 11.2 as I don't have it running currently. E.g., autofs is shut down much too early as it may mount home directories. Any service that may access home directories (e.g., postfix, Samba, or others) may have a problem later on. I have also changed ldap and ypbind from $remote_fs to $local_fs in Required-Stop, though I don't remember why. Also termination of user processes is unreliable, sometimes local filesystems can't be unmounted cleanly because some processes still uses it. (This is a regression that appeared with 11.1; 10.x installations with the same software/service set on the same hardware didn't have that behaviour.) Probably this happens in your case as well; some service shutdown does not succeed since it waits for some resource that is either not available any more or blocked. Since these situations often only appear after some usage and often reboots are so damned inconvenient, it is very hard to chase the root cause of these problems. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, May 17, 2010 at 1:40 PM, Joachim Schrod <jschrod@acm.org> wrote:
Mark Goldstein wrote:
In my experience after X is killed and I log in as root and issue "halt" command, in most cases it works, but sometimes it is stuck at some point after stopping network services.
The ordering of service shutdown in 11.1 is sometimes flawed; I don't know about 11.2 as I don't have it running currently.
E.g., autofs is shut down much too early as it may mount home directories. Any service that may access home directories (e.g., postfix, Samba, or others) may have a problem later on. I have also changed ldap and ypbind from $remote_fs to $local_fs in Required-Stop, though I don't remember why. Also termination of user processes is unreliable, sometimes local filesystems can't be unmounted cleanly because some processes still uses it. (This is a regression that appeared with 11.1; 10.x installations with the same software/service set on the same hardware didn't have that behaviour.)
Probably this happens in your case as well; some service shutdown does not succeed since it waits for some resource that is either not available any more or blocked. Since these situations often only appear after some usage and often reboots are so damned inconvenient, it is very hard to chase the root cause of these problems.
Joachim, thank you for explanations. From remote fs I'm only using samba. If I'll see it again, I'll try digging a bit deeper. Regards, -- Mark Goldstein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Joachim Schrod
-
Mark Goldstein