[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Disable startup services on Debian 8



Hi guys,

Recently one of the harddrives on my main Debian v7 backup server failed due to
multiple power failures where I live. The power failures and spikes also fried
the UPS's connected to the server.

Along with the Debian v7 backup server I have smb servers (x4) running Debian v3
(why fix it if it ain't broken ;) ) 2x proftpd servers running Debian v3 ;) one
Apache,Squid3 server on Debian v7.

I bought a new harddrive and installed Debian v8 on it
(which I regret). Nothing in Debian v8 seems to work together. After removing/purging all
traces of bloatware (gnome/KDE etc etc) from the default install I configured
and setup all necessary servers/daemons and stuff I need to re-instate the
server to it's former glory.

My problem is this though: hostapd used to work flawlessly on Debian v7 but now
it does'nt. It complains that it cannot load the nl80211 driver (I know that the
nl80211 driver is referenced by cfg80211/mac80211 which comes up on lsmod). But still, hostapd cannot
load the driver. I removed ALL references/files/configs to wicd/Network-Manager
and seemingly other files that could interfere with hostapd or that can prevent
hostapd from bringing up wlan0.

However, when I peeked into rc0/1/2/3/4/5/6.d (in an attempt to see what
startups could possibly interfere) I was astounded at the amount of
crap that is started up by Debian v8. (Devuan looks better day by day ;) )

Now, before I ditch my beloved Debian (hello Devuan or [INSERT OTHER
DISTRIBUTION HERE]) could someone for the love of doughnuts and beef jerky tell
me which services/daemons/crap I can disable ... PLEASE!!!! ... I am too scared
to randonly disable stuff for fear of a Drone Strike as punishment  for my insubordination and
refusal to accept SystemD ... ;(

Can I disable the user.slice stuff?
acpid.path/service/socket
avahi (which I disable but miraculously re-appears)
bootmisc.sh
dbus.*
emergency.*
hibernate.*
all the mount.this and mount.that stuff?
network.omline      
network.target      
network.pre-target
remote.*
rescue.*

And finally ... how do I disable SystemD at boot and if that cannot be done
maybe something simpler ... how do I disable Debian v8 at boot??? Any ideas???

I want my Debian Back the way it Was !!!!!!!!!!!!!

Have a nice day ...

Danny


Reply to: