maintainer-feedback requested: [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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-elastic (Nobody)
<elastic at FreeBSD.org> for maintainer-feedback:
Bug 248843: sysutils/beats6: Hardlinks between usr/local/share and var/db
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248843



--- Description ---
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/Fil
ebeat-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


More information about the freebsd-elastic mailing list