postgrey doesn't start if slapd isn't up

Bug #155797 reported by Christian Holtje
2
Affects Status Importance Assigned to Milestone
postgrey (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: postgrey

If your system requires a local copy of ldap to be running, then postgrey will not start until after slapd is running. Since they both have S19 rc.d numbers it is quite likely that postgrey will not start at all.

A work around is:
$ update-rc.d -f slapd remove ; update-rc.d slapd defaults 16 80

Ciao!

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in postgrey:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in postgrey:
status: Incomplete → Invalid
Revision history for this message
Christian Holtje (docwhat) wrote :

I did not see Daniel's question when he posted it. It would have helped if he mentioned my name, since I get a boat load of emails from Launchpad and might miss it otherwise.

I don't have an 8.10 system yet. I'm sitting on the LTS (8.4) release, which did have that problem.

Changed in postgrey:
status: Invalid → New
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The package your reporting is updated and the issue should be reproducible with the live environment of the Desktop CD development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

Revision history for this message
Christian Holtje (docwhat) wrote :

I cannot test it at this time because I cannot upgrade my system due to it being a Xen system and Xen isn't supported anymore in Ubuntu.

I'll be seeing about de-Xen-ing the system, but it'll still be a bit.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Seems postgrey is in an interesting spot as it needs to be up after slapd, but before postfix | exim. Since slapd and postfix are both not yet upstart jobs, only manual mucking with the start order can make this work now. Even when they are both upstart jobs, you'll need to use the wait-for-state special job to make it so that this starts at the right time, between the two jobs.

Marking as Confirmed, importance Medium. The workaround is to manually run update-rc.d after installation to order the three things properly. This does actually still need forwarding to Debian because they use insserv to handle this, but postgrey's init script does not mention slapd as a must-start.

Changed in postgrey (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.