Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[Solved] Removing samba also removes mx-apps and mx-system packages.

Message
Author
User avatar
Raymzap
Forum Regular
Forum Regular
Posts: 104
Joined: Mon Aug 25, 2014 9:40 am

[Solved] Removing samba also removes mx-apps and mx-system packages.

#1 Post by Raymzap » Tue Feb 20, 2018 6:02 pm

Hi.

I'd rather not have samba installed. When I uninstalled samba (or samba-common) it also removed mx-apps and mx-system packages. I don't see a way to reinstall the mx-apps and mx-system packages.

If samba must remain - how can I tell the status of it? Whether it's running or not?

Thanks.
Last edited by Raymzap on Thu Feb 22, 2018 4:15 pm, edited 1 time in total.
GNU/Linux User #470660

Linus Torvalds: "Microsoft isn't evil, they just make really crappy operating systems."

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9275
Joined: Sun Dec 16, 2007 1:17 pm

Re: Removing samba also removes mx-apps and mx-system packages.

#2 Post by dolphin_oracle » Tue Feb 20, 2018 6:34 pm

Mx-apps gets removed because the system-config-samba tool is a depend of it.

Not sure about mx-system. Have to look at that one.

Both are "safe" to remove. We use mx-apps to push out new mx tools when they are available and mx-ssytem is for miscellaneous updates.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4343
Joined: Wed Jul 12, 2006 4:05 pm

Re: Removing samba also removes mx-apps and mx-system packages.

#3 Post by timkb4cq » Tue Feb 20, 2018 6:41 pm

Code: Select all

ps -A | grep mbd
will show you whether the Samba daemon (smbd) or NetBios daemon (nmbd) are running.
You can stop the daemons from starting at boot by running:

Code: Select all

sudo update-rc.d smbd disable  2 3 4 5
sudo update-rc.d nmbd disable  2 3 4 5
sudo update-rc.d samba-ad-dc disable  2 3 4 5
sudo update-rc.d samba disable  2 3 4 5
That changes the behavior in those run levels from Start to Kill so they won't start at boot up.
Note, that won't stop already running daemons.

Code: Select all

sudo /etc/init.d/samba stop
will do that.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16155
Joined: Fri Dec 15, 2006 8:07 pm

Re: Removing samba also removes mx-apps and mx-system packages.

#4 Post by Stevo » Tue Feb 20, 2018 6:43 pm

Hmmm...we could add the explanation that they are generally safe to remove in their long description the next time we update them. They've also allowed us to make migration to a new MX point release a lot easier in the past, so removing them would probably break that.

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 599
Joined: Mon Jun 27, 2016 7:32 pm

Re: Removing samba also removes mx-apps and mx-system packages.

#5 Post by Mauser » Tue Feb 20, 2018 11:05 pm

Does this mean nothing is running?

Code: Select all

$ ps -A | grep mbd
 2716 ?        00:00:00 nmbd
 3049 ?        00:00:00 smbd
 3075 ?        00:00:00 smbd-notifyd

User avatar
bwich12
Forum Regular
Forum Regular
Posts: 182
Joined: Tue Jul 12, 2016 9:14 am

Re: Removing samba also removes mx-apps and mx-system packages.

#6 Post by bwich12 » Wed Feb 21, 2018 7:34 am

@mauser: You could run the samba stop command given by timkb4cq and compare ps outputs....?
timkb4cq wrote:sudo /etc/init.d/samba stop
@timkb4cq: I'm on MX-16 and the scripts in /etc/init.d are rwxr-xr-x, so I think for this sudo is not actually required?

User avatar
bwich12
Forum Regular
Forum Regular
Posts: 182
Joined: Tue Jul 12, 2016 9:14 am

Re: Removing samba also removes mx-apps and mx-system packages.

#7 Post by bwich12 » Wed Feb 21, 2018 7:40 am

@mauser: You could run the samba stop command given by timkb4cq and compare ps outputs....?
timkb4cq wrote:sudo /etc/init.d/samba stop
@timkb4cq: I'm on MX-16 and the scripts in /etc/init.d are rwxr-xr-x, so I think for this sudo is not actually required?[/quote]

EDIT: I've just checked and sudo IS indeed required... though I do not really understand why...?

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4343
Joined: Wed Jul 12, 2006 4:05 pm

Re: Removing samba also removes mx-apps and mx-system packages.

#8 Post by timkb4cq » Wed Feb 21, 2018 8:46 am

Mauser wrote:Does this mean nothing is running?

Code: Select all

$ ps -A | grep mbd
 2716 ?        00:00:00 nmbd
 3049 ?        00:00:00 smbd
 3075 ?        00:00:00 smbd-notifyd
No, there would be no output of they weren't running. The numbers are the Process IDs (PID) for the running processes at the end of each line.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 599
Joined: Mon Jun 27, 2016 7:32 pm

Re: Removing samba also removes mx-apps and mx-system packages.

#9 Post by Mauser » Wed Feb 21, 2018 9:01 am

bwich12 wrote:@mauser: You could run the samba stop command given by timkb4cq and compare ps outputs....?
timkb4cq wrote:sudo /etc/init.d/samba stop
@timkb4cq: I'm on MX-16 and the scripts in /etc/init.d are rwxr-xr-x, so I think for this sudo is not actually required?
Thanks. That works since nothing shows now. Sorry for all the questions as I could never understand the command line language.

User avatar
Raymzap
Forum Regular
Forum Regular
Posts: 104
Joined: Mon Aug 25, 2014 9:40 am

Re: Removing samba also removes mx-apps and mx-system packages.

#10 Post by Raymzap » Wed Feb 21, 2018 4:04 pm

timkb4cq wrote:

Code: Select all

ps -A | grep mbd
will show you whether the Samba daemon (smbd) or NetBios daemon (nmbd) are running.
You can stop the daemons from starting at boot by running:

Code: Select all

sudo update-rc.d smbd disable  2 3 4 5
sudo update-rc.d nmbd disable  2 3 4 5
sudo update-rc.d samba-ad-dc disable  2 3 4 5
sudo update-rc.d samba disable  2 3 4 5
That changes the behavior in those run levels from Start to Kill so they won't start at boot up.
Note, that won't stop already running daemons.

Code: Select all

sudo /etc/init.d/samba stop
will do that.
Cheers timkb4cq. That's perfect.
GNU/Linux User #470660

Linus Torvalds: "Microsoft isn't evil, they just make really crappy operating systems."

Post Reply

Return to “Software / Configuration”