Error in v342.pre Config File Causes sa-compile Crash

Bug #1802017 reported by Jared Fernandez on 2018-11-07

This bug report will be marked for expiration in 54 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
spamassassin (Ubuntu)
Undecided
Unassigned

Bug Description

In the spamassassin config file: /etc/mail/spamassassin/v342.pre, the line:

parse_dkim_uris 1

under the comment "allow URI rules to look at DKIM headers if they exist" causes a syntax error and for sa-compile to quit.

System Information:
-------------------
Description: Ubuntu 18.04.1 LTS
Release: 18.04

sa-compile:
  Installed: 3.4.2-0ubuntu0.18.04.1
  Candidate: 3.4.2-0ubuntu0.18.04.1
  Version table:
 *** 3.4.2-0ubuntu0.18.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
        100 /var/lib/dpkg/status
     3.4.1-8build1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: sa-compile 3.4.2-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
Uname: Linux 4.15.0-38-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
Date: Tue Nov 6 13:58:21 2018
ErrorMessage: installed sa-compile package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2013-03-02 (2075 days ago)
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6
SourcePackage: spamassassin
Title: package sa-compile 3.4.2-0ubuntu0.18.04.1 failed to install/upgrade: installed sa-compile package post-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to bionic on 2018-04-28 (192 days ago)

description: updated
Robie Basak (racb) wrote :

Thank you for your report.

I was unable to reproduce this problem using sa-compile 3.4.2-0ubuntu0.18.04.1. I started a fresh Bionic container, ran "apt install spamassassin" and then ran "sa-compile". It appears to have worked and returned with a successful (zero) exit status. The line /etc/mail/spamassassin/v342.pre did contain "parse_dkim_uris 1" by default. So it all looks fine to me.

Please provide exact steps to reproduce this problem and once done change the bug status back to New.

Changed in spamassassin (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers