[Pkg-samba-maint] Bug#619132: Bug#619132: samba: Should start after cups

Christian PERRIER bubulle at debian.org
Mon Mar 21 19:37:52 UTC 2011


Quoting Sam Morris (sam at robots.org.uk):
> Package: samba
> Version: 2:3.5.6~dfsg-3squeeze2
> Severity: normal
> 
> In order for samba to get a list of available printers from CUPS, it
> needs to start after CUPS during bootup. However:
> 
> $ ls -1 /etc/rc2.d/S??{samba,cups}
> /etc/rc2.d/S20samba
> /etc/rc2.d/S50cups
> 
> Resulting in me having to manually restart samba after the machine has
> finished booting.
> 
> I have cups 1.4.4-7 from squeeze installed, but not insserv. I don't see
> that /etc/init.d/samba has 'cups' in its Required-Start line, however,
> so I am guessing that insserv alone wouldn't fix this.

I committed a fix that adds "cups" to Should-Start and Should
-Stop. However, immediately after this, I noticed that cups has:

# X-Start-Before:    samba
# X-Stop-After:      samba

...which is meant to have the same effect.

And, indeed, on a squeeze machine:

cperrier at hapi1:~$ ls -l /etc/rc2.d/*samba*
lrwxrwxrwx 1 root root 15  1 mars  13:15 /etc/rc2.d/S03samba -> ../init.d/samba
cperrier at hapi1:~$ ls -l /etc/rc2.d/*cups*
lrwxrwxrwx 1 root root 14  1 mars  13:15 /etc/rc2.d/S02cups -> ../init.d/cups

So, well, after all, I wonder if my fix is really needed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110321/ea03a2dd/attachment.pgp>


More information about the Pkg-samba-maint mailing list