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

Why is automatic restart not enabled in the systemd service file? #169

Closed
polyrabbit opened this issue Mar 13, 2025 · 3 comments
Closed

Comments

@polyrabbit
Copy link

In attached service files, there are no Restart option. Why not enable automatic restart by default? e.g. when fuse client crashes, automatic restart may allow user to retry without manual intervention.

@jhyunleehi
Copy link

$ sudo systemctl enable *.service

@SF-Zhou
Copy link
Collaborator

SF-Zhou commented Mar 23, 2025

We consider all unexpected exits to be unintended and require manual intervention to investigate the causes, rather than allowing them to be overlooked due to automatic restarts. If you need automatic restart functionality, you can configure it yourself.

@SF-Zhou SF-Zhou closed this as completed Mar 23, 2025
@polyrabbit
Copy link
Author

I see, at least for FileHandle it's not safe to enable auto restart - fh is just a pointer to a heap object, and if restart happens kernel may send an obsolete pointer, but fuse daemon has no way to determine whether this pointer is valid for the current process.

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

3 participants