Hacker News new | past | comments | ask | show | jobs | submit login

Badly designed apps can break in all sorts of fun ways without docker

- Check for processes called "sleep", exit if such process exist (or try to kill it).

- Reset $PATH to default value then expect to find a _very_ specific ancient version of system utilities there.

- Create files in /tmp with fixed names. Fail if they already exist. Forget to delete them on failure.

- Walk entire filesystem searching for something. Crash on broken symlinks.

- Enumerate network interfaces. Crash if more than 7 are present.

- Hardcode _both_ specific user name and associated UID.

- Put temp files all over place, including into application directory

- Ignore $HOME and use homedir from /etc/passwd, then create lock/config file under homedir. And you want to run two instance of this app in parallel.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: