Re: Bug in RedHat contrib init script

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Wed, 4 May 2011 21:55:42 +1000

On Wed, 4 May 2011 04:01:45 PM Steve Jenkins wrote:
> Found a problem in the RedHat init script today when I compared the
> one I have installed with the one in the contrib dir in a fresh
> download of 2.3.2:
>
> % diff /etc/rc.d/init.d/opendkim
> /usr/local/src/opendkim-2.3.2/contrib/init/redhat/opendkim
> 32c32
> < DAEMON=/usr/local/sbin/opendkim
> ---
>
> > DAEMON=/usr/sbin/opendkim
>
> The init script needs to be updated, because the default install
> location for the daemon is /usr/local/sbin/opendkim.
>
> Did that change happen sometime recently without me noticing? I only
> discovered it today because I installed OpenDKIM on a fresh box, and
> copied the init script from the contrib dir. When it wouldn't start
> up, I knew something must be wonky...
>
> SteveJ

I guess I just see using a spec file to install all the files and set the
right permissions as the properway on a Redhat box to install stuff.

Could make it a .in configure handled script and use _at_prefix@ for greater
accurancy that changes with religious beliefs :-)
Received on Wed May 04 2011 - 11:56:29 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:10 PST