[Samba] Samba hangs the boot on Gentoo.

Brian Gregorcy bgregorcy at gmail.com
Sat Jan 22 08:50:48 MST 2011


On Sat, Jan 22, 2011 at 7:50 AM, <tms3 at tms3.com> wrote:

>
>
>>
>>> Hello,
>>>
>>> Today I came across with the problem with booting my Gentoo system.
>>> Yesterday I installed samba and when I turned on my notebook today it
>>> stops
>>> booting at starting up the samba daemon. It goes until:
>>>
>>>
>>>
>>>> * samba -> start: smbd ...
>>>>
>>>
> I had some difficulties a few years back with Samba/LDAP nssldap, pam_ldap
> and pam. The system would hang for some 10 minutes at startup. The problem
> was that nssldap defaults to  bind_policy hard, and as nssldap fired before
> the ldap server started (from the nssldap conf file):
> # Reconnect policy: hard (default) will retry connecting to
> # the software with exponential backoff, soft will fail
> # immediately.
>
> changing the value to
> bind_policy soft
>
> rectified the situation.
>
>
>>
>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi
>>> connection on notebook and Samba is looking for Internet connection and
>>> waiting for it to be established? Maybe you can give any advice on how to
>>> boot to my system without loading samba and uninstalling it?
>>>
>>>
>> Do an interactive boot. Press I when it asks you to do in the boot
>> process. Then do not start the samba daemon.
>>
>> John
>>
>

I would also run:
etc-update

To see if /etc/init.d/samba has any newer changes to be applied to the
startup script.


--Brian


More information about the samba mailing list