View previous topic :: View next topic |
Author |
Message |
MartinB Apprentice
Joined: 12 Feb 2003 Posts: 222 Location: Apeldoorn, Netherlands
|
Posted: Tue Jul 08, 2003 8:50 pm Post subject: Where are the init directories located? |
|
|
I've just been trying to install VMWare 3 and it's asking me the following:
"What is the directory that contains the init directories (rc0.d/ to
rc6.d/)?"
I'm not really sure what to tell it. I tried /etc/init.d/ but it said that this doesn't contain a rc0.d directory. Anyone know where I should tell it to look?
Cheers,
Martin _________________ Intel i7 3820 - 16GB Corsair DDR3 - GeForce GTX 660 2GB - SBLive - 13TB - Gentoo - KDE4 |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 08, 2003 9:13 pm Post subject: |
|
|
It is looking for Sys V style runlevel directories; Redhat, for example, uses these. Gentoo's init system is quite different. The init files are in /etc/init.d and the scripts for each runlevel are in /etc/runlevels/<runlevel_name>, where <runlevel_name> = default, boot, single, ...
This thread may help.
Last edited by Naan Yaar on Tue Jul 08, 2003 9:29 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Tue Jul 08, 2003 9:24 pm Post subject: |
|
|
Naan Yaar,
The Gentoo runlevels can be found in /etc/runlevels but Gentoo doesn't name them the way that VMWare wants.
You may find VMWare is happy with symlinks, once you have worked out the correspondence.
Regards,
NeddySeagon _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 08, 2003 9:33 pm Post subject: |
|
|
As I have indicated in my earlier post, I do know where Gentoo's runlevels are (I have corrected a small typo there). However, the way dependencies are managed and how the init scripts work in Gentoo are totally different from the way they work in a Sys V set-up such as RedHat (dependencies are inherent in the filenames in the latter, whereas such issues are irrelevant under Gentoo).
NeddySeagoon wrote: |
The Gentoo runlevels can be found in /etc/runlevels but Gentoo doesn't name them the way that VMWare wants.
|
|
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 08, 2003 9:38 pm Post subject: |
|
|
Also, the whole discussion may be a bit moot. There are vmware-workstation ebuilds in portage; they are not masked either.
If you look at the init setup in the ebuild, you will see that the vmware stuff is stored in a different directory and a wrapper init script that is properly "Gentoo-ified" is inserted in init.d. |
|
Back to top |
|
|
cbreaker Tux's lil' helper
Joined: 05 Feb 2003 Posts: 105 Location: Pawtucket, RI
|
Posted: Wed Aug 27, 2003 3:12 am Post subject: |
|
|
Since I'm using GSX Server, not Workstation, there was no ebuild.
All I did was create the rc0 - rc6 directories to make vmware happy, and then deleted them when install was done.
Then I went ahead and did a rc-update add vmware default.
No biggie. |
|
Back to top |
|
|
|