doveadm force-resync -A * Error: Extraneous arguments found

Bug #1576569 reported by dog
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

After upgrading from wily to xenial the doveadm command now generates errors for what were (and still appear to be) valid commandlines.

Sample commands:
  doveadm force-resync -A *
  doveadm index -A -q *

Error produced:
  Error: Extraneous arguments found

Version:
  Dovecot v2.2.22 (fe789d2)

Tags: xenial
dog (thedogofpavlov)
tags: added: xenial
Revision history for this message
dog (thedogofpavlov) wrote :

Should have said so at the time: as a work-around, the wild card can be wrapped in quotes:

Sample commands:
  doveadm force-resync -A '*'
  doveadm index -A -q '*'

Joshua Powers (powersj)
Changed in dovecot (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is not a bug in Ubuntu, I'm marking this bug as Invalid.

Specifically, doveadm is a shell command. If you have files in your current directory, the shell is supposed to expand *, which is probably not what you want. Perhaps it worked for you before because you were running it in an empty directory?

As you pointed out, you need to quote the glob expansion if you want to pass a literal '*' to doveadm. I don't see how this is a bug.

Or if you believe that this is really a bug, then we'd be grateful if you could explain why and then change the bug status back to New.

Changed in dovecot (Ubuntu):
status: Triaged → Invalid
Revision history for this message
dog (thedogofpavlov) wrote :

Haha, you are of course absolutely right. Ignore me. ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.