Bug 559518
Summary: | /etc/cron.weekly/98-zfs-fuse-scrub fails due to syntax errors | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | N.Al-Rawi |
Component: | zfs-fuse | Assignee: | Uwe Kubosch <uwe> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | uwe |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | zfs-fuse-0.6.9-5.fc13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-09 05:55:52 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
N.Al-Rawi
2010-01-28 11:23:10 UTC
Thank you for the report! The backticks and quotes have been fixed and will be released within a week. If no pools are found, the "for" loop has no iterations. Would you like a better message? (In reply to comment #1) > Thank you for the report! > > The backticks and quotes have been fixed and will be released within a week. Awesome! Thanks! > If no pools are found, the "for" loop has no iterations. Would you like a > better message? Ah yes, of course. Except, with the backticks and quotes fixed, the output when not finding any pools is: Found these pools: ZFS Fuse automatic scrub start done. Use '/usr/bin/zpool status' to see progress. Which implies that it still ran the scrub - which isn't correct. As this is run via cron and any output is ultimately emailed to 'root' I would only really expect to see output if something bad had happened. Does that sound sensible? So, I'll change the output to "No pools found." Only sending output if there was a problem is sensible. Do I have to solve this in the script, or does cron have a mechanism for this? Changed the script to have no output if no pools are found. (In reply to comment #4/3) > Changed the script to have no output if no pools are found. Thanks! > Only sending output if there was a problem is sensible. Do I have to solve > this in the script, or does cron have a mechanism for this? All cron will do is email all output from the script to the cron owner. Generally, when things go wrong, the command being run will let you know. So in the case of your script, you could probably get away with removing any 'echo' statements and let the 'zpool' command report back if it can't run. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping zfs-fuse-0.6.9-0.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-0.fc12 zfs-fuse-0.6.9-0.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zfs-fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-0.fc12 zfs-fuse-0.6.9_beta3-0.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9_beta3-0.fc12 zfs-fuse-0.6.9_beta3-6.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9_beta3-6.fc13 zfs-fuse-0.6.9_beta3-0.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9_beta3-0.el5 zfs-fuse-0.6.9_beta3-0.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zfs-fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9_beta3-0.el5 zfs-fuse-0.6.9_beta3-6.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zfs-fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9_beta3-6.fc13 zfs-fuse-0.6.9_beta3-0.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zfs-fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9_beta3-0.fc12 zfs-fuse-0.6.9-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-2.fc13 zfs-fuse-0.6.9-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-2.fc12 zfs-fuse-0.6.9-4.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-4.fc12 zfs-fuse-0.6.9-4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-4.fc13 zfs-fuse-0.6.9-5.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-5.fc13 zfs-fuse-0.6.9-5.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-5.fc12 zfs-fuse-0.6.9-5.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zfs-fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-5.fc12 zfs-fuse-0.6.9-5.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zfs-fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/zfs-fuse-0.6.9-5.fc13 zfs-fuse-0.6.9_beta3-0.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. zfs-fuse-0.6.9-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. zfs-fuse-0.6.9-5.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |