Open
Description
Description:
The EFS watchdog service currently terminates connections when a parent directory containing an EFS mount point is moved, even though the Linux system successfully updates the mount points. This creates issues during application installations that involve directory restructuring.
Current Behavior:
- When an EFS mount point's parent directory is moved:
- Linux updates mount points correctly (reflected in /etc/mtab and /proc/mounts)
- EFS watchdog service continues to reference old absolute path in state files
- Watchdog terminates stunnel/efs-proxy connection when original path isn't found
- File system becomes inaccessible
Reproduction Steps:
# Mount EFS
sudo mount -t efs -o iam,tls,accesspoint=fsap-xxx fs-xxx:/ efs/path1/mnt1/
# Verify mount
mount | grep nfs4
# Shows successful mount
# Move parent directory
mv ~/efs/path1 ~/efs/path2
# Try to access mount point
cat ~/efs/path2/mnt1/file1
# Process hangs due to terminated connection
Proposed Enhancement:
Enhance the watchdog service to:
- Handle mount point path changes gracefully
- Update state files when parent directories are moved
Metadata
Metadata
Assignees
Labels
No labels