pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/sysutils/dbus

On Sat, Oct 29, 2011 at 04:03:55PM +0200, MFL Commissioner wrote:
 > > I don't think that's right; if the directories are going away
 > > underneath the dbus package because of things the package tools are
 > > doing, it's because the dir refcount isn't being handled right, so the
 > > proper fix is to get it counted properly. If I understand things
 > > correctly, anyway.
 > Hi David,
 > From what I can tell, dbus just creates empty directories per @pkgdir.
 > Some other package that uses dbus may put something in those
 > directories, and when that package is removed, it takes the dbus @pkgdir
 > directories with it.
 > Then when it's time to remove the dbus directories, they're gone.
 > The patch I commit was tested pretty well with tinderbox-dragonfly, so
 > while there may be another or better way, at least this way works.  I'm
 > just a rookie though.

Well... there's a refcount database for shared directories and files;
my understanding is that directories like this are supposed to be
tracked in it so they aren't removed until all the packages that refer
to them are deinstalled. I don't know why that wouldn't be happening
or, if it is, why it's happening improperly. Maybe someone who knows
more about this than I do can explain...

However... if it works ok for the directories to disappear (that is,
it doesn't cause installing some other package that wants to install
dbus thingies to fail at install time) then probably the dbus package
just shouldn't be creating them.

David A. Holland

Home | Main Index | Thread Index | Old Index