[25976] in Source-Commits
Re: /svn/athena r25329 -
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Jul 30 12:36:14 2011
Date: Sat, 30 Jul 2011 12:36:07 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201107301626.p6UGQQgn032591@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1107301235450.17751@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
That change looks fine, ACK. I can do some testing once I'm on campus
--
Geoffrey Thomas
geofft@mit.edu
On Sat, 30 Jul 2011, Jonathan D Reed wrote:
> Author: jdreed
> Date: 2011-07-30 12:26:26 -0400 (Sat, 30 Jul 2011)
> New Revision: 25329
>
> Modified:
> trunk/debathena/config/cluster-cups-config/debian/changelog
> trunk/debathena/config/cluster-cups-config/debian/configure-athena-printers
> Log:
> In cluster-cups-config:
> * /etc/init.d/cups status always returns 0, so require_cups() in
> configure-athena-printers won't actually require cups. Fix by just
> calling start, since it's a noop if the service is already running.
>
>
> Modified: trunk/debathena/config/cluster-cups-config/debian/changelog
> ===================================================================
> --- trunk/debathena/config/cluster-cups-config/debian/changelog 2011-07-30 01:04:39 UTC (rev 25328)
> +++ trunk/debathena/config/cluster-cups-config/debian/changelog 2011-07-30 16:26:26 UTC (rev 25329)
> @@ -1,3 +1,11 @@
> +debathena-cluster-cups-config (2.0.4) unstable; urgency=low
> +
> + * /etc/init.d/cups status always returns 0, so require_cups() in
> + configure-athena-printers won't actually require cups. Fix by just
> + calling start, since it's a noop if the service is already running.
> +
> + -- Jonathan Reed <jdreed@mit.edu> Sat, 30 Jul 2011 12:25:55 -0400
> +
> debathena-cluster-cups-config (2.0.3) unstable; urgency=low
>
> * lpstat -r always returns 0, you need to parse the output
>
> Modified: trunk/debathena/config/cluster-cups-config/debian/configure-athena-printers
> ===================================================================
> --- trunk/debathena/config/cluster-cups-config/debian/configure-athena-printers 2011-07-30 01:04:39 UTC (rev 25328)
> +++ trunk/debathena/config/cluster-cups-config/debian/configure-athena-printers 2011-07-30 16:26:26 UTC (rev 25329)
> @@ -51,11 +51,9 @@
> else
> invoke="/etc/init.d/$rcname"
> fi
> - if ! /etc/init.d/$rcname status; then
> - if ! $invoke start; then
> - echo "FATAL: Couldn't start CUPS!"
> - exit 1
> - fi
> + if ! $invoke start; then
> + echo "FATAL: Couldn't start CUPS!"
> + exit 1
> fi
> if [ "$(lpstat -r)" != "scheduler is running" ]; then
> echo "FATAL: cups claimed to have started, but lpstat -r says it's not running!"
>
>