Bug 690241 - NetworkManager started despite "chkconfig NetworkManager off"
Summary: NetworkManager started despite "chkconfig NetworkManager off"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 16:57 UTC by Andrew McNabb
Modified: 2011-03-24 15:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-24 15:18:33 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.