Bug 161540
Summary: | RFE: Add "sleep" and "wake" arguments to standard. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Dugas <paul> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED WONTFIX | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | rvokal |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-03 21:22:58 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: |
Description
Paul Dugas
2005-06-24 03:52:51 UTC
Realistically, it's probably better that they expose those methods via d-bus, along the ideas of: http://fedoraproject.org/wiki/FCNewInit Moreover, I'd think most services that would supposedly need 'sleep' and 'resume' should actually be triggering on something else. For example, they should be catching changing networks, or changes from AC to battery. I'm no init or Dbus guru here so bear with me. I don't understand the "expose those methods via d-bus" comment. My /etc/acpi/actions/sleep script is calling a rather long dbus-send command to tell NetworkManager that we're going down and coming back up. Are you suggesting that someone else needs to be notifying NetworkManager rather than an ACPI script? See the hooks in /etc/pm/hooks; that's probably the best place to integrate these sorts of things. |