Bug 161470
Summary: | Duplicate "Starting postgresql" at boot | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Pilcher <arequipeno> | ||||||
Component: | postgresql | Assignee: | Tom Lane <tgl> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | covex, hhorak, mitr | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 8.1.6 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-01-11 16:43:22 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ian Pilcher
2005-06-23 16:31:16 UTC
Created attachment 115881 [details]
Patch to /etc/rc.d/rc to special-case lm_sensors
BTW, PostgreSQL suffers from a similar problem on shutdown. I can confirm this for postfix happening too. It is not high priority but it also seems easy to fix. (and was not present in FC3) This is one of these bugs that do not harm, but are pretty visible for user. initscripts-8.42 has changed the "native service" detection, which fixes lm-sensors and postfix. Reassigning to postgresql. Created attachment 140979 [details]
Make the init.d/functions inclusion detectable by /etc/rc.d/rc
This patch fixes the problem for postgresql.
Huh? That patch looks like a complete no-op to me. What is the underlying problem exactly? See /etc/rc.d/rc: if LC_ALL=C egrep -q "^..*init.d/functions" $i \ || [ "$subsys" = "single" -o "$subsys" = "local" ]; then $i start else action $"Starting $subsys: " $i start fi ". $INITD/functions" is not matched by the grep, so rc helpfully attempts to provide the "starting postgresql" message and the "[ OK ]" status indication. Eeek. I have to agree with Ian's original comment that there should be a better way. But at the same time there's no particular use in the INITD variable in postgresql.init, so will comply in next turn. I've modified postgresql.init in the latest packages for FC5 and up. |