Code: Select all
sudo chmod -x /etc/init.d/smbd
Code: Select all
sudo chmod -x /etc/init.d/smbd
That hack might work. Suggest to cleanly remove the service start/stop links anyway.philotux wrote: ↑Fri Nov 30, 2018 6:25 pm I ranbefore. I hope I didn't mess up my system.Code: Select all
sudo chmod -x /etc/init.d/smbd
Thanks so much fehlix for the feedback!fehlix wrote: ↑Fri Nov 30, 2018 6:36 pmThat hack might work. Suggest to cleanly remove the service start/stop links anyway.philotux wrote: ↑Fri Nov 30, 2018 6:25 pm I ranbefore. I hope I didn't mess up my system.Code: Select all
sudo chmod -x /etc/init.d/smbd
Any package-update of smbd might revert your hack anytime
Any you would have it running again
Just happened today, a new samba update was pushed from upstream. And guess what, all our nicely removed start/stop-links have been setup again through this update and samba was triggered to start after the update
I will. Thanks for the info!
Code: Select all
sudo service status smbd
Code: Select all
status: unrecognized service
Thanks for the correction dolphin_oracle.
Code: Select all
$ sudo service smbd status
[ ok ] smbd is running.
Code: Select all
sudo chmod -x /etc/init.d/smbd
Code: Select all
$ sudo service smbd status
smbd: unrecognized service
Should we do this same thing to Samba's NetBIOS name service "nmbd", or is that needed by something else?