[Pkg-utopia-maintainers] [Pkg-samba-maint] Bug#669891: samba: Samba need to be start manualy at boot
Christian PERRIER
bubulle at debian.org
Sun Apr 22 05:56:15 UTC 2012
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".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20120422/676f70c9/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list