Bug 1035185 - logrotate cronjob error
Summary: logrotate cronjob error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt-sandbox
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 09:10 UTC by Amit Shah
Modified: 2013-11-27 09:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 09:42:11 UTC
Type: Bug


Attachments (Terms of Use)

Description Amit Shah 2013-11-27 09:10:20 UTC
Description of problem:

I'm getting this in my mail after installing libvirt-sandbox:


/etc/cron.daily/virt-sandbox-service.logrotate:

usage: virt-sandbox-service [-h] [-c URI]

                            {create,clone,connect,delete,execute,reload,upgrade}
                            ...
virt-sandbox-service: error: invalid choice: 'list' (choose from 'create', 'clone', 'connect', 'delete', 'execute', 'reload', 'upgrade')

--

libvirt-sandbox-0.5.1-1.fc20.x86_64

Comment 1 Daniel Berrangé 2013-11-27 09:22:02 UTC
Are you sure you are still getting that mail now.  That was a bug in 0.5.0 which is fixed in 0.5.1. The Cron file now uses 'virsh list' instead.

Comment 2 Amit Shah 2013-11-27 09:42:11 UTC
(In reply to Daniel Berrange from comment #1)
> Are you sure you are still getting that mail now.  That was a bug in 0.5.0
> which is fixed in 0.5.1. The Cron file now uses 'virsh list' instead.

Looks like I updated libvirt-sandbox just a few mins back, and the last cron run happened just before the update.  Sorry for the noise.


Note You need to log in before you can comment on or make changes to this bug.