[Bug 288014] net/samba420: errors when copying sparse files to samba share
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 288014] errors when copying sparse files to samba share"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Jul 2025 19:46:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288014 --- Comment #22 from Andrej Ebert <andrej@ebert.su> --- (In reply to hunt from comment #21) Sorry, didn't have time for samba for a while... Let's start clean: 0. stop samba: either service samba_server stop or service samba_server onestop 1. Remove your ports tree and checkout a clean one (net/gitup is a nice utility) 2. Download the 4.22.3 diff as raw unified diff: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262046&action=diff&collapsed=&headers=1&format=raw 3. cd <path to your ports tree> 4. git apply <path to the downloaded diff> 5. download the posix_fallocate patch as raw unified diff: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262242&action=diff&collapsed=&headers=1&format=raw 6. mv the downloaded patch to <path to your ports tree>/net/samba422/files/patch-lib_replace_wscript 7. cd <path to your ports tree>/net/samba422 8. make clean deinstall reinstall 9. smbd -b | grep HAVE_POSIX 10. start samba: either service samba_server start or service samba_server onestart 10. you shouldn't have HAVE_POSIX_FALLOCATE in the output 11. if that is the case, test again with your use case -- You are receiving this mail because: You are the assignee for the bug.