Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64963 - Version bump of up-imapproxy to v1.2.2
Summary: Version bump of up-imapproxy to v1.2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Net-Mail Packages
URL: http://www.imapproxy.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 06:24 UTC by klavs klavsen
Modified: 2004-10-01 16:10 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 klavs klavsen 2004-09-22 06:24:37 UTC
v1.2.2. contains performance fixes and most importantly a default listen_to config option !! - now it listens to 0.0.0.0 - and I have to firewall it. Most people only use it for local cache for their squirrelmail or other webmail - and so one should be able to set it to listen to localhost ONLY. with 1.2.2 you can now do that.

I just renamed the ebuild to 1.2.2 and it works just fine. the init-script doesn't stop the imapproxy though - so when giving it a restart - it just says stopping and never starting - because it fails to stop it(but thats with the script that is used in v1.2.1).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-09-30 05:44:12 UTC
Bumped in CVS portage. The initscript actually works, but new version spawns three processes. After start-stop-daemon kills the first one, other two die with it, and when start-stop-daemon tries to kill them, it fails, since they're already dead:

# ps ax|grep imap
29145 ?        S      0:00 /usr/sbin/imapproxyd
29147 ?        S      0:00 /usr/sbin/imapproxyd
29148 ?        S      0:00 /usr/sbin/imapproxyd
29151 pts/80   R+     0:00 grep imap
root@thelair /etc/init.d # /etc/init.d/imapproxy stop
 * Stopping imapproxy...
start-stop-daemon: warning: failed to kill 29147: No such process
start-stop-daemon: warning: failed to kill 29145: No such process         [ ok ]
root@thelair /etc/init.d # ps ax|grep imap
29195 pts/80   R+     0:00 grep imap
root@thelair /etc/init.d # 

I guess we should bug maintainers of baselayout about this, CCing them to get their opinion.
Comment 2 SpanKY gentoo-dev 2004-09-30 05:56:28 UTC
start-stop-daemon can only do so much when it comes to guessing at the PID

in this case, it looks like:
proxy starts up and start-stop-daemon records this pid
proxy forks off children then exits
start-stop-daemon tries to kill the parent pid that exited already

either way, not a start-stop-daemon bug; handle the stopping of the proxy some other way
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2004-10-01 16:10:32 UTC
The initscript works for me now, as it only runs one process, not three. I haven't changed anything related in the config. Closing, thanks for reporting.