[Bug 207373] sysutils/pbi-manager: fix filesystem violation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 20 15:08:44 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207373

            Bug ID: 207373
           Summary: sysutils/pbi-manager: fix filesystem violation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kmoore at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: kmoore at FreeBSD.org
             Flags: maintainer-feedback?(kmoore at FreeBSD.org)

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

pbi-manager install script runs pbi_add which creates /var/db/pbi during build.
This is not allowed and in fact doesn't work if the port is build from
non-root. 

====>> Checking for staging violations... done
====>> Error: Filesystem touched during stage (files must install to
${STAGEDIR}):
extra: var/db/pbi

Full log:
http://package21.nyi.freebsd.org/data/102amd64-default-qat/408278/logs/errors/pbi-manager-1431457960.log

So disable pbi_add and create directory properly from Makefile and register it
in pkg-plist.

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


More information about the freebsd-ports-bugs mailing list