Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can annihilate a box #3

Open
yarikoptic opened this issue Oct 2, 2014 · 3 comments
Open

can annihilate a box #3

yarikoptic opened this issue Oct 2, 2014 · 3 comments
Labels
help-wanted Lack of resources, please contribute if it's important for you

Comments

@yarikoptic
Copy link

well -- not my days really... needed to regrub a box without cdrom/usb boot -- decided to give grml-terminalserver a try blindingly just running it as root from the beginning... it spit out bunch of errors before it exited, and then somehow I have managed to close that screen shell so I lost any track of what it told me .,.. and now I ended up with /bin and /etc being removed, and also no devices under /dev... who knows what else... I haven't done analysis of the script(s) yet but just wanted to complain.

I guess having smth like 'set -eu' at the beginning of the script could save some other souls and exit early instead of I guess proceeding execution with some variables left undefined ;)

@mika
Copy link
Member

mika commented Oct 2, 2014

Uh, I'm sorry to hear that, but I've absolutely no idea what was going on your system. :( I've never ever experienced such an issue (even though grml-terminalserver is running in all kinds of environments). Could you please explain in more detail what you actually did? Did you run it on the Grml live system itself?

@yarikoptic
Copy link
Author

It was wheezy Debian installation iirc. I just cloned repo to /tmp, cd to that directory and ran bash grml-terminalserver... this was done in a screen session, with su or sudo to get to root. I guess I would not be able to replicate this fun now. My recommendation still stands on making scripts fail early

On October 2, 2014 4:33:30 PM EDT, Michael Prokop [email protected] wrote:

Uh, I'm sorry to hear that, but I've absolutely no idea what was going
on your system. :( I've never ever experienced such an issue (even
though grml-terminalserver is running in all kinds of environments).
Could you please explain in more detail what you actually did? Did you
run it on the Grml live system itself?


Reply to this email directly or view it on GitHub:
#3 (comment)

@mika
Copy link
Member

mika commented Oct 2, 2014

Uh alright, I'll try to reproduce that. Sure, the script is supposed to fail early, if it's not doing so that's clearly a bug. Thanks for the followup!

@jkirk jkirk added the help-wanted Lack of resources, please contribute if it's important for you label Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Lack of resources, please contribute if it's important for you
Projects
None yet
Development

No branches or pull requests

3 participants