[Tickets #11972] Re: importing ldif files from Thunderbird fails

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Jan 23 01:24:03 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11972
------------------------------------------------------------------------------
  Ticket             | 11972
  Updated By         | jhaar-horde at whanau.org
  Summary            | importing ldif files from Thunderbird fails
  Queue              | Turba
  Version            | Git master
  Type               | Bug
  State              | Resolved
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Jan Schneider
------------------------------------------------------------------------------


jhaar-horde at whanau.org (2013-01-23 01:24) wrote:

> Cannot reproduce and doesn't make much sense since the contact's ID  
> is a random value.

  I may have found the problem. I run Apache in a chroot-ed jail, and  
when I strace'ed httpd and looked at what happened just before the  
duplicate INSERT occurs, I see a read call to /proc/loadavg. I guess  
that is used to seed some random generator? As it doesn't exist, it  
probably reuses the last value - causing the problem?

I mounted /proc inside the jail and the problem is solved - but that  
isn't how I want to run it. I can't find the code that would be doing  
this, can you point me in the right direction so I can hack my way  
past this? Perhaps all that is needed is for whatever call is failing  
to fall back on something else; timestamp, pid, whatever?


Thanks

Jason





More information about the bugs mailing list