ubuntu-mail-server team mailing list archive
-
ubuntu-mail-server team
-
Mailing list archive
-
Message #00037
[Bug 761967] Re: /etc/init.d/opendkim fails to start opendkim when run over ssh with a pseudo-tty
The tomcat6 fix was to call start-stop-daemon with the -b (--background)
flag. This may not be a proper fix here, as this would require both
opendkim and dk-filter packages to make the change (among other
packages, I assume) and could result in silent failures when starting
these daemons.
The most likely culprit I can find is
3706d6214a86593e72bc9514f08f3c4e0fd0a92c in
git://git.debian.org/git/dpkg/dpkg.git, which changed the start-stop-
daemon behavior around opening, closing, and detaching from the tty.
** Also affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Also affects: dk-milter (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Mail Server, which is subscribed to opendkim in Ubuntu.
https://bugs.launchpad.net/bugs/761967
Title:
/etc/init.d/opendkim fails to start opendkim when run over ssh with a
pseudo-tty
Status in “dk-milter” package in Ubuntu:
New
Status in “dpkg” package in Ubuntu:
New
Status in “opendkim” package in Ubuntu:
New
Bug description:
Binary package hint: opendkim
Without a pty, opendkim start and restart properly launch the opendkim milter daemon:
$ ssh -T ubuntu@192.168.2.117 sudo /etc/init.d/opendkim restart
Restarting OpenDKIM: opendkim.
But if I force pty allocation (as I do in my Capistrano deployments), the opendkim daemon is NOT started:
$ ssh -tt ubuntu@192.168.2.117 sudo /etc/init.d/opendkim restart
Restarting OpenDKIM: opendkim.
Connection to 192.168.2.117 closed.
I will also report this issue to the opendkim team as I'm not sure if
this is Ubuntu- or Debian-specific.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: opendkim 2.1.3+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Fri Apr 15 16:46:07 2011
LiveMediaBuild: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: opendkim
References