[Bug 248843] sysutils/beats6: Hardlinks between usr/local/share and var/db

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 23 08:38:08 UTC 2020


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

            Bug ID: 248843
           Summary: sysutils/beats6: Hardlinks between usr/local/share and
                    var/db
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: elastic at FreeBSD.org
          Reporter: ltning-freebsd at anduin.net
             Flags: maintainer-feedback?(elastic at FreeBSD.org)
          Assignee: elastic at FreeBSD.org

The port is creating hardlinks in stagedir which pollutes the package, making
it impossible to install on systems where /usr/local/share and /var/db are on
different filesystems (which will be a lot of systems).

Example file:
stage# find . -name Filebeat-Postgresql-slowlogs.json|xargs ls -i
313585
./usr/local/share/beats/filebeat/module/postgresql/_meta/kibana/6/dashboard/Filebeat-Postgresql-slowlogs.json
313585
./var/db/beats/filebeat/kibana/6/dashboard/Filebeat-Postgresql-slowlogs.json

The COPYTREE_SHARE macro uses cpio -l, which creates links instead of actually
copying files.

Note: This probably also applies to sysutils/beats7

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


More information about the freebsd-elastic mailing list