Summary: | insufficent dependencies in init script for gld (greylisting daemon for Postfix) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Stoll <technoworx> |
Component: | [OLD] Unspecified | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | my init script for gld |
Description
Alexander Stoll
2005-04-10 04:56:19 UTC
Created attachment 55965 [details]
my init script for gld
Since the startup is also time critical, I
Created attachment 55965 [details]
my init script for gld
Since the startup is also time critical, I´ve added a "sleep 3" to give mysql a
little time to load so that gld can connect to the service. This is a bit ugly
since heavy dependend on the local maschine if this is enough time to load all
mysql databases...
It should be replaced by a loop that checks for the mysql pid, maybe issuse a
"sql ping" with connection data in gld.conf and if this succeds, fire up gld...
Okay, I've made these changes, however, I don't see the MySQL not being properly started as a problem we should have to fix in the gld init script. The MySQL init script shouldn't eend $? before it's running completely. Feel free to reopen if you still feel differently. Thanks for the fixes, Alexander! After having time to look further into init scripts, I have to agree that the mysql init script is the place to fix that time critical startup since other applications are highly likely to be affected too... Some last thing on gld before this goes stable, a dedicated user with least priviledges for this program should be generated at install time, but I will file a new bug regarding this... (#90468) bug referred in #c3 is bug# 90471 |