Solved: Samba Won't Stop Autostarting [ACTUALLY IT DOES!]
|
19th Jan, 2014, 07:52 PM
Post: #1
|
|||
|
|||
Samba Won't Stop Autostarting [ACTUALLY IT DOES!]
-------------------------------------------------------- edit --------------------------------------------------------
Actually it does work as it should! I had just misunderstood the samba service. (see post #2) --------------------------------------------------------------------------------------------------------------------- Hey, as the title says, samba won't stop autostarting, although I disabled it in xbian-config. Also xbian-config tells me that there is no samba service running. But: Terminal xbian@xbian ~ $ sudo service samba status [sudo] password for xbian: [ ok ] nmbd is running. In /usr/local/include/xbian-config/config/services it's: Code: samba:%%inetd But even if I change to Code: samba:nmbd there is no change. Samba will still start on startup and xbian-config shows it as deactivated. Anyone knows why? How is the "service center" of xbian-config doing it's job? PS: samba is linked in rc[2-6].d My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
19th Jan, 2014, 09:02 PM
Post: #2
|
|||
|
|||
RE: Samba Won't Stop Autostarting
(19th Jan, 2014 07:52 PM)josch Wrote: 1. as the title says, samba won't stop autostarting, although I disabled it in xbian-config. 1. smb is samba protocol support, nmb is only handling browsing name registrations and answer windows name queries on network. yes, until nmb is running, device with it will be listed on the network - but without smbd (samba service), there will be no support for windows sharing. machine will not show any shares, any services. because for this samba is needed, not nmbd. if you check /etc/default/samba you will see, that samba is configured as "inetd". if you check init.d script you will see, that if this is inetd, smbd is not started. only nmbd is started as putting nmbd into inetd would make it pointless a bit. service manager is controlling smbd - so actual sharing service. service manager is currently consolidating services from upstart, sysv and even inetd. but there is in debian still one quite frustrating tool - insserv. the problem is that until you specifically remove runlevel definitions from init.d startup script for any process, if any install helper tool in deb packages calls it without be specific, it will reinstall defaults back. so you remove link from rc?.d, then someone calls "insserv" and services will be back again. but as I'm thinking about it now, XBian is providing already upstart samba scripts, although are not by default active. so you can do "rm /etc/init.d/samba" if you are scared seeing RPI on your network by name (although unaccessible) 2. http://forum.xbian.org/thread-1861-post-20099.html#pid20099 so shouldn't be empty, smbd should be there, but disabled (in case you disable service) 3. some level of disagreement or confusion will be there for all "multi daemon" services. there is one record (samba) actually having two components. this is a question of approach, whether service, having some components failed (not running) is running? I think not - it should indicate problem. you are looking at it from other side - is service fully stopped if at least one component is running ? isn't. anytime you can split samba into two services - nmb and smb and it will be 100% acurate. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jan, 2014, 09:39 PM
Post: #3
|
|||
|
|||
RE: Samba Won't Stop Autostarting [ACTUALLY IT DOES!]
Thanks for the enlightenment!
So everything is fine. My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Can't stop samba service. | Skywatch | 9 | 15,188 |
15th Jul, 2022 01:48 PM Last Post: jamieoliver |