On Mon, 01 Oct 2012 13:42:22 +0200, Enrico Tassi wrote:

> On Sun, Aug 26, 2012 at 03:48:23PM +0200, gregor herrmann wrote:
> > On Sun, 19 Aug 2012 01:56:49 +0200, gregor herrmann wrote:
> > > The attached patch brings me over this failure; no idea if it has any
> > > side effects, I haven't dared to run smd* without --dry-run :)
> > Good news: smd is running flawlessly for me since a week.
> Sorry for the late reply.
> I clearly understand your patch, it seems OK to me.
> And I'm indeed glad it works ;-)

I does, and I'm happily using smd since then :)
 
> But I was not able to reproduce the bug.
> Could you tell me more about your setup?

Hm, it's been some time, let me try to remember what I did.

This was the very start, before any actual sync. I had just installed
smd and added a minimal config with SERVERNAME CLIENTNAME MAILBOX and
(in some variations but that's what I'm using now:)

EXCLUDE_LOCAL="... Maildir/.MiscArchive* ..."

And in these MiscArchive tree there are 3 folders which contain a '&',
like:

% ls -1d ~/Maildir/.MiscArchive*
/home/gregoa/Maildir/.MiscArchive
/home/gregoa/Maildir/.MiscArchive.bar
/home/gregoa/Maildir/.MiscArchive.foo
/home/gregoa/Maildir/.MiscArchive.x&g
/home/gregoa/Maildir/.MiscArchive.y&g
/home/gregoa/Maildir/.MiscArchive.z&g

% ls -1 ~/Maildir/.MiscArchive.x\&g
cur
new
tmp

Then I got the failure when running
`smd-push --dry-run --verbose'.

And one of the logs (sorry for not keeping it, I was too much in
"let's try to get this working" mode) had 3 errors, probably one for
each of the '&' folders, that was like "sh: can't find command g" or
similar ...

Hm, something like

zsh:

% echo x&g
x
[1] 8328
[1]  + 8328 done       echo x
zsh: command not found: g

bash:

$ echo x&g
[1] 8591
x
bash: g: command not found
[1]+  Done                    echo x

(In case that's relevant, I'm using zsh as my interactive shell, and
/bin/sh points to bash; but I guess this will fail in all shells :))


Does this help? Sorry for not having gathered more information right
when this happened ...


Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Pink Floyd: Another brick in the wall 2

Attachment: signature.asc
Description: Digital signature

Reply via email to