-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when opening mounted home folder #1893
Comments
This is likely due to creating nested volumes in your home folder. Add |
Tried uncommenting all shares in afp.conf except home, still crash. |
Can you please try creating a "afp-data" subdir in your home dir, then update afp.conf with:
This will ensure you have a clean shared home volume, so that we can exclude any other environmental factor. This callstack looks identical to the one I ran into in #1235 which makes me agree with NJRoadfan's assessment that the root cause is traces of nested netatalk volumes. |
Its likely that once you nest folders, some old invalid CNID values are hanging around on files in folders. Running |
I added a hint about rebuilding the CNID database to the error log message. |
Yes, the error message shows up:
Did try the sudo dbd -f thingy, but still crashes. |
Good to know that the logging works as expected! I tried to reproduce today with various patterns of nested shared volumes, but could not trigger the fail state after an hour of trying... Can you please share the exact dbd command and the terminal output that you got? |
Even though I specify the folder for dbd, it still goes through the whole home folder, is that because dbd reads the configured shares in afp.conf or ? The other thing is it says nested .AppleD* in Mac_backup, there are no such files or directories in that folder, or is it reading stuff from /var/local/netatalk/CNID even though vol dbnest = yes is set in the config ?
|
Tried the path = afp-data in homes and that works when opening the mounted home share. |
Well, this is a bit odd, changed the name of the folder Mac_backup to Mac_backup2 but still getting crash and now it said Mac_backup2 in the crash log, even though I didn't change the share name or path in afp.conf! How could it know I changed the folder name? Anyway I then changed it to test and now I could open the mounted home folder. But yes, having the other shares inside the home folder share is probably not a good thing, don't know what kind of side effects that might bring. |
Netatalk v4.1.0 crashes when trying to open my mounted home folder.
This happens with both BasiliskII with MacOS 7.6.1 and QEmu with MacOS 9.2.2.
Wonder if this also has something to do with libxml, since the home folder contains
the folder "Hämtningar" (Downloads)...
Running on Ubuntu 20.04.6 LTS
My afp.conf:
Logs
netatalk.log
GDB trace:
The text was updated successfully, but these errors were encountered: