| Summary: | Unable to target fsck with timed system reboots (shutdown -rF ...) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Todd <ToddAndMargo> |
| Component: | upstart | Assignee: | Lukáš Nykrýn <lnykryn> |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | mschmidt, prc |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-27 09:29:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Todd
2012-01-26 19:03:40 UTC
I don't think 'init' has much of a job in controlling fsck behaviour with 'init' commandline options. It is gone for good, and that long before systemd was on the table. Let alone the absolute brokenness of the general idea, to need to write to the mounted filesystem, to force a check of it. If you want the old behavior, why not just use: $ sleep 8h; touch /forcefsck; reboot or use 'at' for it, which accepts all sorts of fancy options. For systemd, we do not want to add any fsck controls, and RHEL6 will not ship systemd anyway. I think this bug can also be closed again. :) According to upstream bugzilla https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/74139 it is very unlikely, that they will accept any patch to add this feature and there are many other ways how to achieve this behavior. (In reply to comment #2) > If you want the old behavior, why not just use: > $ sleep 8h; touch /forcefsck; reboot Don't want to leave a terminal or a user logged in. All sorts of mischief, yada yada yada. I suppose there is a way to use the "&" thing to with a run on command ... > or use 'at' for it, which accepts all sorts of fancy options. Means I have to look it up every time I use the command. I have used Red Hat products for 15 years or so and I like to use what I know by heart that I used for so many years. Forced myself to learn the dreaded vi back then too. Would just like to see some continuity for an easy to use command. Looks like I don't get my way on this one. Oh well. Thank you all for your patience. -T |