On Mon, Jan 03, 2011 at 03:31:13PM -0500, Anthony DeRobertis wrote:
> FYI, dpkg should not change symlinks to directories or vice versa.
> Policy 6.6(4) documents this. In my experience, this works as
> documented, but dpkg does have bugs of course.

zoneminder does appear to behave this way.

i just confirmed that if the /usr/share/zoneminder/events directory is already
present before installing zoneminder, it doesn't get converted to a symlink. so
this should make upgrades from source-based installs reasonably safe.

however, if an admin manually replaces /usr/share/zoneminder/events with a
symlink, on installing or upgrading the zoneminder package, the symlink will
get updated to point to the location defined in the package. which is not, as
far as i can tell, a policy violation (otherwise packages would never be able
to update symlinks). obviously it will trigger issues when zmaudit kicks in.

so the problem is only triggered when symlinks don't match what the package
expects.

live well,
  vagrant



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

Reply via email to