Deep Down the Rabbit Hole: Bash, OverlayFS, and a 30-Year-Old Surprise
This blog post recounts a recent debugging session that uncovered a surprising set of issues involving Bash, getcwd()1, and OverlayFS2.
What began as a simple customer bug report evolved into a deep dive worth sharing.
Initial Bug Report
A customer reported that OpenSSH scp3 failed after switching to OverlayFS.
We found the following error in the logs:
shell-init: error retrieving current directory: \
getcwd: cannot access parent directories: Inappropriate ioctl for device
After analyzing the re...
Read more at sigma-star.at