Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85395 - tenshi won't stop with init.d/stop
Summary: tenshi won't stop with init.d/stop
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tenshi Group User
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 12:27 UTC by Eric Brown
Modified: 2005-09-16 05:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Brown 2005-03-15 12:27:14 UTC
/etc/init.d/tenshi stop does not work, ps aux | grep ten still shows the tenshi perl script, and the tail process.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-15 13:06:48 UTC
which version do you speak about?
Comment 2 Eric Brown 2005-03-17 17:36:46 UTC
latest stable x86 version I think. (unless tenshi is only ~, then i'd have unmasked it to ~x86)

I should also mention that I can't easily reproduce this, it has only happened a handful of times.
Comment 3 Andrea Barisani (RETIRED) gentoo-dev 2005-04-06 03:09:46 UTC
You still having this issue?
Comment 4 Andrea Barisani (RETIRED) gentoo-dev 2005-06-08 06:51:11 UTC
Closing due to lack of feedback.
Comment 5 Eric Brown 2005-08-09 12:54:46 UTC
I installed a new server that's using 0.3.4 and I am having this issue again.

Right now I'm also having other problems with tenshi though (sorting out
config/email stuff)... I'll let you know if it's related to a weird
configuration problem.
Comment 6 Eric Brown 2005-08-09 12:55:21 UTC
sorry, forgot to reopen it :)
Comment 7 Eric Brown 2005-08-09 13:31:16 UTC
I found the source of this problem!

my mail server wasn't able to receive traffic from 127.0.0.1:25 because iptables
was blocking it.  Tenshi won't stop if it can't flush the queues and send out
the mail. (when i ran it in the foreground, i had to hit ctrl-C a few times and
it gave a message about 127.0.0.1:25 finally)
Comment 8 Andrea Barisani (RETIRED) gentoo-dev 2005-09-16 05:42:27 UTC
There's no timeout in Net::SMTP for binding, only a timeout for SMTP replies. So
you are using kernel tcp/ip stack timeouts there and tenshi is just waiting for
the connection.

I'm afraid there's no sensible solution for this atm (not without ugly hacks anyway)