Bug 452234
| Summary: | Preventing cluster services to run at boot | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Federico Simoncelli <federico.simoncelli> | |
| Component: | cluster | Assignee: | Fabio Massimo Di Nitto <fdinitto> | |
| Status: | CLOSED UPSTREAM | QA Contact: | Cluster QE <mspqa-list> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | rawhide | CC: | cfeist, fdinitto, iannis, matt | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Enhancement | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 563901 (view as bug list) | Environment: | ||
| Last Closed: | 2011-01-06 11:05:38 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 563901, 667650, 667652 | |||
|
Description
Federico Simoncelli
2008-06-20 13:19:13 UTC
Various things come to mind -- Check the runlevel/previous runlevel Check the ppid of the script (maybe it's /sbin/init during boot)? We can also use the approach of touching a file, but for sure not in /etc. It has to be somewhere like /tmp and we need to make sure we can actually do it, otherwise we are back at the original problem. Federico, did you ever have time to propose a patch for this bug? This is what we agreed last on the mailing list I believe. Thanks Fabio For the record: another approach could use a duet-init-script sequence. cman-bootcheck -> parses /proc/cmdline and touch/not touch a file cman checks for that file and warn. user can remove the file and start cman even after boot as cman-bootcheck will never run again. |