Bug 15210 - synthetic_pathref AFP_AfpInfo failed errors
Summary: synthetic_pathref AFP_AfpInfo failed errors
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 4.17.1
Hardware: All All
: P5 normal with 5 votes (vote)
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 15:24 UTC by Tom Vincent
Modified: 2022-11-16 17:48 UTC (History)
1 user (show)

See Also:


Attachments
git-am fix for 4.17.next, 4.16.next. (1.30 KB, patch)
2022-11-16 17:48 UTC, Jeremy Allison
jra: review? (slow)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Vincent 2022-10-20 15:24:01 UTC
When attempting a Time Machine backup, my system's journal is being flooded with the following errors:

smbd[30867]: [2022/09/26 13:15:59.811060,  0] ../../source3/smbd/files.c:1193(synthetic_pathref)
smbd[30867]:   synthetic_pathref: opening [MacBook Pro.sparsebundle/mapped/1310:AFP_AfpInfo] failed

The backup in Time Machine itself fails.

Clients are MacOS 12.6.

More reports can be at the following, which also suggest the issue is not specific to Time Machine: https://forums.unraid.net/bug-reports/stable-releases/smbd6110-pathref-errors-r2111/

The share has been configured via the following docs: https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X

I can reproduce with v4.17.x (4.17.0 and 4.17.1). I also set up a new Time Machine backup in case of corruption, to no avail.

Downgrading to 4.16.5 resolves the issue.
Comment 1 Jeremy Allison 2022-11-15 01:14:42 UTC
Hmmm. I think DBG_ERR() is too noisy a debug level here. Should be DBG_NOTICE I think.
Comment 2 Samba QA Contact 2022-11-16 06:01:03 UTC
This bug was referenced in samba master:

f0ca9546102acf09f1834c03f8907ed26bfc80f8
Comment 3 Jeremy Allison 2022-11-16 17:48:24 UTC
Created attachment 17660 [details]
git-am fix for 4.17.next, 4.16.next.

Cherry-picked from master.