I just updated my SME Server 7.0 to the new 7.1, via the 'yum update' command.
It downloaded all the packages, then installed them and cleaned up the system.
While this phase was running, I noticed a WARNING message I was not able to catch at first, but I found it later in the messages log.
It says:
WARNING in /etc/e-smith/db/configuration/migrate//05sysconfig: Use of uninitialized value in pattern match (m//) at /etc/e-smith/db/configuration/migrate//05sysconfig line 18.
The script seems to check for a KEYBOARDTYPE value in /etc/sysconfig/keyboard, to register it in the sysconfig DB entry if different from the default "pc" value, but there is no such value in it on my system.
I checked for the sysconfig DB entry values, and this is the output:
# config show sysconfig
sysconfig=configuration
InstallEpoch=1153322770
KeyboardType=pc
Keytable=it
Language=en_US
PreviousSystemMode=servergateway
Registration=none
ReleaseVersion=7.1
SoftwareRaid=no
SystemID=E79A0FCC-173A-11DB-93D1-C5C830123DD0
So the KeyboardType is present with its default "pc" value.
There seems to be no template for the /etc/sysconfig/keyboard file, so here are the questions:
1. Is it a "cosmetic" problem only, or does it have to be considered a bug?
2. How can be the /etc/sysconfig/keyboard expanded in a "SME Server way"? When is it generated?
3. Should I edit it by hand to avoid such a warning in the future? Is it safe anyway - guess yes...
Thank you for your answers and my best wishes for a happy new year.