Public bug reported:

Steps to reproduce:
1. Install `opensmtpd` package on 18.04 LTS
2. Try to stop OpenSMTPd service with `sudo service opensmtpd stop`

Expected results:
* OpenSMTPd service is stopped

Actual results:
* OpenSMTPd service is not stopped
* the /lib/systemd/system/opensmtpd.service uses wrong syntax  
`ExecStop=/usr/sbin/smtpctl stop`
which really is not supported by `smtpctl`.

Notes:
1. First seen on AskUbuntu ( https://askubuntu.com/q/1166462/66509 )
2. it is known that this problem is fixed in newer releases ( see 
http://changelogs.ubuntu.com/changelogs/pool/universe/o/opensmtpd/opensmtpd_6.0.3p1-4/changelog
 )

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: opensmtpd 6.0.3p1-1build1
ProcVersionSignature: Ubuntu 4.15.0-54.58-generic 4.15.18
Uname: Linux 4.15.0-54-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: MATE
Date: Sun Aug 18 17:41:09 2019
InstallationDate: Installed on 2018-04-26 (478 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
SourcePackage: opensmtpd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: opensmtpd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug backport-needed bionic sru

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

Title:
  /lib/systemd/system/opensmtpd.service uses wrong syntax
  `ExecStop=/usr/sbin/smtpctl stop`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensmtpd/+bug/1840586/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to