[opensuse] howto Delay switch to graphics mode on boot to monitor samba, mysql & ntp??
Guys, The runlevel 5 init scripts have been rearranged and now the switch to graphics mode from text mode occurs much too early hiding a majority of the boot process (samba, mysql, ntp, etc....) How can I change the time when this switch occurs so I can monitor the boot process like we have always been able to. Before it was very useful for catching errors after config changes, etc.. Now all of this is obscured and hidden from the user. Having the switch to graphics mode this early seems ridiculous. Instead of being able to monitor for errors now, you are switched into a basically 'dead' login display that is virtually non-responsive until the boot process completes anyway. It's far better to be able to actually monitors what takes place for an additional 40 seconds to a minute instead of having that part of the boot process hidden behind a non-responsive login display. (OK, sometimes you can start the login then, but things grind to a halt until the underlying boot processes complete) So how do I delay the switch until at lease past samba, ntp & mysql??? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 02 of August 2010 08:07:33 David C. Rankin wrote:
Guys,
The runlevel 5 init scripts have been rearranged and now the switch to graphics mode from text mode occurs much too early hiding a majority of the boot process (samba, mysql, ntp, etc....) How can I change the time when this switch occurs so I can monitor the boot process like we have always been able to. Before it was very useful for catching errors after config changes, etc.. Now all of this is obscured and hidden from the user.
I can think of several ways: change the dependencies of /etc/rc.d/xdm and /etc/rc.d/earlyxdm, deactivate earlyxdm or set RUN_PARALLEL="no" in /etc/sysconfig/boot. A combination of these should probably suffice.
Having the switch to graphics mode this early seems ridiculous. Instead of being able to monitor for errors now, you are switched into a basically 'dead' login display that is virtually non-responsive until the boot process completes anyway.
I can immediately log-in here, when kdm appears. Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-08-02 13:01, auxsvr@gmail.com wrote:
On Monday 02 of August 2010 08:07:33 David C. Rankin wrote:
So how do I delay the switch until at lease past samba, ntp & mysql???
deactivate earlyxdm
Interesting.
set RUN_PARALLEL="no" in /etc/sysconfig/boot.
That makes boot slower.
Having the switch to graphics mode this early seems ridiculous. Instead of being able to monitor for errors now, you are switched into a basically 'dead' login display that is virtually non-responsive until the boot process completes anyway.
I can immediately log-in here, when kdm appears.
I have sometimes the login fail. I can type, but it crashes and returns to the login screen. On 2010-08-02 12:21, Dave Howorth wrote:
David C. Rankin wrote:
So how do I delay the switch until at lease past samba, ntp & mysql???
CTRL-ALT-F1 or CTRL-ALT-F10 maybe?
The system is slow to respond at that time. On 2010-08-02 07:07, David C. Rankin wrote:
So how do I delay the switch until at lease past samba, ntp & mysql???
Perhaps I would try adding "chvt 1" somewhere. Or searching for a "chvt 7" if it exists and commenting it out. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxWs10ACgkQU92UU+smfQVKUgCcDYUAIA3dPBYwhN1t8jnFHbgV 4bcAn3G9pbtPpZ/f57gsl1T0Ci+9uVxi =2N20 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 02 of August 2010 15:00:29 Carlos E. R. wrote:
set RUN_PARALLEL="no" in
/etc/sysconfig/boot.
That makes boot slower.
Yes, the advantage is that if it fits David's purpose, it's the most simple way.
I have sometimes the login fail. I can type, but it crashes and returns to the login screen.
There's a timeout value, ServerTimeout set in /usr/share/kde4/config/kdm/kdmrc for kdm, after the elapsing of which kdm aborts the session. If your session startup takes too long, perhaps you should increase this value. Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-08-02 14:25, auxsvr@gmail.com wrote:
On Monday 02 of August 2010 15:00:29 Carlos E. R. wrote:
I have sometimes the login fail. I can type, but it crashes and returns to the login screen.
There's a timeout value, ServerTimeout set in /usr/share/kde4/config/kdm/kdmrc for kdm, after the elapsing of which kdm aborts the session. If your session startup takes too long, perhaps you should increase this value.
No, there is no sense in atempting to login before all services are started. Once all are started login works fine. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxWxREACgkQU92UU+smfQXASwCeJbw+vKjQu+hQn3On205SPHf+ hyQAnRCxqEXb84lk5peOkKpjW84MFCJM =BkfE -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 02 of August 2010 16:16:01 Carlos E. R. wrote:
On 2010-08-02 14:25, auxsvr@gmail.com wrote:
On Monday 02 of August 2010 15:00:29 Carlos E. R. wrote:
I have sometimes the login fail. I can type, but it crashes and returns to the login screen.
There's a timeout value, ServerTimeout set in /usr/share/kde4/config/kdm/kdmrc for kdm, after the elapsing of which kdm aborts the session. If your session startup takes too long, perhaps you should increase this value.
No, there is no sense in atempting to login before all services are started. Once all are started login works fine.
There are ~15 services started after kdm here, and I never had your problem. Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday August 2 2010, Carlos E. R. wrote:
On 2010-08-02 13:01, auxsvr@gmail.com wrote:
...
I can immediately log-in here, when kdm appears.
I have sometimes the login fail. I can type, but it crashes and returns to the login screen.
On an irregular basis, I find that my 11.3 system fails to mount a NFS volume from another system. When this happens I have to manually run "/etc/init.d/nfs start". Furthermore, sometimes this also fails and I have to switch to run-level 2 and back to 5 (or 3, I suppose). All this (my symptoms and those reported by others here) make me wonder if there really is a poor choice of init script dependencies?
...
-- Cheers / Saludos,
Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz said the following on 08/02/2010 09:48 AM:
On Monday August 2 2010, Carlos E. R. wrote:
On 2010-08-02 13:01, auxsvr@gmail.com wrote:
...
I can immediately log-in here, when kdm appears.
I have sometimes the login fail. I can type, but it crashes and returns to the login screen.
On an irregular basis, I find that my 11.3 system fails to mount a NFS volume from another system. When this happens I have to manually run "/etc/init.d/nfs start". Furthermore, sometimes this also fails and I have to switch to run-level 2 and back to 5 (or 3, I suppose).
All this (my symptoms and those reported by others here) make me wonder if there really is a poor choice of init script dependencies?
Probably. I know of two ways to do NFS. One is to put it in the /etc/fstab So it may be that you get the NFS mount demand before /usr/lib ... ? The other is 'on demand' via the mapper - /etc/auto.net But there a lot of other things that may produce race conditions. I've put all my NFS in /etc/auto.net and its children and nothing accesses any NFS until someone logs in. I realise that isn't always practical; many people will want to share things like /usr/share. -- The art of progress is to preserve order amid change and to preserve change amid order. --Alfred North Whitehead -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday August 2 2010, Anton Aylward wrote:
Randall R Schulz said the following on 08/02/2010 09:48 AM:
...
On an irregular basis, I find that my 11.3 system fails to mount a NFS volume from another system. When this happens I have to manually run "/etc/init.d/nfs start". Furthermore, sometimes this also fails and I have to switch to run-level 2 and back to 5 (or 3, I suppose).
All this (my symptoms and those reported by others here) make me wonder if there really is a poor choice of init script dependencies?
Probably.
I know of two ways to do NFS.
One is to put it in the /etc/fstab So it may be that you get the NFS mount demand before /usr/lib ... ?
I'm using this, /etc/fstab. Furthermore, I "configured" it by the simple expedience of copying the pertinent line from my 11.1 fstab to my 11.3 fstab. Perhaps that side-stepped some other required configuration or dependency adjustment?
The other is 'on demand' via the mapper - /etc/auto.net
I'm aware of on-demand auto-mounting, but have never used it nor really learned how to set it up. I'll look into it.
...
-- The art of progress is to preserve order amid change and to preserve change amid order. --Alfred North Whitehead
More easily said than done, Alfy! Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Monday August 2 2010, Anton Aylward wrote:
Randall R Schulz said the following on 08/02/2010 09:48 AM:
...
On an irregular basis, I find that my 11.3 system fails to mount a NFS volume from another system. When this happens I have to manually run "/etc/init.d/nfs start". Furthermore, sometimes this also fails and I have to switch to run-level 2 and back to 5 (or 3, I suppose).
All this (my symptoms and those reported by others here) make me wonder if there really is a poor choice of init script dependencies? Probably.
I know of two ways to do NFS.
One is to put it in the /etc/fstab So it may be that you get the NFS mount demand before /usr/lib ... ?
I'm using this, /etc/fstab. Furthermore, I "configured" it by the simple expedience of copying the pertinent line from my 11.1 fstab to my 11.3 fstab. Perhaps that side-stepped some other required configuration or dependency adjustment?
I recently became aware of the _netdev mount option, which I for one didn't use to have in my fstab. Perhaps it's worth adding it, if you don't already have it. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday August 2 2010, Dave Howorth wrote:
Randall R Schulz wrote:
On Monday August 2 2010, Anton Aylward wrote:
Randall R Schulz said the following on 08/02/2010 09:48 AM:
...
On an irregular basis, I find that my 11.3 system fails to mount a NFS volume from another system. ...
I know of two ways to do NFS.
One is to put it in the /etc/fstab So it may be that you get the NFS mount demand before /usr/lib ... ?
I'm using this, /etc/fstab. Furthermore, I "configured" it by the simple expedience of copying the pertinent line from my 11.1 fstab to my 11.3 fstab. Perhaps that side-stepped some other required configuration or dependency adjustment?
I recently became aware of the _netdev mount option, which I for one didn't use to have in my fstab. Perhaps it's worth adding it, if you don't already have it.
That sounds like just what I need. I added it to my fstab entry. I hope that's sufficient. Thanks.
Cheers, Dave
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz said the following on 08/02/2010 10:29 AM:
On Monday August 2 2010, Anton Aylward wrote:
Randall R Schulz said the following on 08/02/2010 09:48 AM:
...
All this (my symptoms and those reported by others here) make me wonder if there really is a poor choice of init script dependencies?
Probably.
I know of two ways to do NFS.
One is to put it in the /etc/fstab So it may be that you get the NFS mount demand before /usr/lib ... ?
I'm using this, /etc/fstab. Furthermore, I "configured" it by the simple expedience of copying the pertinent line from my 11.1 fstab to my 11.3 fstab. Perhaps that side-stepped some other required configuration or dependency adjustment?
Or a timing (either race or sequencing) problem. Which gets back to the init scripts. Perhaps your logs will show something. On the whole, its the intermittent nature of this that makes me wonder. If it were simply the sequence of the init scripts it would be repeatable. Or maybe not with them running in parallel ... which get back to a race condition. And since some of this is the response of the remote machine ... -- out of memory we wish to hold the whole sky but we never will -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/02/2010 06:01 AM, auxsvr@gmail.com wrote:
I can think of several ways: change the dependencies of /etc/rc.d/xdm and /etc/rc.d/earlyxdm, deactivate earlyxdm or set RUN_PARALLEL="no" in /etc/sysconfig/boot. A combination of these should probably suffice.
That's the set of configs I was looking for. Thanks. Glad you have a usable system when kdm appears, but on my old P4 3.33GHz laptop, once you hit KDM with the current boot setup, you might as well leave and go get a cup of coffee, the box is useless for about 60-90 seconds until the boot process completes. Who'd a thunk that after all these years that little red HD activity diode would come in handy again after all :p This sluggishness with boot probably affects laptops more than desktop now days just do to disk I/O. I'll compare if I ever get 11.3 on a desktop. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Anton Aylward
-
auxsvr@gmail.com
-
Carlos E. R.
-
Dave Howorth
-
David C. Rankin
-
Randall R Schulz