LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2016, 04:46 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 153

Rep: Reputation: Disabled
Why `systemctl disable wicd.service`can't disable wicd ?


My os is debian8.5.
I have disabled the wicd with command 'systemctl disable wicd.service'.

Code:
cat  /etc/network/interfaces
auto lo
iface lo inet loopback
Only two lines on /etc/network/interfaces ,my pc connect to router and router connect to internet.
There is an error info when to reboot

Code:
Wicd needs to aceess your computers network cards.
Why `systemctl disable wicd.service`can't disable wicd ?

Last edited by luofeiyu; 08-23-2016 at 04:47 AM.
 
Old 08-23-2016, 09:23 AM   #2
lazydog
Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 829
Blog Entries: 1

Rep: Reputation: 137Reputation: 137
What is the output of the following command:

Code:
systemctl is-enabled wicd.service; echo $?
 
Old 08-23-2016, 03:24 PM   #3
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,620

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
what is the output of
Code:
sudo systemctl disable wicd.service
systemctl status wicd.service
 
Old 08-23-2016, 06:40 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
I'm not sure about this, but could it be a required dependency by another unit?

As I understand it, if the other unit isn't disabled it WILL cause the start of its required units.
 
Old 08-23-2016, 09:35 PM   #5
luofeiyu
Member
 
Registered: Aug 2015
Posts: 153

Original Poster
Rep: Reputation: Disabled
Code:
root@hwy:/home/debian8# systemctl status wicd.service
● wicd.service - LSB: Starts and stops Wicd
   Loaded: loaded (/etc/init.d/wicd)
   Active: inactive (dead)
root@hwy:/home/debian8# systemctl is-enabled wicd.service
Failed to get unit file state for wicd.service: No such file or directory
 
Old 08-24-2016, 12:54 PM   #6
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,620

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Quote:
Originally Posted by luofeiyu View Post
Code:
root@hwy:/home/debian8# systemctl status wicd.service
● wicd.service - LSB: Starts and stops Wicd
   Loaded: loaded (/etc/init.d/wicd)
   Active: inactive (dead)
root@hwy:/home/debian8# systemctl is-enabled wicd.service
Failed to get unit file state for wicd.service: No such file or directory
it is disabled!
just to be sure you can also run
Code:
# systemctl stop wicd.service
and that should definitely take care of the systemd wicd.service.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wicd Could not connect to wicd's D-Bus interface GreenFireFly Slackware 4 07-16-2014 09:24 PM
Disable a service glennbtn Linux - Server 3 07-18-2012 06:13 PM
[SOLVED] How to disable services from CLI using systemctl SharpyWarpy Fedora 2 03-04-2012 07:34 PM
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 01:15 PM
How to disable service linuxturtle Linux - Security 1 09-23-2003 11:30 PM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration