[yast-devel] Re: [Research] SuSEconfig is gone
V Thu, 20 Sep 2012 13:43:50 +0200 Thorsten Kukuk <kukuk@suse.de> napsáno:
Hi,
I think one of our oldest scripts in our SuSE Linux/SUSE Linux/openSUSE and SUSE Linux Enterprise history is now finally gone: /sbin/SuSEconfig
R.I.P.
https://fate.suse.com/100011 https://build.opensuse.org/request/show/135139
Thorsten
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed? Jiri [1] See grep -r "/sbin/SuSEconfig" /usr/share/YaST2/* -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, Sep 20, Jiří Suchomel wrote:
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed?
Please remove them. If replacements are really needed, we will find out ;) I think for ISDN we need a replacement, but since we have no maintainer and nobody is able to find out what the current script is really doing, we don't have one :( Thorsten
Jiri
[1] See grep -r "/sbin/SuSEconfig" /usr/share/YaST2/* -- Jiri Suchomel
SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz
-- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 09/20/2012 02:02 PM, Thorsten Kukuk wrote:
On Thu, Sep 20, Jiří Suchomel wrote:
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed?
Please remove them. If replacements are really needed, we will find out ;)
I think for ISDN we need a replacement, but since we have no maintainer and nobody is able to find out what the current script is really doing, we don't have one :('
Hi, you may hate me for this answer, anyway, first, thanks for finally dropping this beast! And, more seriously: SUSEconfig was used for stuff that should go (ideally) to RPM scripts as well as for writing the configuration. The benefit I see is not dropping the functionality, but finally not calling a set of script after package installation, even if it is completely irrelevant to the installed/updated package. For writing configuration (or in fact any case when YaST calls a specific SUSEconfig.<something> script), this script can still be called (possibly with a different name) if it is needed to keep the behavior (which seems to be the ISDN case). Making sure to stop calling the whole set of SUSEconfig scripts is what YaST should do. Jiri
Thorsten
Jiri
[1] See grep -r "/sbin/SuSEconfig" /usr/share/YaST2/* -- Jiri Suchomel
SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz
-- Regards, Jiri Srain Project Manager --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.com Lihovarska 1060/12 tel: +420 284 084 659 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.com -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
V Mon, 01 Oct 2012 08:35:00 +0200 Jiri Srain <jsrain@suse.cz> napsáno:
On 09/20/2012 02:02 PM, Thorsten Kukuk wrote:
On Thu, Sep 20, Jiří Suchomel wrote:
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed?
Please remove them. If replacements are really needed, we will find out ;)
I think for ISDN we need a replacement, but since we have no maintainer and nobody is able to find out what the current script is really doing, we don't have one :('
Hi,
you may hate me for this answer, anyway, first, thanks for finally dropping this beast!
And, more seriously: SUSEconfig was used for stuff that should go (ideally) to RPM scripts as well as for writing the configuration. The benefit I see is not dropping the functionality, but finally not calling a set of script after package installation, even if it is completely irrelevant to the installed/updated package.
For writing configuration (or in fact any case when YaST calls a specific SUSEconfig.<something> script), this script can still be called (possibly with a different name) if it is needed to keep the behavior (which seems to be the ISDN case).
Making sure to stop calling the whole set of SUSEconfig scripts is what YaST should do.
Jiri
But someone has to tell use which script calls are still mandatory and which can be removed. Or we can remove all by default and wait for bug reports for the missing ones. Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 10/01/2012 11:06 AM, Jiří Suchomel wrote:
V Mon, 01 Oct 2012 08:35:00 +0200 Jiri Srain <jsrain@suse.cz> napsáno:
On 09/20/2012 02:02 PM, Thorsten Kukuk wrote:
On Thu, Sep 20, Jiří Suchomel wrote:
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed?
Please remove them. If replacements are really needed, we will find out ;)
I think for ISDN we need a replacement, but since we have no maintainer and nobody is able to find out what the current script is really doing, we don't have one :('
Hi,
you may hate me for this answer, anyway, first, thanks for finally dropping this beast!
And, more seriously: SUSEconfig was used for stuff that should go (ideally) to RPM scripts as well as for writing the configuration. The benefit I see is not dropping the functionality, but finally not calling a set of script after package installation, even if it is completely irrelevant to the installed/updated package.
For writing configuration (or in fact any case when YaST calls a specific SUSEconfig.<something> script), this script can still be called (possibly with a different name) if it is needed to keep the behavior (which seems to be the ISDN case).
Making sure to stop calling the whole set of SUSEconfig scripts is what YaST should do.
Jiri
But someone has to tell use which script calls are still mandatory and which can be removed.
Or we can remove all by default and wait for bug reports for the missing ones.
I can only offer following guidance: WHen YaST calls a specific SUSEconfig script (say e.g. SuSEconfig.glib2), there is likely a specific reason to do it. You can only on per-case basis decide if it is still needed and what to call instead (ideally with the maintainer of affected package). If YaST calls the whole bunch of SUSEconfig script, you should either remove it - as /sbin/SUSEconfig does not exist any more, or convert it to the previous case. Anyway, I think that SUSEconfig calls done after package installation should be removed first - since they just create the differences between RPM, zypper and YaST and are not really related to system configuration. Jiri -- Regards, Jiri Srain Project Manager --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.com Lihovarska 1060/12 tel: +420 284 084 659 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.com -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Mon, Oct 01, Jiří Suchomel wrote:
But someone has to tell use which script calls are still mandatory and which can be removed.
Or we can remove all by default and wait for bug reports for the missing ones.
Since AJ did forbid the SuSEconfig.* scripts directory, you can remove all this calls because the scripts will no longer exist. How the solution in every special case will look like: only the package maintainer can tell you. So the correct way is, that the package maintainer will tell you which scripts to call, if there is really on necessary. But to my knowledge, none is necessary, since all solutions should work with plain rpm and zypper, too. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
V Wed, 10 Oct 2012 07:52:49 +0200 Thorsten Kukuk <kukuk@suse.de> napsáno:
On Mon, Oct 01, Jiří Suchomel wrote:
But someone has to tell use which script calls are still mandatory and which can be removed.
Or we can remove all by default and wait for bug reports for the missing ones.
Since AJ did forbid the SuSEconfig.* scripts directory, you can remove all this calls because the scripts will no longer exist. How the solution in every special case will look like: only the package maintainer can tell you.
There's /etc/sysconfig/suseconfig file (currently packaged with yast2) with options like CWD_IN_ROOT_PATH and CWD_IN_USER_PATH. Does anyone know who uses these variables to adapt the system behavior? If we drop the file, is there any replacement? Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, Oct 25, Jiří Suchomel wrote:
There's /etc/sysconfig/suseconfig file (currently packaged with yast2) with options like CWD_IN_ROOT_PATH and CWD_IN_USER_PATH.
Does anyone know who uses these variables to adapt the system behavior?
/etc/profile.d/profile.sh and /etc/profile.d/profile.csh are using this entries. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
V Thu, 20 Sep 2012 14:02:16 +0200 Thorsten Kukuk <kukuk@suse.de> napsáno:
On Thu, Sep 20, Jiří Suchomel wrote:
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed?
Please remove them. If replacements are really needed, we will find out ;)
Just to make sure: should I remove SuSEconfig references from upcoming SLE11SP3 code, or only from Factory? Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Tue, Oct 23, Jiří Suchomel wrote:
V Thu, 20 Sep 2012 14:02:16 +0200 Thorsten Kukuk <kukuk@suse.de> napsáno:
On Thu, Sep 20, Jiří Suchomel wrote:
Wow. There are still several call of the script from YaST[1]. Should we just remove them all or is some replacement needed?
Please remove them. If replacements are really needed, we will find out ;)
Just to make sure: should I remove SuSEconfig references from upcoming SLE11SP3 code, or only from Factory?
Only from Factory. We will not make such a drastic change with a SP. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (3)
-
Jiri Srain
-
Jiří Suchomel
-
Thorsten Kukuk