Closed kkoning closed 13 years ago
This happens because zfs_get_xattrdir doesn't initialize the va_dentry member of the va variable. After applying https://github.com/gunnarbeutner/pkg-zfs/commit/16266bb0e0dc91f018e8155b2c37a806d5e1e356 I can successfully set xattr attributes for files:
root@vz3:~# echo -n value | attr -s test /mnt/mars/test
Attribute "test" set to a 5 byte value for /mnt/mars/test:
value
root@vz3:~# attr -l /mnt/mars/test
Attribute "test" has a 5 byte value for /mnt/mars/test
Wow- that was quick! =) After applying the patch and recompiling, I am no longer able to reproduce the bugs described above. Thanks!
Reopening issue until I can commit this fix to master for 0.6.0-rc4. Thanks for the quick fix Gunnareutner! I'll work on reviewing and merging your other fixes next week! Thanks for all the good work!
The above trace happens whenever I connect from a client (when I am prompted for a username/password. Copying my old homedir to a zfs volume with cp -ra will also reliably cause what looks like a similar crash.
Configuration information: