LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03:46 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

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 03:47 AM.
 
Old 08-23-2016, 08:23 AM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

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

Code:
systemctl is-enabled wicd.service; echo $?
 
Old 08-23-2016, 02:24 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

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

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 08:35 PM   #5
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

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, 11:54 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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



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 6 04-29-2019 12:48 PM
Disable a service glennbtn Linux - Server 3 07-18-2012 05:13 PM
[SOLVED] How to disable services from CLI using systemctl SharpyWarpy Fedora 2 03-04-2012 06:34 PM
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
How to disable service linuxturtle Linux - Security 1 09-23-2003 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration