misc/183050: Staging support creates major problems with symlinks

Ekkehard 'Ekki' Gehm gehm at doom-labs.net
Thu Oct 17 12:40:01 UTC 2013


>Number:         183050
>Category:       misc
>Synopsis:       Staging support creates major problems with symlinks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 12:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ekkehard 'Ekki' Gehm
>Release:        9.1-RELEASE-p6
>Organization:
>Environment:
FreeBSD diabolo.doom-labs.net 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 28 19:28:24 UTC 2013 :/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When building jails like discribed in http://www.freebsd.org/doc/handbook/jails-application.html any port will fail to install or update because pkg_create dosn't look in the correct staging folder. As /usr/local is a symlink to /s/usr-local, pkg_create wants something like ..../../staging/../usr-local/... wich, of course, doesn't exist.

This problem will affect any system with a linked /usr/local
>How-To-Repeat:
Build or update a port in an enviroment with a linked /usr/local
>Fix:
None exept avoid symlinked /usr/local (like mount via nullfs)

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list