Bug 267024 - net/netatalk3 afpd spews error messages about invalid metadata EA
Summary: net/netatalk3 afpd spews error messages about invalid metadata EA
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-13 17:00 UTC by Mike Karels
Modified: 2022-10-13 17:14 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Karels freebsd_committer freebsd_triage 2022-10-13 17:00:20 UTC
I did a "pkg upgrade" yesterday.  Since then, afpd has been spewing message pairs like the following:

Oct 12 13:00:32 pughole afpd[6159]: ad_header_read_ea("/zpool/timemachine/Teri2210/MacBook Air.sparsebundle/mapped/742"): invalid metadata EA
Oct 12 13:00:32 pughole afpd[6159]: ad_header_read_ea("/zpool/timemachine/Teri2210/MacBook Air.sparsebundle/mapped/742"): deleted invalid metadata EA

In a little over 24 hours, I have received about 45,000 messages like this.  The time machine was constructed using the previous version of netatalk.  The errors are being generated during backups from up-to-date MacOS Monterey systems, version 12.6 to pre-existing time machine volumes.  The server is running FreeBSD 13.1.  The package is netatalk3-3.1.13_3,1.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-13 17:14:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=db2b8e7e56e03df0101eadbb86360c282e9494fd

commit db2b8e7e56e03df0101eadbb86360c282e9494fd
Author:     Joe Marcus Clarke <marcus@FreeBSD.org>
AuthorDate: 2022-10-13 17:12:35 +0000
Commit:     Joe Marcus Clarke <marcus@FreeBSD.org>
CommitDate: 2022-10-13 17:12:35 +0000

    net/netatalk3: Fix metadata deletion warnings

    These hunks should have been committed in the _3 update but were left
    out likely in some makepatch shuffling.

    PR:             267024
    Obtained from:  Upstream netatalk GitHub

 net/netatalk3/Makefile                             |  2 +-
 .../files/patch-libatalk_adouble_ad__open.c        | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+), 1 deletion(-)
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2022-10-13 17:14:57 UTC
This is fixed in revision _4 of the port/package.  It should have been part of _3 but was accidentally left out.