Samba not wanted

When you run into problems installing MX Linux XFCE
Message
Author
philotux
Posts: 280
Joined: Sun Apr 22, 2018 12:57 pm

Re: Samba not wanted

#11 Post by philotux »

I ran

Code: Select all

sudo chmod -x /etc/init.d/smbd 
before. I hope I didn't mess up my system.

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: Samba not wanted

#12 Post by fehlix »

philotux wrote: Fri Nov 30, 2018 6:25 pm I ran

Code: Select all

sudo chmod -x /etc/init.d/smbd 
before. I hope I didn't mess up my system.
That hack might work. Suggest to cleanly remove the service start/stop links anyway.
Any package-update of smbd might revert your hack anytime :footinmouth:
Any you would have it running again :eek:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

philotux
Posts: 280
Joined: Sun Apr 22, 2018 12:57 pm

Re: Samba not wanted

#13 Post by philotux »

fehlix wrote: Fri Nov 30, 2018 6:36 pm
philotux wrote: Fri Nov 30, 2018 6:25 pm I ran

Code: Select all

sudo chmod -x /etc/init.d/smbd 
before. I hope I didn't mess up my system.
That hack might work. Suggest to cleanly remove the service start/stop links anyway.
Any package-update of smbd might revert your hack anytime :footinmouth:
Any you would have it running again :eek:
Thanks so much fehlix for the feedback!
I will run the commands given in your previous post to make sure that the service is disabled once and for all.

cheers
:happy:

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: Samba not wanted

#14 Post by fehlix »

philotux wrote: Fri Nov 30, 2018 6:42 pm I will run the commands given in your previous post to make sure that the service is disabled once and for all.
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 :mad:
So looks like, after those samba updates like today, the removal steps need to be repeated.
But as mentioned above, the setup will be changed soon, so that the samba-package can be completely removed ( for those who don’t need, use or want it).
Stay tuned.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
colin_b
Posts: 452
Joined: Sun Mar 19, 2017 7:21 pm

Re: Samba not wanted

#15 Post by colin_b »

I have dug around and I can't find a simple explanation of what Samba does. I am using MX on a home PC with no printer, is it relevant to my computer?

barnaby
Posts: 66
Joined: Sun Nov 11, 2018 2:38 pm

Re: Samba not wanted

#16 Post by barnaby »

All this seems quite complicated. Wouldn't it be easier to simply remove samba altogether using synaptic? Then samba would simply never start at all. As I unchecked the samba box during installation I did expect samba to simply not be there at all. Or am I missing something here? As I said above, I have never used samba. Thanks.

philotux
Posts: 280
Joined: Sun Apr 22, 2018 12:57 pm

Re: Samba not wanted

#17 Post by philotux »

fehlix wrote: Fri Nov 30, 2018 9:14 pm Stay tuned.
:puppy:
I will. Thanks for the info!
By the way, I am not sure to have received any updates to samba . I have glanced through /var/log/apt and can't find any. My installed version is 2:4.5.12+dfsg-2+deb9u4.
At the moment all I get running

Code: Select all

sudo service status smbd
is

Code: Select all

status: unrecognized service

User avatar
dolphin_oracle
Developer
Posts: 20034
Joined: Sun Dec 16, 2007 1:17 pm

Re: Samba not wanted

#18 Post by dolphin_oracle »

sudo service smbd status
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

philotux
Posts: 280
Joined: Sun Apr 22, 2018 12:57 pm

Re: Samba not wanted

#19 Post by philotux »

dolphin_oracle wrote: Sat Dec 01, 2018 8:12 am sudo service smbd status
Thanks for the correction dolphin_oracle.

Here it is:

Code: Select all

$ sudo service smbd status
[ ok ] smbd is running.
I ran

Code: Select all

sudo chmod -x /etc/init.d/smbd 
again and after reboot:

Code: Select all

$ sudo service smbd status
smbd: unrecognized service

clicktician
Posts: 136
Joined: Sat May 02, 2015 4:35 pm

Re: Samba not wanted

#20 Post by clicktician »

dolphin_oracle wrote: Sat Dec 01, 2018 8:12 am sudo service smbd status
philotux wrote: Sat Dec 01, 2018 8:58 am I ran

Code: Select all

sudo chmod -x /etc/init.d/smbd 
Should we do this same thing to Samba's NetBIOS name service "nmbd", or is that needed by something else?
Son, someday all this will belong to your ex wife.

Post Reply

Return to “Installation”