• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Search results

  1. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    In the next revision of the Homebrew formula, I'm looking to replace mysql with mariadb, which is significantly lighter (as in, less disk space and much quicker to install.)
  2. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @mactjaap This is on your Monterey Mac? Did you do anything special to make it work? @NJRoadfan I was on the fence about whether to have mysql as a dependency or not. The formula is noticeably heavy to install even on a 2019 MacBook Air. I might look into making it an optional dependency in a...
  3. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    If the compilation hasn't completed after 24h on your Monterey Mac, I would suspect that the system is running out of memory and clang gets starved and stalls. I've seen that happen on f.e. Raspberry Pis when you try to compile software with too many concurrent threads. You could try shutting...
  4. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @mactjaap Do you get any errors when you run "brew doctor"? Like the error message says, there's a permissions issue on that Cellar subdir. You can try running "sudo chmod -R 775 /usr/local/Cellar/libunistring"
  5. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Good news: netatalk 4 is now available as a Homebrew formula for macOS (and Linux, for you weirdos who use brew on Linux) If you have brew installed already, just do: brew update brew install netatalk sudo brew services start netatalk If you're using an Intel Mac, this should work out of the...
  6. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @Tashtari Thanks for sharing about your project! I hope that you recover your motivation one day. :)
  7. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    There is no AppleTalk userland stack available today, to my best knowledge. If you search these forums you will find that it has been attempted, however. I think it's absolutely feasible. BTW, I agree that getting rid of the AppleTalk transport layer amounted to throwing out the baby with the...
  8. slipperygrey

    TashRouter: An AppleTalk Router

    This was an epic thread to follow. Great job both of you! I'm excited about NetBSD compatibility for TashRouter. It's worthwhile breaking out of the Linux monoculture every once in a while. :)
  9. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Great sleuthing work! Hopefully the commented out code was because no one had bothered to test it on aarch64… May I ask you to add a section to the NetBSD wiki page with a summary of your findings? https://github.com/Netatalk/netatalk/wiki/Installing-Netatalk-on-NetBSD It would be a handy...
  10. slipperygrey

    Netatalk and userspace AppleTalk

    It’s definitely concerning that Red Hat, FreeBSD and OpenBSD all made the explicit decision to remove old network stacks. From their perspective I understand the rationale (removing potential attack vectors) but it’s sad nonetheless. @robin-fo you're our only hope! 💪
  11. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @thecloud Looking at your terminal logs, I get the impression that this is an arm64 system. My immediate guess would be that the appletalk kernel module hasn't gotten ported to this architecture. I spun up my amd64 VM with NetBSD 10.0 here and could confirm that atalkd boots up happily (4.0.8...
  12. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @robin-fo Version 4.0.8 is tagged now, that contains the build system fix for not linking with LDAP.framework, if Homebrew openldap is available. https://netatalk.io/4.0/ReleaseNotes4.0.8 The recommended Homebrew packages are dynamically kept up to date in the manual...
  13. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    This seems to do the trick. If the Homebrew openldap library is present, it will be used by default now. https://github.com/Netatalk/netatalk/pull/1792 Eventually, I want to remove the "OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES" workaround from the netatalkd script, but not in the stable 4.0...
  14. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Look at that, Apple’s docs corroborate this assertion. (Table A-1) https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html Good thing we had this conversation! Let me tweak the build system to favor openldap on...
  15. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Thanks for your feedback! Do you mean moving the "Show Server Status" link to the default tab (File Sharing Services), and keeping the rest under Global Settings, correct? I can see how that would make sense, in that a user would want to check the AFP server's response on the same page that...
  16. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    According to otool, the macOS system libraries we link with are: libSystem, libiconv and LDAP.framework. otool -L libatalk.19.dylib libatalk.19.dylib: @rpath/libatalk.19.dylib (compatibility version 19.0.0, current version 19.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0...
  17. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    While I don't think this will make a big difference for your issues, this inspired me to apply the other workaround supplied by Apple: To instruct the linker to inject a section in the compiled binary with the contents "__DATA,__objc_fork_ok". I have implemented and tested it in the PR below...
  18. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    What tooling to you use for debugging on macOS? Even on Linux, following forking processes in gdb is hit and miss in my experience. There might be a trick that I'm missing. Are you not able to use the "OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES" env variable workaround when developing? The article...
  19. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    The problem is that we link with several of Apple's ObjC libraries on macOS, which do have this policy restriction.
  20. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I was thinking about this forking situation again recently. Pardon me if this discussed this in detail in a different thread and I forgot about it, but I would like to know more about how afpd's process forking is making your effort in writing a userspace AppleTalk stack more difficult. Using...
Back
Top