Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where are the init directories located?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MartinB
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 222
Location: Apeldoorn, Netherlands

PostPosted: Tue Jul 08, 2003 8:50 pm    Post subject: Where are the init directories located? Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Jul 08, 2003 9:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54479
Location: 56N 3W

PostPosted: Tue Jul 08, 2003 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Jul 08, 2003 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Jul 08, 2003 9:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
cbreaker
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2003
Posts: 105
Location: Pawtucket, RI

PostPosted: Wed Aug 27, 2003 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum