News for hackers. Stuff that matters.
Re:Show HN: Linux activity recorder by lcasela on Thursday October 03, 2013 @10:02AM (#6488926)
"/usr/local/sealion-agent/etc/sealion: 127: ./bin/sealion-node: not found"

Might want to fix that.

  $ curl -s https://agent.sealion.com | sudo bash /dev/stdin -o 7260187a-df41-455d-9999-9a8207257de2

  Downloading agent...

      ############################################################
  ############ 100.0%

  Created 'sealion' user successfully
  Extracting files to /usr/local/sealion-agent...
  Files extracted successfully
  Installed SeaLion as a service
  Starting agent...
  /usr/local/sealion-agent/etc/sealion: 127: ./bin/sealion-   node: not found
  Sealion service started successfully
  Installation successful. Please continue on   https://sealion.com
Re:Show HN: Linux activity recorder by shawabawa3 on Thursday October 03, 2013 @10:13AM (#6489001)
I got:

    $ curl -s https://agent.sealion.com | sudo bash /dev/stdin -o etc
    Downloading agent...
    ######################################################################## 100.0%
    Created 'sealion' user successfully
    Extracting files to /usr/local/sealion-agent...
    Files extracted successfully
    Installed SeaLion as a service
    Starting agent...
    ./bin/sealion-node: 1: Syntax error: word unexpected (expecting ")")
    Sealion service started successfully
    Installation successful. Please continue on https://sealion.com
    $ ./bin/sealion-node: 1: ELF: not found
Re:Show HN: Linux activity recorder by simias on Thursday October 03, 2013 @10:38AM (#6489178)
Just a wild guess but maybe the installer wants the "real" bash and you have dash set up (I think ubuntu and debian do that nowadays).

That or you're missing an executable or some command returns an error that's poorly handled (since we all know proper error handling is borderline impossible in shell scripts...).

That's why I don't get the point of bash scripts: if you want something truly portable you might as well use /bin/sh and if you're willing to compromise a bit of portability for more advanced features you might as well switch to perl or python (perl is probably as likely to be installed on any un*x machine as bash).

Re:Show HN: Linux activity recorder by sequoia on Thursday October 03, 2013 @11:01AM (#6489348)
mmm...

    ... | sudo \bash ...
?
Re:Show HN: Linux activity recorder by treskot on Thursday October 03, 2013 @11:01AM (#6489350)
Currently, SeaLion agent is meant for 64-bit machines only. 32-bit agents coming soon.
Re:Show HN: Linux activity recorder by lcasela on Thursday October 03, 2013 @11:08AM (#6489414)
I couldn't find that anywhere on the site.

You really need to mention that in the title.

Re:Show HN: Linux activity recorder by sharkoz on Thursday October 03, 2013 @10:24AM (#6489079)
Same here