[Pkg-utopia-maintainers] Bug#669891: [Pkg-samba-maint] Bug#669891: samba: Samba need to be start manualy at boot

stephane de Labrusse stephane.delabrusse at gmail.com
Sun Apr 22 10:32:36 UTC 2012


Thank's for your answer...i think you are right

Do i need to reassign this bug to networkmanager or you did it ?

sorry but i'm not a poweruser of bug tracking.

Le 22/04/2012 07:56, Christian PERRIER a écrit :
> reassign 669891 network-manager retitle 669891 init script should
> (maybe) provide "network" in LSB headers thanks
> 
> Quoting stephane de Labrusse (stephane.delabrusse at gmail.com):
>> Package: samba Version: 2:3.6.4-1 Severity: normal Tags: d-i
>> 
>> Dear Maintainer,
>> 
>> On a recent install of wheezy (with gnome-shell) I can not browse
>> samba shares from my computer on every boot without the command
>> "service samba restart". My utility network management is
>> network-manager that manages the wifi as well wired network. My
>> problem comes only when I use the wifi, because if I use the
>> ethernet cable,samba is available without  problem. I understand
>> that the samba service starts before network-manager does  its
>> job which give a FAILURE in the samba service. I tried to put the
>> command "service samba restart" in file "/ etc / rc.local" but
>> without positive effect.
>> 
>> I don't think the smb.conf file has an error that it operates by
>> starting it manually or when the network starts with the ethernet
>> cable.
>> 
>> I tried to put these options in the smb.conf but without
>> fundamental result
> 
> Sorry, but samba does the right thing.
> 
> Let's quote /etc/init.d/samba:
> 
> ### BEGIN INIT INFO # Provides:          samba # Required-Start:
> $network $local_fs $remote_fs # Required-Stop:     $network
> $local_fs $remote_fs # Default-Start:     2 3 4 5 # Default-Stop:
> 0 1 6 # Should-Start:      slapd cups # Should-Stop:       slapd
> cups # Short-Description: start Samba daemons (nmbd and smbd) ###
> END INIT INFO
> 
> 
> So, samba init script explicitly depends on any init script
> providing "$network"
> 
> The network-manager init script does *not* provide "network". This
> may be on purpose, I don't know. But if there is a bug, it is not
> in samba but rather in network-manager. But let n-m maintainers
> give their advice, there is maybe a very good reason for n-m init
> script to not provide "network".
> 
> 
> 
> 

-- 

Cordialement

Stéphane de Labrusse
Président de l'aru2L	http://www.aru2L.org
Membre de l'ApriL 	http://www.apriL.org


PORTABLE : 06 29 19 12 99
DOMICILE : 05 65 78 90 72
WEB      : http://geekeries.de-labrusse.fr





More information about the Pkg-utopia-maintainers mailing list