Package: mimedefang
Version: 2.84-1

To test the systemd changes of mine that you merged, and to update
mimedefang generally, I rebuilt 2.84-1 in a PPA for Ubuntu 16.04.
This bug could be Ubuntu-specific, but the fix seems safe anyway.

Installation failed with this:

mkdir: cannot create directory ‘0700’: Permission denied
mkdir: cannot create directory ‘/var/spool/MIMEDefang/.spamassassin’: File 
exists

The runuser command in the postinst failed because runuser has a
-m option, so it was interpreting mkdir's option as its own. The fix is
to add -- after the runuser options in mimedefang.postinst:

runuser -u defang -- mkdir -p -m 0700 /var/spool/MIMEDefang/.spamassassin

-- 
Richard

Reply via email to