Re: Problems with RPM for 2.8.0-Beta2

From: Steve Jenkins <stevejenkins_at_gmail.com>
Date: Fri, 8 Feb 2013 09:04:50 -0800

On Fri, Feb 8, 2013 at 9:00 AM, Steve Jenkins <stevejenkins_at_gmail.com>wrote:

> On Fri, Feb 8, 2013 at 8:48 AM, Steve Jenkins <stevejenkins_at_gmail.com>wrote:
>
>> Builds OK, installs OK, but when I try to start it fails:
>>
>> # service opendkim start
>> Starting opendkim (via systemctl): Job failed. See system journal and
>> 'systemctl status' for details.
>> [FAILED]
>> [root_at_fedora17-32 opendkim]# systemctl status opendkim
>> opendkim.service - LSB: Start and stop OpenDKIM
>> Loaded: loaded (/etc/rc.d/init.d/opendkim)
>> Active: failed (Result: exit-code) since Fri, 08 Feb 2013
>> 08:44:48 -0800; 5s ago
>> Process: 14008 ExecStart=/etc/rc.d/init.d/opendkim start
>> (code=exited, status=1/FAILURE)
>> CGroup: name=systemd:/system/opendkim.service
>>
>> Feb 08 08:44:48 fedora17-32 opendkim[14010]:
>> /etc/opendkim/keys/default.private: key data is not secure
>> Feb 08 08:44:48 fedora17-32 opendkim[14008]: Starting OpenDKIM Milter:
>> opendkim: /etc/opendkim.conf: /etc/opendkim/keys/default.private: key data
>> is not secure
>> Feb 08 08:44:48 fedora17-32 opendkim[14008]: [FAILED]
>>
>> Keys directory looks like:
>>
>> drwxr-x--- 2 root opendkim 4096 Feb 8 08:43 keys
>>
>> and private key inside the directory are owned by opendkim user and
>> permission 600:
>>
>> -rw------- 1 opendkim opendkim 887 Feb 8 08:43 default.private
>> -rw-r--r-- 1 opendkim opendkim 321 Feb 8 08:43 default.txt
>>
>
Further, attempting to generate keys manually still yields the permissions
error that prevents startup:

# /usr/sbin/opendkim-genkey -D /etc/opendkim/keys/ -d example.com -s default

# service opendkim start
Starting opendkim (via systemctl): Job failed. See system journal and
'systemctl status' for details.
                                                           [FAILED]

# systemctl status opendkim
opendkim.service - LSB: Start and stop OpenDKIM
          Loaded: loaded (/etc/rc.d/init.d/opendkim)
          Active: failed (Result: exit-code) since Fri, 08 Feb 2013
09:02:35 -0800; 5s ago
         Process: 14197 ExecStart=/etc/rc.d/init.d/opendkim start
(code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/opendkim.service

Feb 08 09:02:35 fedora17-32 opendkim[14199]:
/etc/opendkim/keys/default.private: key data is not secure
Feb 08 09:02:35 fedora17-32 opendkim[14197]: Starting OpenDKIM Milter:
opendkim: /etc/opendkim.conf: /etc/opendkim/keys/default.private: key data
is not secure
Feb 08 09:02:35 fedora17-32 opendkim[14197]: [FAILED]
Received on Fri Feb 08 2013 - 17:05:15 PST

This archive was generated by hypermail 2.3.0 : Fri Feb 08 2013 - 17:09:01 PST