Ah, I think I remember something about ubuntu sudo environmental
variable being broken. Is LD_PRELOAD properly passed through sudo? I
think there was some configuration item you had to do.


At Thu, 18 Dec 2008 08:38:19 +0900,
Junichi Uekawa wrote:
> 
> At Wed, 17 Dec 2008 21:21:47 +0100,
> Stefan Fritsch wrote:
> > 
> > On Wednesday 17 December 2008, Junichi Uekawa wrote:
> > > > Package: cowdancer
> > > > Version: 0.44
> > >
> > > Why is this so old?
> > 
> > This is actually Ubuntu hardy. I couldn't reproduce it now at home 
> > with sid / 0.48 but the setup is quite different, too.
> > 
> > > I've noticed that too.
> > >
> > > What's the lock function they use?
> > 
> > This comes from apt/libapt-pkg:
> > apt-pkg/contrib/fileutl.cc:
> >    int FD = open(File.c_str(),O_RDWR | O_CREAT | O_NOFOLLOW,0640);
> > ...
> >    fl.l_type = F_WRLCK;
> >    fl.l_whence = SEEK_SET;
> >    fl.l_start = 0;
> >    fl.l_len = 0;
> >    if (fcntl(FD,F_SETLK,&fl) == -1)
> > 
> > Since it does an open O_RDWR first, maybe cowdancer tried to copy the 
> > file but fails? There was a cp related bug fix in 0.47. I didn't see 
> > any WIFEXITED related error message, though.
> > 
> > Do you have any idea how I could verify if it is the same bug, short 
> > of installing a backported newer cowdancer?
> > 
> 
> You should install backported cowdancer or reproduce with the latest
> version; the version in Ubuntu is not supported by anybody, 
> and later versions have additional debug messages etc.
> 
> By setting COWDANCER_DEBUG environmental variable, you get more debug
> output which might or might not help.
> 
> > Thanks for your help.
> > 
> > Cheers,
> > Stefan
> > 
> > 
> 
> 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to