Bug 690241

Summary: NetworkManager started despite "chkconfig NetworkManager off"
Product: [Fedora] Fedora Reporter: Andrew McNabb <amcnabb>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-24 15:18:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrew McNabb 2011-03-23 16:57:58 UTC
I know that systemctl is the new way to do things, but I have some existing scripts that use chkconfig and my understanding was that systemd provides some backwards compatibility with chkconfig. In any case, I double-checked the Fedora 15 Alpha release notes, and nothing mentions chkconfig not working.

My postinstall script sets "chkconfig NetworkManager off", and "chkconfig --list NetworkManager" shows that it is indeed disabled.  However, when I booted the system, NetworkManager was running.  I tried running "systemctl stop NetworkManager.service", and this indeed stopped NetworkManager, but I wasn't able to get the network service to run.  Whether I ran "systemctl start network.service" or "service network start" or even "/etc/init.d/network start", it kept on starting NetworkManager instead of the network service. I eventually tried running "systemctl disable NetworkManager.service", and this finally made the network service available.

Although I was eventually able to get networking to work on this machine, it was very frustrating that the "chkconfig NetworkManager off" command was ignored and that "/etc/init.d/network start" magically ignored the /etc/init.d/network script and started NetworkManager instead.

Comment 1 Bill Nottingham 2011-03-23 20:01:53 UTC
What version of chkconfig?

Comment 2 Andrew McNabb 2011-03-23 20:11:08 UTC
chkconfig-1.3.49-2.fc15.x86_64

Comment 3 Bill Nottingham 2011-03-24 15:18:33 UTC
Please upgrade to the latest chkconfig package (1.3.51); this will forward to systemd when necessary.

Comment 4 Andrew McNabb 2011-03-24 15:52:11 UTC
I had assumed that this functionality was in before Fedora 15 Alpha (this is one of the main reasons I was trying to test the alpha).  Oh, well.  I guess I'll just have to wait for the Beta.  Thanks for the info.