View unanswered posts | View active topics It is currently Tue Jun 19, 2018 4:48 am



Reply to topic  [ 6 posts ] 
 Keyboard problem (bug), and how to modify startup scripts 
Author Message

Joined: Tue Jun 23, 2009 2:14 am
Posts: 2
Reply with quote
Post Keyboard problem (bug), and how to modify startup scripts
Hello,

I have a problem when setting (F2) french keyboard : the setup remains "french" after reboot, but the real llayout is back to default.

I've found that it is a bug in the "/etc/vmware/init/init.d/89.keymap" script : there is a line with :

KeyMap="$(</etc/keymap)"

it seems not working with this shell, but works with :

KeyMap="$(cat /etc/keymap)"

I tried to change this script (that works), but after reboot, the original script comes back. If I set the sticky bit (chmod +t), it remains for one reboot, but original script is back after two reboots !

How to have this change in script permanent ?

Thanks


Tue Jun 23, 2009 2:22 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Keyboard problem (bug), and how to modify startup scripts
That's interesting that it get's wiped after the 2nd reboot. After the 1st reboot, is the sticky bit still on?

It's odd that it doesn't stay on and thus get back into state.tgz, but since it doesn't i'd suggest creating an oem.tgz file for it.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Wed Jun 24, 2009 6:26 pm
Profile

Joined: Tue Jun 23, 2009 2:14 am
Posts: 2
Reply with quote
Post Re: Keyboard problem (bug), and how to modify startup scripts
Yes, the sticky bit is still on. But there is no more a ".#89.keymap" file. So after second reboot, it is back to original file, without sticky bit.

For "system" files in (for example) /etc with the sticky bit on, I saww that after reboot, there are still the ".#xxxx" files. So, I suppose the processus is more complex than only setting the sticky bit.

You give a tip to disable IPMI modifying the init script, after setting on the sticky bit of the script. I tried, same result... back to original file after second reboot.

Do you know how to report to VMware development that tthere is a bug in this keyboard init script ?


Mon Jun 29, 2009 11:53 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Keyboard problem (bug), and how to modify startup scripts
Sorry for the tardy display but vacation got in the way :).

To log a support call you can try here - http://www.vmware.com/go/support_request/.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Mon Jul 06, 2009 12:09 am
Profile

Joined: Mon Feb 07, 2011 5:06 pm
Posts: 8
Reply with quote
Post Re: Keyboard problem (bug), and how to modify startup script
Can someone provide instructions on how to permanently modify a file? I am running into the same problem, where after a second reboot the file is back to the original state.

Thanks.


Wed May 23, 2012 12:17 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Keyboard problem (bug), and how to modify startup script
You can create an oem.tgz file with the modified file that you want. You'll then need to edit boot.cfg to include an entry to that file. See the home page for an article on creating an oem.tgz file.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Wed May 23, 2012 11:57 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.