Bug 64896
Summary: | named doesn't restart after suspend/resume | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <grover> | ||||
Component: | apmd | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.3 | CC: | grover, runge, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.0.2-19 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-05-19 20:56:39 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
Need Real Name
2002-05-14 00:00:17 UTC
I've seen the same on my laptop. I've changed the order in starting /restarting pcmcia/cardbus drivers and the processes (e.g. named), but nothing changed: same error (assertion failure) in syslog. Created attachment 57245 [details]
modified apmscript which will restart named after suspend/resume
Simply changing the order in apmscript is not enough, because the script checks to see if the service (named) is listed in $RESTORESERVICES and if the service (named) is running. If you simply move the network restart section so that it's earlier that the service restart section (so that the network will be up when the named service restart is attemped after resume), then the named service will stop (because the network isn't up) before the suspend and then it won't be started at resume. You can make the apmscript work by moving the restore services section of the script below the restore network section, and disble checking whether the services in $RESTORESERVICES are active (ie, trust that everything in $RESTORESERVICES should always be started after a resume). I've attached my modified apmscript, which works for me. Thank you. This works for me too. (but I still don't know, why this really helps.) Fixed in 3.0.2-19. |