[opensuse] Will making changes from command line 'confuse' the GUI?
I have a laptop running OpenSUSE 10.3. Powering up this morning, during the startup process that displays the status as each component is loaded, I saw that the system timed out searching for an NTP server. This makes sense, as there was no network connection yet. I thought it would probably be a good idea to investigate how to remove that from startup, and let it run after the system is booted and online. Which lead to my question - In the past, while learning my way about various linux systems, I've tended to get into trouble when I make changes from the command-line, usually at the recommendation of someone more knowlegeable than I am, and then make other changes using the GUI. It seems that sometimes the GUI doesn't know about the changes implemented at the command line, and this sometimes leads to the entire system becoming hosed. I realize there's only one actual filesystem, the config files are what they are, and the GUI is only reading the same config files I'd be changing manually at the command line anyway, but I didn't make up this scenario out of thin air.For whatever reason, I have encountered problems that I think are related to this. And at this point, even if my concerns may have been valid 5 years ago and those issues no longer exist, I'm still uneasy about making changes from both places. SO, to those of you that actually know what you're doing, as opposed to me: Is this a ridiculous concern, or should I avoid 'mixing & mtaching', and pretty much stick to the CLI, or stick to the GUI, when making changes to the system configuration? Thanks, Steve -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2007-12-15 at 10:44 -0500, Steve Jacobs wrote:
I have a laptop running OpenSUSE 10.3.
Powering up this morning, during the startup process that displays the status as each component is loaded, I saw that the system timed out searching for an NTP server. This makes sense, as there was no network connection yet. I thought it would probably be a good idea to investigate how to remove that from startup, and let it run after the system is booted and online. Which lead to my question -
chkconfig ntp off or fireup yast, system services (runlevels). ...
SO, to those of you that actually know what you're doing, as opposed to me: Is this a ridiculous concern, or should I avoid 'mixing & mtaching', and pretty much stick to the CLI, or stick to the GUI, when making changes to the system configuration?
There is no straight answer, it depends on each particular change. In this case, it doesn't matter at all, both commands above will work and not collide - but the first one is much faster. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHY/xetTMYHG2NR9URAhcKAJ97dKNsT9qpDAoWLeOBoCIdOIV7NwCfcqpO q+WoFl9ddlcSKKAz5oyc8C8= =4FcU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Steve Jacobs <stevetjacobs@gmail.com>:
I have a laptop running OpenSUSE 10.3.
Powering up this morning, during the startup process that displays the status as each component is loaded, I saw that the system timed out searching for an NTP server. This makes sense, as there was no network connection yet. I thought it would probably be a good idea to investigate how to remove that from startup, and let it run after the system is booted and online. Which lead to my question -
In the past, while learning my way about various linux systems, I've tended to get into trouble when I make changes from the command-line, usually at the recommendation of someone more knowlegeable than I am, and then make other changes using the GUI. It seems that sometimes the GUI doesn't know about the changes implemented at the command line, and this sometimes leads to the entire system becoming hosed.
I realize there's only one actual filesystem, the config files are what they are, and the GUI is only reading the same config files I'd be changing manually at the command line anyway, but I didn't make up this scenario out of thin air.For whatever reason, I have encountered problems that I think are related to this. And at this point, even if my concerns may have been valid 5 years ago and those issues no longer exist, I'm still uneasy about making changes from both places.
SO, to those of you that actually know what you're doing, as opposed to me: Is this a ridiculous concern, or should I avoid 'mixing & mtaching', and pretty much stick to the CLI, or stick to the GUI, when making changes to the system configuration?
It is best to stick with one or the other. Usually this can be done on a per app/system basis. I usually use Yast to change the "run levels", i.e. enable/disable various servers. However, my Postfix setup I manage by editing the config files directly, Yast isn't up to the complexity of my situation. Or learn how the "SuSE/YaST" way and how to do that from the command line. Look into "innserv" for changing run levels. Modify one service with Yast and compare the old and new config files to verify that your understanding is correct. I have used various distributions over the years and have a tendency to "Just Do It" from the command line and a text editor. I encountered some of the same problems you are finding and have decided that it is better to learn the GUI tools at least until I understand what they are doing. And stick to one GUI tool, even where there are multiple ones. For example, just use one package manager. Pick one and stick with it. Expect problems when changing so don't change often. HTH, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Steve Jacobs wrote:
SO, to those of you that actually know what you're doing, as opposed to me: Is this a ridiculous concern, or should I avoid 'mixing & mtaching', and pretty much stick to the CLI, or stick to the GUI, when making changes to the system configuration?
I've always made changes via a combination of methods - sometimes with commands, sometimes with yast terminal mode, sometimes with yast gui, sometimes with webmin, sometimes by editing a config file and issuing the appropriate rc or kill -HUP command. I don't see any problem with that, as long as you understand what you're doing. Naturally any change which results from e.g. running an iptables command will be lost next time you boot, but other than that, I can't think of any down side, and certainly nothing that would damage the OS. I also think it makes you a more effective admin if you know more than one way of getting something done. Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Jeffrey L. Taylor
-
Joe Sloan
-
Steve Jacobs