View previous topic :: View next topic |
Author |
Message |
todd93 l33t
Joined: 30 Oct 2006 Posts: 620 Location: Missouri
|
Posted: Sat May 31, 2014 10:51 am Post subject: Services not starting at boot |
|
|
Hi, I know I've been hitting the forums pretty hard lately, but I do have a few problems. I know I must have missed something at some point, but when I boot my machine now, my services (network, printing, and xdm) do not start automatically anymore. they used to start with init.d, but that's all changed now and I'm not sure how to fix it, this is what I do when I boot: login to my root account, then I enter the following:
that causes my networking to start, then I input "xdm" and my display manager starts up, and I am able to login to my desktop environment. other services have to be started manually too, such as printing, ssh, etc. But I'm not sure what I did to start them, something similar to dhcpcd. I do apologize for putting this off so long, but it's been like this for a while. The thing about Gentoo, though, it doesn't need to reboot a lot, so it's easily forgotten about. I appreciate any help I can get on this.
Thanks!!
Todd
Last edited by todd93 on Wed Jun 04, 2014 9:12 pm; edited 2 times in total |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sat May 31, 2014 5:42 pm Post subject: |
|
|
Code: | rc-update add dhcpcd boot | ? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
todd93 l33t
Joined: 30 Oct 2006 Posts: 620 Location: Missouri
|
Posted: Sat May 31, 2014 7:32 pm Post subject: |
|
|
VinzC wrote: | Code: | rc-update add dhcpcd boot | ? |
lol that was easy, I didn't realize that things had gotten that easy |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Jun 02, 2014 6:20 am Post subject: |
|
|
Well, rc-update is an old, [should-be] well-known Gentoo command, as far as I can remember. Now as for network, Gentoo's way differs a little bit as the main method is to launch a net script under init.d/ for each network interface, including lo . Roy Marple's dhcpcd may advantageously replace that. You might want to check the guide I wrote about that a while ago. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
todd93 l33t
Joined: 30 Oct 2006 Posts: 620 Location: Missouri
|
Posted: Wed Jun 04, 2014 9:19 pm Post subject: |
|
|
Okay, I really hate to bump this thread, but adding dhcpcd to boot did not work. I noticed that this problem started right after the move to systemd. I was certain that I took the necessary steps at the time, but I must have been mistaken. Of course, I may be wrong in thinking that this issue is related to the systemd migration, I'm really sort of lost now.
Thanks!!!
Todd |
|
Back to top |
|
|
Pearlseattle Apprentice
Joined: 04 Oct 2007 Posts: 162 Location: Switzerland
|
Posted: Wed Jun 04, 2014 9:37 pm Post subject: |
|
|
I think that systemd is completely different from OpenRC and that stuff like "rc-update" won't have any effect.
I did not dare changing to systemd
You might more successful in creating a new thread specifically mentioning systemd in the title.
p.s.:
btw, what would be the advantages of systemd over OpenRC? |
|
Back to top |
|
|
kick6 n00b
Joined: 22 Jan 2005 Posts: 29 Location: Golden, Colorado
|
Posted: Thu Jun 05, 2014 4:13 pm Post subject: |
|
|
would installing a package like NetworkManager be an option? |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sat Jun 07, 2014 9:06 am Post subject: |
|
|
Well, IMHO, having both OpenRC and systemd operating is seeking for troubles. I decided for as long as Gentoo's OpenRC is there and is the default way, I'd avoid systemd. I know it doesn't solve your issue. Only my 2¢. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
|