4 ms·
I can't recall the software, but few years ago there was a famous typo in the update script, namely a space after '/usr' in the rm -fr command which effectively
by SpaceInvader 5y ago
I can't recall the software, but few years ago there was a famous typo in the update script, namely a space after '/usr' in the rm -fr command which effectively removed whole /usr. Does anybody remember what that was?
- where-group-by 5y agoThis happened to Steam on Linux.
- ghuntley 5y agoIt also happened to squid proxy https://access.redhat.com/solutions/1391523 https://access.redhat.com/solutions/1391523
- jameshart 5y agoIn 2015, Steam's Linux updater included rm -rf "$STEAMROOT/"* and if $STEAMROOT wasn't set, that amounted to rm -rf *
- SAI_Peregrinus 5y agoThat's why I always use :? with rm in bash scripts. eg rm -rf "${STEAMROOT:?}/"* Will exit with error instead of running rm if STEAMROOT is unset. Even if used inside a conditional.
- remram 5y agoOr just `set -u`
- nh2 5y agoBumblebee (related to NVIDIA hybrid graphics offload): https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/commit/a047be85247755cdbe0acce6f1dafc8beb84f2ac https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/commi... There so many comments on that commit that Microsoft Github's backend apparently cannot load the page -- I just get the "unicorn". Anyway, this issue also points it out: https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issues/123 https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issue...
- johnisgood 5y agoI get the unicorn as well. So it seems like you could kill GitHub issues this way?