Debian Bug report logs - #853769
opendkim: Default systemd service does not read the configuration file

version graph

Package: src:opendkim; Maintainer for src:opendkim is Scott Kitterman <scott@kitterman.com>;

Reported by: Georges Gouriten <georges@gouriten.name>

Date: Tue, 31 Jan 2017 17:51:02 UTC

Severity: serious

Tags: patch

Found in version opendkim/2.11.0~alpha-8

Done: Scott Kitterman <debian@kitterman.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Scott Kitterman <scott@kitterman.com>:
Bug#853769; Package src:opendkim. (Tue, 31 Jan 2017 17:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Georges Gouriten <georges@gouriten.name>:
New Bug report received and forwarded. Copy sent to Scott Kitterman <scott@kitterman.com>. (Tue, 31 Jan 2017 17:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Georges Gouriten <georges@gouriten.name>
To: submit@bugs.debian.org
Subject: opendkim: Default systemd service does not read the configuration file
Date: Tue, 31 Jan 2017 18:48:26 +0100
Source: opendkim
Version: 2.11.0~alpha-8
Severity: important

Dear Maintainer,

I installed opendkim on a new server and had a problem, /etc/opendkim.conf was not read with "service opendkim start".

I fixed it by changing a line in /lib/systemd/system/opendkim.service

-ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p local:/var/run/opendkim/opendkim.sock
+ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf

The default does not seem convenient to me.

Best regards

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Severity set to 'serious' from 'important' Request was from Scott Kitterman <scott@kitterman.com> to control@bugs.debian.org. (Tue, 31 Jan 2017 17:57:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Scott Kitterman <scott@kitterman.com>:
Bug#853769; Package src:opendkim. (Sat, 11 Feb 2017 16:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Henrique de Moraes Holschuh <hmh@debian.org>:
Extra info received and forwarded to list. Copy sent to Scott Kitterman <scott@kitterman.com>. (Sat, 11 Feb 2017 16:54:03 GMT) (full text, mbox, link).


Message #12 received at 853769@bugs.debian.org (full text, mbox, reply):

From: Henrique de Moraes Holschuh <hmh@debian.org>
To: 853769@bugs.debian.org
Cc: 853769-submitter@bugs.debian.org
Subject: [PATCH] PROPOSED NMU
Date: Sat, 11 Feb 2017 14:50:34 -0200
[Message part 1 (text/plain, inline)]
Attached you will find a proposed NMU patch that should fix the issue,
as suggested by Georges Gouriten.

Note that I kept the -P and -p local: options, since that's how it
behaves in sysvinit.

Should I upload it?  This bug is threatening to kick out of the next
Debian stable all reverse dependencies of opendkim, including
cyrus-imapd.

-- 
  Henrique Holschuh
[proposed-NMU-opendkim-853769.patch (text/x-diff, attachment)]

Message sent on to Georges Gouriten <georges@gouriten.name>:
Bug#853769. (Sat, 11 Feb 2017 16:54:05 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Henrique de Moraes Holschuh <hmh@debian.org> to control@bugs.debian.org. (Sat, 11 Feb 2017 17:09:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#853769; Package src:opendkim. (Sat, 11 Feb 2017 17:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Scott Kitterman <scott@kitterman.com>:
Extra info received and forwarded to list. (Sat, 11 Feb 2017 17:45:03 GMT) (full text, mbox, link).


Message #22 received at 853769@bugs.debian.org (full text, mbox, reply):

From: Scott Kitterman <scott@kitterman.com>
To: Henrique de Moraes Holschuh <hmh@debian.org>,853769@bugs.debian.org
Cc: 853769-submitter@bugs.debian.org
Subject: Re: Bug#853769: [PATCH] PROPOSED NMU
Date: Sat, 11 Feb 2017 17:43:33 +0000
Please don't upload.  I'll take care of it this week.

Scott K

On February 11, 2017 11:50:34 AM EST, Henrique de Moraes Holschuh <hmh@debian.org> wrote:
>Attached you will find a proposed NMU patch that should fix the issue,
>as suggested by Georges Gouriten.
>
>Note that I kept the -P and -p local: options, since that's how it
>behaves in sysvinit.
>
>Should I upload it?  This bug is threatening to kick out of the next
>Debian stable all reverse dependencies of opendkim, including
>cyrus-imapd.



Message sent on to Georges Gouriten <georges@gouriten.name>:
Bug#853769. (Sat, 11 Feb 2017 17:45:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Scott Kitterman <scott@kitterman.com>:
Bug#853769; Package src:opendkim. (Sun, 12 Feb 2017 01:33:07 GMT) (full text, mbox, link).


Acknowledgement sent to Henrique de Moraes Holschuh <hmh@debian.org>:
Extra info received and forwarded to list. Copy sent to Scott Kitterman <scott@kitterman.com>. (Sun, 12 Feb 2017 01:33:07 GMT) (full text, mbox, link).


Message #30 received at 853769@bugs.debian.org (full text, mbox, reply):

From: Henrique de Moraes Holschuh <hmh@debian.org>
To: Scott Kitterman <scott@kitterman.com>
Cc: 853769@bugs.debian.org, 853769-submitter@bugs.debian.org
Subject: Re: Bug#853769: [PATCH] PROPOSED NMU
Date: Sat, 11 Feb 2017 23:31:55 -0200
On Sat, 11 Feb 2017, Scott Kitterman wrote:
> Please don't upload.  I'll take care of it this week.

Ok.  Thanks.

-- 
  Henrique Holschuh



Message sent on to Georges Gouriten <georges@gouriten.name>:
Bug#853769. (Sun, 12 Feb 2017 01:33:08 GMT) (full text, mbox, link).


Reply sent to Scott Kitterman <debian@kitterman.com>:
You have taken responsibility. (Mon, 20 Feb 2017 05:06:03 GMT) (full text, mbox, link).


Notification sent to Georges Gouriten <georges@gouriten.name>:
Bug acknowledged by developer. (Mon, 20 Feb 2017 05:06:03 GMT) (full text, mbox, link).


Message #38 received at 853769-done@bugs.debian.org (full text, mbox, reply):

From: Scott Kitterman <debian@kitterman.com>
To: 853769-done@bugs.debian.org
Subject: Re: opendkim: Default systemd service does not read the configuration file
Date: Mon, 20 Feb 2017 00:03:26 -0500
[Message part 1 (text/plain, inline)]
On Tue, 31 Jan 2017 18:48:26 +0100 Georges Gouriten <georges@gouriten.name> 
wrote:
> Source: opendkim
> Version: 2.11.0~alpha-8
> Severity: important
> 
> Dear Maintainer,
> 
> I installed opendkim on a new server and had a problem, /etc/opendkim.conf 
was not read with "service opendkim start".
> 
> I fixed it by changing a line in /lib/systemd/system/opendkim.service
> 
> -ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p 
local:/var/run/opendkim/opendkim.sock
> +ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf
> 
> The default does not seem convenient to me.

I've finally had time to investigate and test this claim and it is not 
correct.  As stated in the opendkim man page, the default config file is 
/etc/opendkim.conf, so there is no need to specify it.  

Using the existing service file I confirmed that changes in /etc/opendkim.conf 
do affect the configuration of the running service after it is restarted.  
There's no change needed.

Scott K
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 20 Mar 2017 07:28:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 9 23:56:20 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.