| Summary: | rsnapshot in quiet mode print info message "Logical volume "rsnapshot" successfully removed" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Gena Makhomed <gmm> |
| Component: | rsnapshot | Assignee: | Steven Roberts <strobert> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | strobert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rsnapshot-1.3.1-12.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-24 22:55:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
rsnapshot-1.3.1-12.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/rsnapshot-1.3.1-12.el6 rsnapshot-1.3.1-12.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/rsnapshot-1.3.1-12.el5 rsnapshot-1.3.1-12.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/rsnapshot-1.3.1-12.fc19 rsnapshot-1.3.1-12.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rsnapshot-1.3.1-12.fc20 Package rsnapshot-1.3.1-12.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rsnapshot-1.3.1-12.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16415/rsnapshot-1.3.1-12.fc20 then log in and leave karma (feedback). rsnapshot-1.3.1-12.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. rsnapshot-1.3.1-12.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. rsnapshot-1.3.1-12.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. rsnapshot-1.3.1-12.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: rsnapshot in quiet mode print info message Logical volume "rsnapshot" successfully removed Version-Release number of selected component (if applicable): rsnapshot-1.3.1-7.el6.noarch (or any other rsnapshot 1.3.1 version) How reproducible: always Steps to Reproduce: 1. configure rsnapshot to make backups via lvm snapshots. 2. configure in cron execute "rsnapshot -q sync" every night. 3. wait one day. Actual results: cron send email with text: Logical volume "rsnapshot" successfully removed Expected results: expected nothing if rsnapshot finished successfully. Additional info: this bug already fixed in unstable master branch at github: https://github.com/DrHyde/rsnapshot just need backport this fix to latest stable version 1.3.1. patch: =========================================================== # diff -u rsnapshot.orig rsnapshot --- rsnapshot.orig 2012-07-25 22:00:37.000000000 +0300 +++ rsnapshot 2013-09-08 19:59:47.195833526 +0300 @@ -3749,7 +3749,9 @@ print_cmd(@cmd_stack); if (0 == $test) { - $result = system(@cmd_stack); + # silence gratuitous lvremove output + #$result = system(@cmd_stack); + $result = system(join " ", @cmd_stack, ">/dev/null"); if ($result != 0) { bail("Removal of LVM snapshot failed: $result"); ===========================================================