OpenDKIM fails to load when comments are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opendkim (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Affects: OpenDKIM version 2.10.3
If a comment is present after the `SOCKET=` line in `/etc/default/
# Command-line options specified here will override the contents of
# /etc/opendkim.conf. See opendkim(8) for a complete list of options.
#DAEMON_OPTS=""
#
# Uncomment to specify an alternate socket
# Note that setting this will override any Socket value in opendkim.conf
#SOCKET=
#SOCKET=
#SOCKET=
#SOCKET=
SOCKET=
Relevant excerpt from journalctl:
Jan 14 13:04:43 hostname systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
-- Subject: Unit opendkim.service has begun start-up
-- Defined-By: systemd
-- Support: http://
--
-- Unit opendkim.service has begun starting up.
Jan 14 13:04:43 hostname opendkim[3173]: opendkim: usage: opendkim -p socketfile [options]
Jan 14 13:04:43 hostname opendkim[3173]: -A auto-restart
Jan 14 13:04:43 hostname opendkim[3173]: -b modes select operating modes
Jan 14 13:04:43 hostname opendkim[3173]: -c canon canonicalization to use when signing
Jan 14 13:04:43 hostname opendkim[3173]: -d domlist domains to sign
Jan 14 13:04:43 hostname opendkim[3173]: -D also sign subdomains
Jan 14 13:04:43 hostname opendkim[3173]: -e name extract configuration value and exit
Jan 14 13:04:43 hostname opendkim[3173]: -f don't fork-and-exit
Jan 14 13:04:43 hostname opendkim[3173]: -F time fixed timestamp to use when signing (test mode only)
Jan 14 13:04:43 hostname opendkim[3173]: -k keyfile location of secret key file
Jan 14 13:04:43 hostname opendkim[3173]: -l log activity to system log
Jan 14 13:04:43 hostname opendkim[3173]: -L limit signature limit requirements
Jan 14 13:04:43 hostname opendkim[3173]: -n check configuration and exit
Jan 14 13:04:43 hostname opendkim[3173]: -o hdrlist list of headers to omit from signing
Jan 14 13:04:43 hostname opendkim[3173]: -P pidfile file into which to write process ID
Jan 14 13:04:43 hostname opendkim[3173]: -q quarantine messages that fail to verify
Jan 14 13:04:43 hostname opendkim[3173]: -Q query test mode
Jan 14 13:04:43 hostname opendkim[3173]: -r require basic RFC5322 header compliance
Jan 14 13:04:43 hostname opendkim[3173]: -s selector selector to use when signing
Jan 14 13:04:43 hostname opendkim[3173]: -S signalg signature algorithm to use when signing
Jan 14 13:04:43 hostname opendkim[3173]: -t testfile evaluate RFC5322 message in "testfile"
Jan 14 13:04:43 hostname opendkim[3173]: -T timeout DNS timeout (seconds)
Jan 14 13:04:43 hostname opendkim[3173]: -u userid change to specified userid
Jan 14 13:04:43 hostname opendkim[3173]: -v increase verbosity during testing
Jan 14 13:04:43 hostname opendkim[3173]: -V print version number and terminate
Jan 14 13:04:43 hostname opendkim[3173]: -W "why?!" mode (log sign/verify decision logic)
Jan 14 13:04:43 hostname opendkim[3173]: -x conffile read configuration from conffile
Jan 14 13:04:43 hostname systemd[1]: opendkim.service: Control process exited, code=exited status=64
Jan 14 13:04:43 hostname sudo[3162]: pam_unix(
Jan 14 13:04:43 hostname systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter.
Status changed to 'Confirmed' because the bug affects multiple users.