Red Hat Bugzilla – Bug 250930
Chapter 19.17. Laptop Configurations, mentions nonexistent file /etc/rc3.d/S99XenLaptopNAT
Last modified: 2009-08-20 00:01:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20070529 Red Hat/18.104.22.168-1.el5 Firefox/22.214.171.124
Description of problem:
Chapter 19.17. Laptop Configurations of the Virtualization Guide reads:
"It is a good idea to enable NAT in domain0 so that domU can access the
public net. This way, even wireless users can work around the Red Hat
Virtualization wireless limitations. To do this, you must modify the
S99XenLaptopNAT file that resides in the /etc/rc3.d directory to
reflect the example below:"
- Script attached.
I couldn't find the S99XenLaptopNAT file that was supposed to be in
/etc/rc3.d (I'm using RHEL5 Client). But, even if this file existed, it should be a symbolic link pointing to a shell script located in /etc/rc.d/init.d, instead of being the script itself.
This should also take care of the next paragraph, which is innacurate:
"If you want to automatically have the network setup at boot time, you
must create a softlink to /etc/rc3.d/S99XenLaptopNAT."
Because if you already have a script in /etc/rc3.d, it would start the setup anyway (at least in runlevel 3) and because the contents of the /etc/rcX.d directories should be symbolic links only.
- See next attachment for proposed script.
To make the script effective, the steps would be:
1) Create a XenLaptopNAT script file in /etc/rc.d/init.d/ and make it executable, chmod +x XenLaptopNAT.
2) run chkconfig --add XenLaptopNAT.
3) run chkconfig XenLaptopNAT on.
4) run service XenLaptopNAT start, or reboot the machine to test it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 160710 [details]
Created attachment 160711 [details]
User firstname.lastname@example.org's account has been closed
Reassigning to Don. Virtualization now part of RHEL.
fixed in source. setting as MODIFIED