Michael:
Thanks for the suggestion, an excellent idea.
Unfortunately, it doesn't seem to have any errors of that sort:
cjshaker@linux: . /etc/rc.config
cjshaker@linux: bash /etc/rc.config
cjshaker@linux: sh /etc/rc.config
cjshaker@linux:
I have made errors like that before while editing firewall2.rc.config,
so I just checked all of the rc.config scripts in /etc/rc.config.d as well,
and didn't find any problems with them, either.
Duh. Just thought of checking for a log file. Checking /var/log/y2log
gives me all of these errors when I attempt to open "System/RC-Config
Editor":
2002-02-12 12:18:30 <1> corel-linux(16073) [liby2]
genericfrontend.cc(main):96 Launched YaST2 component 'y2bignfat'
2002-02-12 12:18:30 <1> corel-linux(16073) [YCP] clients/rc_config.ycp:34
STARTING rc-config editor ... false
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #0 (YAlignment)
below its nice size of 2000 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YSpacing)
below its nice size of 680 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #0 (YAlignment)
below its nice size of 2000 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YSpacing)
below its nice size of 680 to 640 - check the layout!
2002-02-12 12:18:31 <3> corel-linux(16073) [Interpreter]
clients/rc_config.ycp:183 Symbol 'arg_n' already declared at line 23
2002-02-12 12:18:31 <1> corel-linux(16073) [Interpreter]
clients/rc_config.ycp:209 Calling YCP function module
/usr/lib/YaST2/clients/rc_config_step1.ycp
2002-02-12 12:18:31 <1> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:93 Including YCP file
/usr/lib/YaST2/include/rc_dialogs.ycp
2002-02-12 12:18:31 <1> corel-linux(16073) [Interpreter] :0 shellcommand
'/usr/lib/YaST2/bin/rc_create_data'
2002-02-12 12:18:31 <3> corel-linux(16073) [Scanner]
YaST2/rc_config_keys:1748 Syntax error: parse error, expecting `','' or
`']''
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #0 (YAlignment)
below its nice size of 2000 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YSpacing)
below its nice size of 680 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #0 (YAlignment)
below its nice size of 2000 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YSpacing)
below its nice size of 680 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #2 (YSplit) below
its nice size of 746 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YAlignment)
below its nice size of 746 to 640 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcPrimaryGeometry):350 Resizing child widget #2 (YSplit) below
its nice size of 480 to 410 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1
(YReplacePoint) below its nice size of 480 to 410 - check the layout!
2002-02-12 12:18:31 <2> corel-linux(16075) [ui-layout]
YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #0 (YSpacing)
below its nice size of 480 to 410 - check the layout!
2002-02-12 12:18:34 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:34 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:35 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:35 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:38 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:38 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:40 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:40 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:42 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:42 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:44 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:44 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:45 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:45 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:45 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:45 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:47 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:47 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:50 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:367 Wrong arguments to maplist()
2002-02-12 12:18:50 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:369 Wrong arguments to filter()
2002-02-12 12:18:50 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:418 Wrong arguments to maplist()
2002-02-12 12:18:50 <3> corel-linux(16073) [Interpreter]
clients/rc_config_step1.ycp:419 Wrong arguments to filter()
2002-02-12 12:18:50 <3> corel-linux(16073) [Interpreter]
include/rc_dialogs.ycp:883 Wrong arguments to maplist()
2002-02-12 12:18:50 <3> corel-linux(16075) [ui]
YUIInterpreter.cc(createTable):3865 Invalid arguments for the Table widget:
`Table (`id (`table), `header ("Name", "NEW VALUE", "Description"), nil)
2002-02-12 12:18:50 <3> corel-linux(16075) [ui]
YUIInterpreter.cc(widgetWithId):1899 No widget with `id(`table)
Chris Shaker
----- Original Message -----
From: "Michael Hasenstein"
Christopher John Shaker wrote:
How do you convince YaST2 to edit /etc/rc.config again once you modify it with an editor? The 'help' information says that YaST2 uses a checksum to detect that you edited the file, and thereafter refuses to modify it.
This is true for all files mentioned under /var/adm/SuSEconfig/md5/ It's only for system config. files, not for rc.config - you can mix "vi"/any editor and yast/yast2.
Maybe you changed something in a way incompatible with shell syntax and now the rc.config parser doesn't work? See if you can parse this file via a shell, in a shell type:
. /etc/rc.config
and see if this generates errors. For example, you may have forgotten a '"'.
My YaST2 is definitely refusing to display the values of the items in the "System/RC-Config Editor". No matter what I click on in the left side panel, the right side panel continues to display:
'With this Editor, you can edit the variables in /etc/rc.config, the central configuration file of your SuSE Linux system. Please note: many of these variables are set by specialized YaST2 configuration modules like "Network configuration"'
I've been searching documentation and file systems, and don't see how to do it.