8000 Fish hangs indefinitely with no output if it cannot acquire a lock over NFS · Issue #7968 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Fish hangs indefinitely with no output if it cannot acquire a lock over NFS #7968

@kaysond

Description

@kaysond

Running fish, version 3.1.2 on Ubuntu 20.04.

This is somewhat related to #685. I have my home directory set up on nfs. I rebooted the nfs server and lost some sysctl parameters that set the nlockmgr ports to something my firewall would allow. The result being that locks cannot be acquired.

When running fish, it would hang indefinitely. Checking strace, I could see that it would just sit on an flock call on fish_variables. Took half a night to debug and figure out what the heck was going on. It would be nice if fish failed gracefully.

The other challenge was fish didn't provide any error message, even with --debug='complete,*history*' --init-command='set fish_trace on' options set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0