Skip to content
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

[Filestore] failing local filestore possix complience tests #2995

Open
budevg opened this issue Feb 9, 2025 · 2 comments
Open

[Filestore] failing local filestore possix complience tests #2995

budevg opened this issue Feb 9, 2025 · 2 comments
Assignees

Comments

@budevg
Copy link
Collaborator

budevg commented Feb 9, 2025

running https://github.com/zfsonlinux/fstest on local filestore produces many failures

Failed cases:

unlink

mkfifo fails

ENOENT returned instead of ENAMETOOLONG

User owns the file to be removed, but doesn't own the sticky directory.

User owns the sticky directory, but doesn't own the file to be removed.

User owns the symlink to be removed, but doesn't own the sticky directory.

User owns the sticky directory, but doesn't own the symlink to be removed.

truncate

ENOENT returned instead of ENAMETOOLONG

rmdir

mkfifo

ENOENT returned instead of ENAMETOOLONG

User owns the directory to be removed, but doesn't own the sticky directory.

User owns the sticky directory, but doesn't own the directory to be removed.

rename

mkfifo

ENOENT returned instead of ENAMETOOLONG

User owns the file to be renamed, but doesn't own the sticky directory.

User owns the sticky directory, but doesn't own the file to be renamed.

open

expect 0 -u 65535 -g 65535 open ${n0} O_CREAT,O_WRONLY 0644 fails

expect 0620 stat ${name255} mode fails

expect 0642 stat ${path1023} mode fails

mkfifo

mkfifo

mkfifo

mkdir

expect 0 -u 65535 -g 65535 mkdir ${n0} 0755

mkfifo

link

mkfifo

ENOENT returned instead of ENAMETOOLONG

chown

mkfifo

ENOENT returned instead of ENAMETOOLONG

chmod

mkfifo

ENOENT returned instead of ENAMETOOLONG
@budevg budevg self-assigned this Feb 9, 2025
@budevg
Copy link
Collaborator Author

budevg commented Feb 9, 2025

sticky bit behavior seems to be incorrectly implemented on underlying lustre fs but if we use ext4 as backend the benchmark tests for sticky bits pass

@budevg
Copy link
Collaborator Author

budevg commented Feb 9, 2025

we don’t support mkfifo in filestore as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant