Comment 5 for bug 1047262

Revision history for this message
James Page (james-page) wrote : Re: [Bug 1047262] Re: race condition on startup between samba and cups

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Steve

On 07/09/12 16:36, Steve Langasek wrote:
> Hi James,
>
> if status cups >/dev/null ; then start wait-for-state WAITER=smbd
> WAIT_FOR=cups WAIT_STATE=running fi
>
> This solution has the effect that if the cups job is broken for
> any reason, smbd will also not be started. I don't think that's
> desirable.
>
> We've tried hard in the past to ensure samba is *not* dependent on
> cups being present before samba starts. I think this would be
> better done as a job in the samba package which is 'start on
> started cups' and will prompt samba to reload its config.

I'd not considered doing it that way - it would de-couple samba
startup from cups which I agree is preferable - I'll take a look and
do the rework early next week.

Thanks for the feedback.

- --
James Page
Ubuntu Core Developer
Debian Maintainer
<email address hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBCAAGBQJQSwgrAAoJEL/srsug59jD87kP/j5x/UExR2lwcy4eGkCQYJVF
HFE5Jl2r2P1iPahKNNTc5ctpF59t2WIo4g5TsAWXUfMRws5Y9BXs5Alhpclj1s88
yfWiCrcaxdqV7mcjm12qGg65wKXLOy6O5+DzfXY06f1xtZ0rpBjobqS4SEjXcpSY
vIZ7bSPcriLOeiiR05r4Gf5y/J7C9ekVQlxOCOInlmZ/kuFjMq+Q+lVtBqVNyT4j
xJClo+ir22+RJXQFDXzTWXMDqKmSTpvGmF07LIqgbzdBMjcYg/HILY2p5BRyzPRT
RqZQeTeYRabJWRCSQ/DstK1bCvaUpTXYGHYjs0AiE7xFs08V5j3VvG+sLulEGH+M
EDv8BKVzrgdrhu3p0S8DYhHjIh8eJB2aEy+Bz1MMf6L66d3oIKzO6E2RH+t2eM0V
o1xA0Ktb/pkKZLATSh69xnDLh34PnL0FhepNFtvsDSe7pPNBCQ/uXrvPfL6EDW3E
1sWuWD/8wOKkWoQZ6PMauWBI98nkN+pqwqjiP9i1elTNzcuru2br0/a2Nuf2M99z
CBC7ySepaxTKr+EGoPml9IXuNQpUqavLPCp+DraoTPcl2uDoukhYXd3OpBPNyf5a
MPAIIAHdBsm5HCJXDrnbfhhjA3dQog1ICTomyoCFqXvPqLuTUnKByGtWVFnZ64wW
DDsrEsfaU6ByjWdRl7X4
=233E
-----END PGP SIGNATURE-----