[Pkg-openssl-devel] Bug#445095: Bug#445095: openssl: Package upgrade removes /etc/ssl if it is a symbolic link

Kurt Roeckx kurt at roeckx.be
Wed Oct 3 17:23:22 UTC 2007


reassign 445095 dpkg
retitle 445095 Upgrade changes symlink to directory.
thanks

On Wed, Oct 03, 2007 at 10:52:05AM +0300, Antonios Christofides wrote:
> Package: openssl
> Version: 0.9.8c-4etch1
> Severity: normal
> 
> The recent security update broke my installation, where /etc/ssl is a
> symbolic link. The upgrade removed the link and installed a /etc/ssl
> directory containing only two empty directories (certs and private).

The openssl package has a few files/dirs in /etc:
/etc/ssl
/etc/ssl/openssl.cnf
/etc/ssl/private
/etc/ssl/certs

/etc/ssl/openssl.cnf is also marked as a conffile.  The later 2 are just
empty directories the openssl package might use.  The ca-certificates
package for instance also puts it's files there.

If you just replace /etc/ssl by a symlink, dpkg gets confused when you
try to upgrade it to a newer version, and I think it just removes the
symlink and creates the files and directories again.

You could argue that this is a bug in dpkg, but it might also be
documented behaviour, I don't know.  I'm just going to reassign it to
the dpkg package.


Kurt






More information about the Pkg-openssl-devel mailing list