Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2015 12:05:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196435] New: Prevent @sample keyword from removing user symlinks
Message-ID:  <bug-196435-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435

            Bug ID: 196435
           Summary: Prevent @sample keyword from removing user symlinks
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@vfemail.net
                CC: portmgr@FreeBSD.org

Created attachment 151209
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151209&action=edit
v1

If .conf file listed as @sample is replaced by user with a symlink the content
may be lost on upgrade because:

- post-install ignores existing non-regular files
- post-deinstall treats symlink as a regular file

An example of such usage is security/ca_root_nss with only one .sample file
copied/edited by user while the rest point to it.

  /etc/ssl/cert.pem (regular file, user-modified)
  /usr/local/etc/ssl/cert.pem (symlink to /etc/ssl/cert.pem)
  /usr/local/openssl/cert.pem (symlink to /etc/ssl/cert.pem)

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196435-13>