Re: [DNG] upgrade to ascii dkim stopped working

2019-02-28 Thread Gregory Nowak
On Thu, Feb 28, 2019 at 05:55:46PM +0100, info at smallinnovations dot nl wrote:
> opendkim (2.11.0~alpha-8) unstable; urgency=medium On systems using
> systemd, this version replaces /etc/default/opendkim with the files
> /etc/systemd/system/opendkim.service.d/overrride.conf and
> /etc/tmpfiles.d/opendkim.conf carrying over non-default settings. --

Which means that on systems not using systemd /etc/default/opendkim is
still being honored. In fact, a fragment of /etc/init.d/opendkim
reads:

# Include opendkim defaults if available
if [ -f /etc/default/opendkim ] ; then
. /etc/default/opendkim
fi

> So may be i am wrong but i have not found any means
> to get opendkim 2.11 working. Downgrading to 2.9 worked immediately and
> because it is a production system i for now do not have more time to
> investigate it any further.

You did put the error message you're getting into your favorite
search engine before giving up, yes?

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii dkim stopped working

2019-02-28 Thread info at smallinnovations dot nl
On 28-02-19 08:08, KatolaZ wrote:
>> Apparently opendkim 2.11 has been polluted/infected by systemd. Lots of
>> systemd bugreports, notes about being a native systemd daemon but simply
>> not working from postfix. I downgraded opendkim from 2.11 to 2.9 and
>> everythings is working again.
>>
>> Of course i have now put a hold on 2.9 but my other systems will stay at
>> jessie for the foreseeable future.
>>
> Hi Nick,
>
> I don't know how you concluded that opendkim has been infected by
> systemd, and that this might result in a breakage. As a matter of
> fact, opendkim has no dependency on systemd or systemd-related stuff,
> not even indirect ones.
>
> I guess the opendkim package might be shipping a systemd unit file,
> but that cannot cause any breakage, since it is just a declarative
> initialisation file interpreted by systemd. And there is no way to get
> systemd running in Devuan, unless you download it from Debian repos.
>
> There must be something else going on, since there are several reports
> of perfectly-working opendkim installations in ascii and beowulf.
>
> HND
>
> KatolaZ
>
Hi Katolaz,

I have two main reasons to think it is:

1) the mail from apt-list changes news after upgrading:

opendkim (2.11.0~alpha-10+deb9u1) stretch; urgency=medium This updates
corrects an issue where the opendkim configuration file was not being
read. It also sets the opendkim user in the configuration file rather
than as part of the systemd service file. In order to have a correctly
working system post update, it is important not to reject the changes in
the package provided configuration file. This may require manually
integrating local changes with the changes provided in this update.
Failure to do this may result in the opendkim daemon running as root
instead of as its own user. In the updated configuration, opendkim will
initially start as root, read both it's configuration files and private
keys required for signing and then drop priviledges to the opendkim user
specified in the configuration file prior to start of normal operations.
-- Scott Kitterman Tue, 12 Sep 2017 23:36:11 -0400

opendkim (2.11.0~alpha-8) unstable; urgency=medium On systems using
systemd, this version replaces /etc/default/opendkim with the files
/etc/systemd/system/opendkim.service.d/overrride.conf and
/etc/tmpfiles.d/opendkim.conf carrying over non-default settings. --
Scott Kitterman Mon, 07 Nov 2016 12:14:31 -0500

2) this blogpost
https://jschumacher.info/2017/06/upgrading-to-debian-stretch-with-dovecot-postfix-opendkim/
which mentions that"During the system upgrade, opendkim daemon was
reconfigured as a native systemd daemon,which
meant */etc/default/opendkim* and */etc/init.d/opendkim* became
obsolete, even though I was asked to install the new package maintainers
version of /etc/default/opendkim."

My best guess is that somehow opendkim "thinks" that systemd has been
installed based on systemd files present on my system. I am very certain
that systemd is not running on my system. apt list systemd --installed
returns empty too. So may be i am wrong but i have not found any means
to get opendkim 2.11 working. Downgrading to 2.9 worked immediately and
because it is a production system i for now do not have more time to
investigate it any further.

Although i am preparing a clean install instead of a upgraded system
from Debian Wheezy to Debian Jessie to Devuan Jessie to Devuan ASCII.


Grtz,


Nick



signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii dkim stopped working

2019-02-27 Thread KatolaZ
On Wed, Feb 27, 2019 at 10:30:29PM +0100, info at smallinnovations dot nl wrote:
> On 25-02-19 00:18, Gregory Nowak wrote:
> > On Sun, Feb 24, 2019 at 03:55:08PM +0100, info at smallinnovations dot nl 
> > wrote:
> >> After upgrading a production server to ascii from jessie, opendkim
> >> stopped working. When i start opendkim manually i get the error
> >> "Starting OpenDKIM: install: cannot create directory ‘’: No such file or
> >> directory". I kept the original configfiles. There is a update remark
> >> from debian about when systemd is installed but of course i do not have
> >> systemd installed. Someone recognizing this problem and may be knows a fix?
> > All I can tell you is that I do have opendkim working on Ascii. I did
> > the upgrade to Ascii about a year ago, and don't recall any major
> > issues with opendkim. Might dpkg-reconfigure on the opendkim package
> > help? I wish I had a more specific answer for you.
> >
> > Greg
> >
> >
> Apparently opendkim 2.11 has been polluted/infected by systemd. Lots of
> systemd bugreports, notes about being a native systemd daemon but simply
> not working from postfix. I downgraded opendkim from 2.11 to 2.9 and
> everythings is working again.
> 
> Of course i have now put a hold on 2.9 but my other systems will stay at
> jessie for the foreseeable future.
> 

Hi Nick,

I don't know how you concluded that opendkim has been infected by
systemd, and that this might result in a breakage. As a matter of
fact, opendkim has no dependency on systemd or systemd-related stuff,
not even indirect ones.

I guess the opendkim package might be shipping a systemd unit file,
but that cannot cause any breakage, since it is just a declarative
initialisation file interpreted by systemd. And there is no way to get
systemd running in Devuan, unless you download it from Debian repos.

There must be something else going on, since there are several reports
of perfectly-working opendkim installations in ascii and beowulf.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii dkim stopped working

2019-02-27 Thread J. Fahrner via Dng

Am 2019-02-27 22:30, schrieb info at smallinnovations dot nl:

Apparently opendkim 2.11 has been polluted/infected by systemd. Lots of
systemd bugreports, notes about being a native systemd daemon but 
simply

not working from postfix. I downgraded opendkim from 2.11 to 2.9 and
everythings is working again.


I'm using rspamd and also use it for dkim signing. Works very well.
https://rspamd.com/doc/modules/dkim_signing.html

Jochen
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii dkim stopped working

2019-02-27 Thread Gregory Nowak
On Wed, Feb 27, 2019 at 10:30:29PM +0100, info at smallinnovations dot nl wrote:
> Apparently opendkim 2.11 has been polluted/infected by systemd. Lots of
> systemd bugreports, notes about being a native systemd daemon but simply
> not working from postfix. I downgraded opendkim from 2.11 to 2.9 and
> everythings is working again.

Interesting:

$ apt-cache policy opendkim
opendkim:
  Installed: 2.11.0~alpha-10+deb9u1
  Candidate: 2.11.0~alpha-10+deb9u1
  Version table:
 *** 2.11.0~alpha-10+deb9u1 500
500 http://deb.devuan.org/merged ascii/main amd64 Packages
100 /var/lib/dpkg/status

$ apt-cache policy postfix
postfix:
  Installed: 3.1.9-0+deb9u2
  Candidate: 3.1.9-0+deb9u2
  Version table:
 *** 3.1.9-0+deb9u2 500
500 http://deb.devuan.org/merged ascii/main amd64 Packages
100 /var/lib/dpkg/status

Yes, I do have opendkim working from postfix.
Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii dkim stopped working

2019-02-27 Thread info at smallinnovations dot nl
On 25-02-19 00:18, Gregory Nowak wrote:
> On Sun, Feb 24, 2019 at 03:55:08PM +0100, info at smallinnovations dot nl 
> wrote:
>> After upgrading a production server to ascii from jessie, opendkim
>> stopped working. When i start opendkim manually i get the error
>> "Starting OpenDKIM: install: cannot create directory ‘’: No such file or
>> directory". I kept the original configfiles. There is a update remark
>> from debian about when systemd is installed but of course i do not have
>> systemd installed. Someone recognizing this problem and may be knows a fix?
> All I can tell you is that I do have opendkim working on Ascii. I did
> the upgrade to Ascii about a year ago, and don't recall any major
> issues with opendkim. Might dpkg-reconfigure on the opendkim package
> help? I wish I had a more specific answer for you.
>
> Greg
>
>
Apparently opendkim 2.11 has been polluted/infected by systemd. Lots of
systemd bugreports, notes about being a native systemd daemon but simply
not working from postfix. I downgraded opendkim from 2.11 to 2.9 and
everythings is working again.

Of course i have now put a hold on 2.9 but my other systems will stay at
jessie for the foreseeable future.

Grtz.

Nick




signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii dkim stopped working

2019-02-24 Thread Gregory Nowak
On Sun, Feb 24, 2019 at 03:55:08PM +0100, info at smallinnovations dot nl wrote:
> After upgrading a production server to ascii from jessie, opendkim
> stopped working. When i start opendkim manually i get the error
> "Starting OpenDKIM: install: cannot create directory ‘’: No such file or
> directory". I kept the original configfiles. There is a update remark
> from debian about when systemd is installed but of course i do not have
> systemd installed. Someone recognizing this problem and may be knows a fix?

All I can tell you is that I do have opendkim working on Ascii. I did
the upgrade to Ascii about a year ago, and don't recall any major
issues with opendkim. Might dpkg-reconfigure on the opendkim package
help? I wish I had a more specific answer for you.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] upgrade to ascii dkim stopped working

2019-02-24 Thread info at smallinnovations dot nl
After upgrading a production server to ascii from jessie, opendkim
stopped working. When i start opendkim manually i get the error
"Starting OpenDKIM: install: cannot create directory ‘’: No such file or
directory". I kept the original configfiles. There is a update remark
from debian about when systemd is installed but of course i do not have
systemd installed. Someone recognizing this problem and may be knows a fix?

Grtz

Nick




signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng