However, I see:

$ systemctl status amavis.service
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2016-06-01 09:17:15 UTC; 2min 
36s ago
     Docs: man:systemd-sysv-generator(8)

Jun 01 09:17:15 racb amavis[3543]:   The value of variable $myhostname is 
"racb", but should have been
Jun 01 09:17:15 racb amavis[3543]:   a fully qualified domain name; perhaps 
uname(3) did not provide such
Jun 01 09:17:15 racb amavis[3543]:   You must explicitly assign a FQDN of this 
host to variable $myhostna
Jun 01 09:17:15 racb amavis[3543]:   in /etc/amavis/conf.d/05-node_id, or fix 
what uname(3) provides as a
Jun 01 09:17:15 racb amavis[3543]:   network name!
Jun 01 09:17:15 racb amavis[3543]: (failed).
Jun 01 09:17:15 racb systemd[1]: amavis.service: Control process exited, 
code=exited status=1
Jun 01 09:17:15 racb systemd[1]: Failed to start LSB: Starts amavisd-new 
mailfilter.
Jun 01 09:17:15 racb systemd[1]: amavis.service: Unit entered failed state.
Jun 01 09:17:15 racb systemd[1]: amavis.service: Failed with result 'exit-code'.

When I fix this, amavis works fine.

@joey, what does "systemctl status amavis.service" state for you? If it
is a hostname issue, can you try fixing that?

** Changed in: amavisd-new (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1587695

Title:
  package amavisd-new 1:2.10.1-2ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1587695/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to