Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

bash script stuck when run with maybe #38

Open
admirabilis opened this issue Dec 8, 2016 · 5 comments
Open

bash script stuck when run with maybe #38

admirabilis opened this issue Dec 8, 2016 · 5 comments
Labels

Comments

@admirabilis
Copy link

I have tried runnning the Nodejs install script with maybe 0.4.0-1 on Ubuntu Yakkety, and with maybe, the script simply stops after "echo 'Installing the NodeSource Node.js 6.x repo...'".

$ curl -sL https://rpm.nodesource.com/setup_6.x | sudo maybe bash -x -
+ print_status 'Installing the NodeSource Node.js 6.x repo...'
++ echo 'Installing the NodeSource Node.js 6.x repo...'
^Cmaybe has not detected any file system operations from bash -x -.

I had to run it without maybe to get the script to run!

@p-e-w
Copy link
Owner

p-e-w commented Dec 11, 2016

Are you sure it actually stopped completely, rather than just slowed down? maybe/ptrace unfortunately has a very high overhead in some cases.

@admirabilis
Copy link
Author

Hello! There was no CPU or I/O activity at all for more than one minute. I don't believe this to be the case!

@p-e-w p-e-w added the bug label Jan 21, 2017
@p-e-w
Copy link
Owner

p-e-w commented Jan 21, 2017

Sounds like a bug then.

As a side note, I just want to re-iterate that as stated in the README maybe is not security software. When doing things like curl | sudo maybe bash, it's a good idea to ask yourself if you would be comfortable running the command without maybe in there.

@admirabilis
Copy link
Author

Thank you for your comment! I wanted to use maybe for installing Node so I could undo whatever they would have changed, if ever needed! I don't really like installing anything if not from the package manager!

@sanketplus
Copy link
Contributor

Hey @teresaejunior that script will use package manager only to install Node. So you can uninstall it anytime. For more checkout the script itself and try installing it on some test environment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants