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/
-----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.
- -- www.enigmail. net/
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://
iQIcBAEBCAAGBQJ QSwgrAAoJEL/ srsug59jD87kP/ j5x/UExR2lwcy4e GkCQYJVF KNNTc5ctpF59t2W Io4g5TsAWXUfMRw s5Y9BXs5Alhpclj 1s88 jm12qGg65wKXLOy 6O5+DzfXY06f1xt Z0rpBjobqS4SEjX cpSY R05r4Gf5y/ J7C9ekVQlxOCOIn lmZ/kuFjMq+ Q+lVtBqVNyT4j RJXQFDXzTWXMDqK mSTpvGmF07LIqgb zdBMjcYg/ HILY2p5BRyzPRT SQ/DstK1bCvaUpT XYGHYjs0AiE7xFs 08V5j3VvG+ sLulEGH+ M p0S8DYhHjIh8eJB 2aEy+Bz1MMf6L66 d3oIKzO6E2RH+ t2eM0V pkKZLATSh69xnDL h34PnL0FhepNFtv sDSe7pPNBCQ/ uXrvPfL6EDW3E 8wOKkWoQZ6PMauW BI98nkN+ pqwqjiP9i1elTNz curu2br0/ a2Nuf2M99z EGoPml9IXuNQpUq avLPCp+ DraoTPcl2uDoukh YXd3OpBPNyf5a XDrnbfhhjA3dQog 1ICTomyoCFqXvPq LuTUnKByGtWVFnZ 64wW Rl7X4
HFE5Jl2r2P1iPah
yfWiCrcaxdqV7mc
vIZ7bSPcriLOeii
xJClo+ir22+
RqZQeTeYRabJWRC
EDv8BKVzrgdrhu3
o1xA0Ktb/
1sWuWD/
CBC7ySepaxTKr+
MPAIIAHdBsm5HCJ
DDsrEsfaU6ByjWd
=233E
-----END PGP SIGNATURE-----