Re: [Pharo-users] pharo bash script with startup

2018-07-17 Thread Jerry Kott
I am happy to see some real security conversation here. Ultimately, security is about risk management, so both of you are somewhat correct. However, on the whole I tend to agree with Hernán. OTOH, it is theoretically possible to break any known cipher or hash algorithm, given sufficient resourc

Re: [Pharo-users] pharo bash script with startup

2018-07-17 Thread Norbert Hartl
> Am 17.07.2018 um 17:31 schrieb Hernán Morales Durand > : > > 2018-07-17 4:07 GMT-03:00 Norbert Hartl >: >> >> >>> Am 17.07.2018 um 05:14 schrieb Hernán Morales Durand >>> : >>> >>> 2018-06-27 23:21 GMT-03:00 Otto Behrens : Thanks for the effort guys.

Re: [Pharo-users] pharo bash script with startup

2018-07-17 Thread Hernán Morales Durand
2018-07-17 4:07 GMT-03:00 Norbert Hartl : > > >> Am 17.07.2018 um 05:14 schrieb Hernán Morales Durand >> : >> >> 2018-06-27 23:21 GMT-03:00 Otto Behrens : >>> Thanks for the effort guys. >>> >>> I tried to download the image, sources and vm separately (basically >>> extracted what https://get.phar

Re: [Pharo-users] pharo bash script with startup

2018-07-17 Thread Esteban Lorenzano
> On 17 Jul 2018, at 09:07, Norbert Hartl wrote: > > > >> Am 17.07.2018 um 05:14 schrieb Hernán Morales Durand >> : >> >> 2018-06-27 23:21 GMT-03:00 Otto Behrens : >>> Thanks for the effort guys. >>> >>> I tried to download the image, sources and vm separately (basically >>> extracted what

Re: [Pharo-users] pharo bash script with startup

2018-07-17 Thread Norbert Hartl
> Am 17.07.2018 um 05:14 schrieb Hernán Morales Durand > : > > 2018-06-27 23:21 GMT-03:00 Otto Behrens : >> Thanks for the effort guys. >> >> I tried to download the image, sources and vm separately (basically >> extracted what https://get.pharo.org/64/61+vm does), but ran into fresh >> troub

Re: [Pharo-users] pharo bash script with startup

2018-07-16 Thread Hernán Morales Durand
2018-06-27 23:21 GMT-03:00 Otto Behrens : > Thanks for the effort guys. > > I tried to download the image, sources and vm separately (basically > extracted what https://get.pharo.org/64/61+vm does), but ran into fresh > trouble. > > Firstly, is "wget -O - https://get.pharo.org/64/61+vm | bash" not

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Otto Behrens
Thanks for the effort guys. I tried to download the image, sources and vm separately (basically extracted what https://get.pharo.org/64/61+vm does), but ran into fresh trouble. Firstly, is "wget -O - https://get.pharo.org/64/61+vm | bash" not risky in terms of security? It should be quite possibl

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Tim Mackinnon
When we get confirmation of success - we need to make sure this gets applied to both zeroconf and official downloads. Anything we can do to simplify and make it robust is gratefully appreciated as there is nothing worse than falling at the lunch hurdle. It’s cool to see so many clever minds on

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Hernán Morales Durand
2018-06-27 10:50 GMT-03:00 K K Subbu : > On Wednesday 27 June 2018 06:39 PM, K K Subbu wrote: >> >> >> The double quotes are required here to skip splitting arguments with >> embedded spaces into different words. >> >> I suspect the error is earlier in the image=$@ assignment. This requires >> doub

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread K K Subbu
On Wednesday 27 June 2018 06:39 PM, K K Subbu wrote: The double quotes are required here to skip splitting arguments with embedded spaces into different words. I suspect the error is earlier in the image=$@ assignment. This requires double quotes. Double quotes are also required while callin

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread K K Subbu
On Wednesday 27 June 2018 01:08 PM, Otto Behrens wrote: I am running with an absolute image path. The issue is definitely exec "$image" in the script. If I remove the "", i.e. exec $image, then it works. The double quotes are required here to skip splitting arguments with embedded spaces into

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Otto Behrens
Thanks, but it does not. I give a full path for both the image and the startup files. It must have something to do with the stuff packaged in the zip file. On Wed, Jun 27, 2018 at 9:59 AM, Norbert Hartl wrote: > > > Am 27.06.2018 um 09:38 schrieb Otto Behrens : > > I am running with an absolut

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Otto Behrens
I extracted the file that I downloaded again and checked. The file ( http://files.pharo.org/platform/Pharo6.1-64-linux.zip) seems to have an old VM zipped: /opt/pharo/pharo6.1-64/bin/lib/pharo/5.0-201708271955 What I get with wget -O - https://get.pharo.org/64/61+vm | bash is: pharo-vm/lib/pha

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Norbert Hartl
> Am 27.06.2018 um 09:38 schrieb Otto Behrens : > > I am running with an absolute image path. > > The issue is definitely exec "$image" in the script. If I remove the "", i.e. > exec $image, then it works. > > /opt/pharo/pharo6.1-64/bin/lib/pharo/5.0-201708271955/pharo "my.image > startup.

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Guillermo Polito
That's strange, is this a new problem or you always had it? I've just tested it, pharo 61 64 bits. $ wget -O - https://get.pharo.org/64/61+vm | bash [SNIP] $ ./pharo Pharo.image eval 1+1 2 Maybe the so called starter scripts (pharo, pharo-ui) are not the same using zeroconf and by downloading a

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Otto Behrens
I am running with an absolute image path. The issue is definitely exec "$image" in the script. If I remove the "", i.e. exec $image, then it works. /opt/pharo/pharo6.1-64/bin/lib/pharo/5.0-201708271955/pharo "my.image startup.st" gives me the same problem On Wed, Jun 27, 2018 at 9:28 AM, Julián

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Julián Maestri
Try with ./pharo or try with an absolute image path. On Wed, Jun 27, 2018, 04:03 Tim Mackinnon wrote: > I’ve not noticed that problem on ubuntu or AWS lambda so there must be > something different going on. > > Sent from my iPhone > > On 27 Jun 2018, at 07:30, Otto Behrens wrote: > > Hi, > > I

Re: [Pharo-users] pharo bash script with startup

2018-06-27 Thread Tim Mackinnon
I’ve not noticed that problem on ubuntu or AWS lambda so there must be something different going on. Sent from my iPhone > On 27 Jun 2018, at 07:30, Otto Behrens wrote: > > Hi, > > I just installed pharo 6.1 using the .zip file > (http://files.pharo.org/platform/Pharo6.1-64-linux.zip) and ba

[Pharo-users] pharo bash script with startup

2018-06-26 Thread Otto Behrens
Hi, I just installed pharo 6.1 using the .zip file ( http://files.pharo.org/platform/Pharo6.1-64-linux.zip) and battled to start up pharo with arguments. The issue is that the pharo bash script (in the extracted home dir) quotes all arguments: # execute exec "$LINUX/pharo" \ --plugins "$