Package: libjson0
Version: 0.11-1
Severity: important

Hi,

installing libjson0 (the compat layer) causes spurious creation of a
/usr/lib/<triplet>/libjson-c.so.2 symlink by ldconfig. Since libjson0
does not call ldconfig, this will happen at the next call to ldconfig by
another package installation/upgrade - which can happen 2 seconds or 2
months later. So that link shows up spuriously. Same on package removal:
the symlink stays around dangling until ldconfig is called again.
(ldconfig would create /usr/lib/<triplet>/libjson-c.so.2 -> libjson.so.0)


I wanted to prepare patches for this issue as well as for the other
symlink related bugs, but unfortunately the GIT repository is not
up-to-date.
And I wouldn't trust a repository on an anonSCAM host :-)

I think the compat links need to be moved /lib/<triplet>/ since libjson0
was previously moved there for usage e.g. by upstart - putting this to
/usr/lib/*/ will break upstart (with separate /usr fs) until it gets
rebuilt against the new libjson-c2. That will probably fix all the
related bugs. I would also add an explicit call to ldconfig to
libjson0.post{inst,rm} - just to be on a safe side.


Andreas


-- 
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