On Fri, 2 Nov 2007 12:04:22 -0500 "ethericalzen@gmail.com" ethericalzen@gmail.com wrote:
On Fri, 2 Nov 2007 09:40:22 -0400 "McGuffey, David C." DAVID.C.MCGUFFEY@saic.com took out a #2 pencil and scribbled:
I don't want to remove or back away from selinux in enforcing mode. I have customers who want to build applications on top of selinux, so the task at hand is to get smart and make things work with selinux.
Isn't it possible (I don't know that this would work for you) to turn off that particular policy? I run selinux in enforcing mode and haven't fallen into this particular problem as my setup is obviously different. Would it be poor advice to try and disable the selinux policy for this particular instance? Or is the situation of a sort that it wouldn't matter and selinux would freak out anyway?
I took the easy way out, copied the WinXP data to another location, converted the ntfs formatted /dev/sdb2 partition to ext3, remounted it, and copied the WinXP data back to it. Took the time to reorganize some of the data. Created the new shares in samba, and all seems to be working now. Each user can connect to their share, but not the share of the other users.
Dave McGuffey Principal Information System Security Engineer // NSA-IEM, NSA-IAM SAIC, IISBU, Columbia, MD
I solved my samba and selinux problem (dealing with an old ntfs partition), now I'm moving on to the second stage of converting a machine to linux...getting an instance of WinXP or Vista running in VMware on F7.
Did all the RTFM stuff. Downloaded an evaluation copy of VMware and the "any-any" patch from http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz Installed the development libraries and tools.
During the install VMware complains that the kernel doesn't have the right modules. So it wants to compile them. No problem, since I had rtfm, I was ready...almost. :(
It is asking for the location of the linux source. The source directories in /usr/src/redhat are empty. When I started this conversion from XP to linux, I had downloaded the F7 DVD and installed the desktop/office option...later adding the development libraries and tools. It has been a long time since I had to muck with a kernel build. Is the source on that DVD? If so, where is it and how do I get it into the right location so that I can finish this VMware install?
Is the "Get the Source" guidance at http://fedoraproject.org/wiki/Docs/CustomKernel#head-e8ad3159461876ddaff 51c82994e2f9369512a28 my answer for F7?
Dave McGuffey Principal Information System Security Engineer // NSA-IEM, NSA-IAM SAIC, IISBU, Columbia, MD
McGuffey, David C. wrote:
I solved my samba and selinux problem (dealing with an old ntfs partition), now I'm moving on to the second stage of converting a machine to linux...getting an instance of WinXP or Vista running in VMware on F7.
Did all the RTFM stuff. Downloaded an evaluation copy of VMware and the "any-any" patch from http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz Installed the development libraries and tools.
During the install VMware complains that the kernel doesn't have the right modules. So it wants to compile them. No problem, since I had rtfm, I was ready...almost. :(
It is asking for the location of the linux source. The source directories in /usr/src/redhat are empty. When I started this conversion from XP to linux, I had downloaded the F7 DVD and installed the desktop/office option...later adding the development libraries and tools. It has been a long time since I had to muck with a kernel build. Is the source on that DVD? If so, where is it and how do I get it into the right location so that I can finish this VMware install?
Sounds like you don't have the kernel-devel package installed.
On Thu, 2007-11-08 at 09:40 -0500, McGuffey, David C. wrote:
I solved my samba and selinux problem (dealing with an old ntfs partition), now I'm moving on to the second stage of converting a machine to linux...getting an instance of WinXP or Vista running in VMware on F7.
Did all the RTFM stuff. Downloaded an evaluation copy of VMware and the "any-any" patch from http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz Installed the development libraries and tools.
During the install VMware complains that the kernel doesn't have the right modules. So it wants to compile them. No problem, since I had rtfm, I was ready...almost. :(
It is asking for the location of the linux source. The source directories in /usr/src/redhat are empty. When I started this conversion from XP to linux, I had downloaded the F7 DVD and installed the desktop/office option...later adding the development libraries and tools. It has been a long time since I had to muck with a kernel build. Is the source on that DVD? If so, where is it and how do I get it into the right location so that I can finish this VMware install?
Is the "Get the Source" guidance at http://fedoraproject.org/wiki/Docs/CustomKernel#head-e8ad3159461876ddaff 51c82994e2f9369512a28 my answer for F7?
Dave McGuffey Principal Information System Security Engineer // NSA-IEM, NSA-IAM SAIC, IISBU, Columbia, MD
Do you have the kernel development ("kernel-devel") package installed? That's what VMware needs.
Also, the source is looked for by VMware in /lib/modules/`uname -r`/source (or build instead of source, since they point to the same place), which is a link to /usr/src/kernels/`uname -r`.
-- Mark C, Allman, PMP -- Allman Professional Consulting, Inc. -- www.allmanpc.com, 617-947-4263
BusinessMsg -- the secure, managed, J2EE/AJAX Enterprise IM/IC solution
On 08 November, 2007 09:48, Mark C. Allman wrote:
On Thu, 2007-11-08 at 09:40 -0500, McGuffey, David C. wrote:
...During the install VMware complains that the kernel doesn't have
the
right modules. So it wants to compile them. No problem, since I had rtfm, I was ready...almost. :(
It is asking for the location of the linux source. The source directories in /usr/src/redhat are empty...
Do you have the kernel development ("kernel-devel") package installed? That's what VMware needs.
Also, the source is looked for by VMware in /lib/modules/`uname -r`/source (or build instead of source, since they point to the same place), which is a link to /usr/src/kernels/`uname -r`.
-- Mark C, Allman, PMP
That worked...problem solved
Output from the "any-any" version 114 script (which appeared to call the vmware-install.pl script):
Starting VMware services: Virtual machine monitor [ OK ] Blocking file system: [ OK ] Virtual ethernet [ OK ] Bridged networking on /dev/vmnet0 [ OK ] Host network detection [ OK ] Host-only networking on /dev/vmnet1 (background) [ OK ] DHCP server on /dev/vmnet1 [ OK ] Host-only networking on /dev/vmnet8 (background) [ OK ] DHCP server on /dev/vmnet8 [ OK ] NAT service on /dev/vmnet8 [ OK ]
The configuration of VMware Workstation 6.0.2 build-59824 for Linux for this running kernel completed successfully.
I'm not comfortable using an untrusted script out of the Czech Republic for anything other than a toy machine. It is fine for testing virtualization in a lab, but at this point, not good for say doing my taxes with TurboTax in WinXP on a home machine. If the script was signed or provided an md5 hash, and VMware indicated that this was an "approved" approach, then I might feel better. But that is not the case.
Anyone know the "pedigree" and quality of this any-any script?
I'm a bit dismayed that VMware is not playing a more active role in making the scripts necessary to get their product to run on Fedora. Afterall Fedora eventually rolls over into a Red Hat server offering.
Dave McGuffey Principal Information System Security Engineer // NSA-IEM, NSA-IAM SAIC, IISBU, Columbia, MD
On Fri, Nov 09, 2007 at 08:57:12AM -0500, McGuffey, David C. wrote:
The configuration of VMware Workstation 6.0.2 build-59824 for Linux for this running kernel completed successfully.
I'm not comfortable using an untrusted script out of the Czech Republic for anything other than a toy machine. It is fine for testing virtualization in a lab, but at this point, not good for say doing my taxes with TurboTax in WinXP on a home machine. If the script was signed or provided an md5 hash, and VMware indicated that this was an "approved" approach, then I might feel better. But that is not the case.
Anyone know the "pedigree" and quality of this any-any script?
I'm a bit dismayed that VMware is not playing a more active role in making the scripts necessary to get their product to run on Fedora. Afterall Fedora eventually rolls over into a Red Hat server offering.
The issue is more the rate at which Fedora changes the kernel, the Vmware installation process requires (as you discvered) a build against the kernel sources. Vmware make their code work with the latest kernels being used in various distributions at the time the Vmware release is done.
Some distributions keep the same kernel throughout their life (e.g. typically server/commercial distributions) for just this reason, things like Vmware are supported only against certain kernel versions.
Other distributions (like Fedora) stay on the 'bleeding edge' and update the kernel frequently, Vmware releases don't keep up with these changes.
If you want a 'safe' place to be for sensitive software to run you want to use a more stable distribution than Fedora.
On Friday 09 November 2007, Chris G wrote:
On Fri, Nov 09, 2007 at 08:57:12AM -0500, McGuffey, David C. wrote:
The configuration of VMware Workstation 6.0.2 build-59824 for Linux for this running kernel completed successfully.
Anyone know the "pedigree" and quality of this any-any script?
VMware 6.0.x doesn't need the any-any patch to build on Fedora 7. I'm running Workstation 6.0.1 now with the 2.6.23 updated F7 kernel, and nothing special had to be done to make it build once the kernel devel package was installed.