On Mon, 2011-01-03 at 15:31 -0500, Anthony DeRobertis wrote: > Package: zoneminder > > 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. >
dpkg has nothing directly to do with the creation of /usr/share/zoneminder/{events, images}. They're created by the install scripts in the upstream packages. > Also, I've never used zoneminder, so I don't know what the dirs are for, > but from this bug report it sounds like events & images contain > important data. But you've symlinked them to /var/cache in the package, > which is certainly not a good place to store important data! > I'm going to raise a separate bug for moving from /var/cache to somewere else. > /var/cache must only be used for things your program can regenerate. To > quote the FHS, "The application must be able to regenerate or restore > the data. Unlike /var/spool, the cached files can be deleted without > data loss." > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (500, 'testing'), (200, 'unstable'), (100, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.36-trunk-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > -- Peter Howard <p...@northern-ridge.com.au> -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org