SliTaz SliTaz Forum

You are not logged in.

#1 2019-02-10 23:52:17

mistfire
Member
Registered: 2018-08-17
Posts: 168

TIP: DONT RUN samba daemons on boot.

Do not run samba on boot by registeribg on RUN_DAEMONS variable in rCS.conf. It will prevent you on reaching getty and make the system hang thus it will unable you to shutdown or reboot in desktop mode unless kill those samba daemons.

The best solution was to run samba if the user logged in to the shell (command line or desktop)

Offline

#2 2019-02-11 23:15:39

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: TIP: DONT RUN samba daemons on boot.

I use inetd to start samba to avoid this bug.

Add to bottom of /etc/inetd.conf :

[c]netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd[/c]

[c]netbios-ns  dgram  udp wait   root /usr/sbin/nmbd nmbd[/c]

Add [c]inetd[/c] to RUN_DAEMONS variable in rcS.conf

I installed old tazpkgs of samba and samba-common from 2015 prior to bug first appearing.

Didn't change anything, still no getty started with shutdown/reboot failure.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]