You are not logged in.

#1 2012-08-31 00:21:17

effraie
Member
Registered: 2012-08-30
Posts: 66

[SOLVED] libsystemd to systemd

Hello,

Last update (10 minutes ago) asked me if i want switch from libsystemd
to core/systemd [O/n]. I agreed, and on next reboot, networkmanager was not
started automaticly from rc.conf. it work well if y start it by hand
(/etc/rc.d/networkmanager start).

can you please help me to get it started at boot again ?

Last edited by effraie (2012-08-31 07:29:28)

Offline

#2 2012-08-31 00:32:08

NobodySpecial
Member
Registered: 2007-04-12
Posts: 28

Re: [SOLVED] libsystemd to systemd

As per:
https://wiki.archlinux.org/index.php/Ne … emd_system

From the command line:

systemctl enable NetworkManager.service

Offline

#3 2012-08-31 00:42:26

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: [SOLVED] libsystemd to systemd

that's what i tried immediatly, but didn't work better.

On boot messages, i've got :

Starting NetworkManager [DONE]

and just after the boot, rc.d list give me :

[STARTED][AUTO] networkmanager

but i need to run rc.d start networkmanager manually to get it actually work

Offline

#4 2012-08-31 00:44:49

NobodySpecial
Member
Registered: 2007-04-12
Posts: 28

Re: [SOLVED] libsystemd to systemd

Did you comment out all network references in rc.conf?

Offline

#5 2012-08-31 00:56:39

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: [SOLVED] libsystemd to systemd

yes. here is my rc.conf :

#
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#

DAEMONS=(@preload @cpupower @syslog-ng @ntpd @psd @acpi-cpufreq @fuse @sshd @crond @cupsd networkmanager dbus)

# Storage
#
# USEDMRAID="no"
# USELVM="no"

#Network

#interface=
#address=
#netmask=
#gateway=

i tried to reboot with and without networkmanager in deamons array, but it change nothing

Offline

#6 2012-08-31 01:04:17

NobodySpecial
Member
Registered: 2007-04-12
Posts: 28

Re: [SOLVED] libsystemd to systemd

Did you try booting with the entire deamons array commented out, to see what would happen if systemd started everything?

Offline

#7 2012-08-31 01:16:37

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: [SOLVED] libsystemd to systemd

well, i just tried. But as i expected, it did not change anything about networkmanager (but broked my start up...)
BTW, i'm not trying to fully switch to systemd, only make a simple update

Offline

#8 2012-08-31 06:24:12

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: [SOLVED] libsystemd to systemd

effraie wrote:

well, i just tried. But as i expected, it did not change anything about networkmanager (but broked my start up...)
BTW, i'm not trying to fully switch to systemd, only make a simple update

Forgive me for not understanding but, you're not swtitching 'fully' to systemd but want it to start your networkmanager daemon? Maybe at that point you should just switch, if it will make your life easier..

Also, (slightly off-topic) in your rc.conf dbus is started after networkmanager. I was under the impression that with initscripts dbus should be one of the first things to start, am I wrong here? I know systemd requires/starts it automaticaly


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#9 2012-08-31 06:34:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: [SOLVED] libsystemd to systemd

Moving dbus before networkmanager should fix that.

Offline

#10 2012-08-31 07:29:06

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: [SOLVED] libsystemd to systemd

Allan wrote:

Moving dbus before networkmanager should fix that.

Thank you, it's working again smile

Offline

#11 2012-08-31 07:29:42

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] libsystemd to systemd

Eliminate the daemons one by one from rc.conf. Start with dbus, which systemd handles very well without any action from you at all.

Offline

Board footer

Powered by FluxBB