Re: datasize-cur

2016-06-20 Thread Pau Amaro Seoane
yes, thanks! I figured that one out later... 

Cheers,
Pau

El 20 juny 2016, a les 12:30, Stuart Henderson  va 
escriure:
> On 2016-06-18, Pau Amaro-Seoane  wrote:
>> indeed, I was not in the staff group... I added myself:
>> 
>> cat /etc/group | grep staff
>> staff:*:20:root,pau
>> 
>> rebooted and... same problem:
>> 
>> Cannot increase datasize-cur to at least 716800
>> Do you want to run Chromium anyway?
>> (If you don't increase these limits, Chromium might fail to work properly.)
>> 
>> What is the default set up for a user added during installation? I
>> added myself later...
> 
> Class, not group. It's field #5 in master.passwd(5).
> 
> 
> ___
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: datasize-cur

2016-06-20 Thread Stuart Henderson
On 2016-06-18, Pau Amaro-Seoane  wrote:
> indeed, I was not in the staff group... I added myself:
>
> cat /etc/group | grep staff
> staff:*:20:root,pau
>
> rebooted and... same problem:
>
> Cannot increase datasize-cur to at least 716800
> Do you want to run Chromium anyway?
> (If you don't increase these limits, Chromium might fail to work properly.)
>
> What is the default set up for a user added during installation? I
> added myself later...

Class, not group. It's field #5 in master.passwd(5).


___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: datasize-cur

2016-06-18 Thread Antoine Jacoutot
On Sun, Jun 19, 2016 at 12:40:36AM +0200, Pau Amaro-Seoane wrote:
> indeed, I was not in the staff group... I added myself:
> 
> cat /etc/group | grep staff
> staff:*:20:root,pau
> 
> rebooted and... same problem:

It's not the staff "group" you need to be under, it's the staff "class".


___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: datasize-cur

2016-06-18 Thread Pau Amaro-Seoane
indeed, I was not in the staff group... I added myself:

cat /etc/group | grep staff
staff:*:20:root,pau

rebooted and... same problem:

Cannot increase datasize-cur to at least 716800
Do you want to run Chromium anyway?
(If you don't increase these limits, Chromium might fail to work properly.)

What is the default set up for a user added during installation? I
added myself later...


2016-06-19 0:17 GMT+02:00 Raf Czlonka :
> On Sat, Jun 18, 2016 at 11:05:52PM BST, Pau Amaro-Seoane wrote:
>> Hello...
>>
>> I have installed chromium and when I try to start it I get:
>>
>> Cannot increase datasize-cur to at least 716800
>> Do you want to run Chromium anyway?
>> (If you don't increase these limits, Chromium might fail to work properly.)
>>
>> However I have already in /etc/login.conf
>>
>> staff:\
>>:datasize-cur=infinity:\
>>:datasize-max=infinity:\
>>:openfiles-cur=8192:\
>>:stacksize-cur=32M:\
>>:maxproc-max=8192:\
>>:maxproc-cur=8192:\
>>:ignorenologin:\
>>:requirehome@:\
>>:tc=default:
>>
>> Why is it complaining?
>
> Is your account member of the 'staff' group?
>
> Raf
>
>> Also, firefox is crashing all the time, which makes me think that the
>> datasize-cur infinity option is not taken into account?
>>
>> Any help?
>>
>> Thanks!
>>
>> Pau
>> ___
>> Openbsd-newbies mailing list
>> Openbsd-newbies@sfobug.theapt.org
>> http://mailman.theapt.org/listinfo/openbsd-newbies
> ___
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: datasize-cur

2016-06-18 Thread Raf Czlonka
On Sat, Jun 18, 2016 at 11:05:52PM BST, Pau Amaro-Seoane wrote:
> Hello...
> 
> I have installed chromium and when I try to start it I get:
> 
> Cannot increase datasize-cur to at least 716800
> Do you want to run Chromium anyway?
> (If you don't increase these limits, Chromium might fail to work properly.)
> 
> However I have already in /etc/login.conf
> 
> staff:\
>:datasize-cur=infinity:\
>:datasize-max=infinity:\
>:openfiles-cur=8192:\
>:stacksize-cur=32M:\
>:maxproc-max=8192:\
>:maxproc-cur=8192:\
>:ignorenologin:\
>:requirehome@:\
>:tc=default:
> 
> Why is it complaining?

Is your account member of the 'staff' group?

Raf

> Also, firefox is crashing all the time, which makes me think that the
> datasize-cur infinity option is not taken into account?
> 
> Any help?
> 
> Thanks!
> 
> Pau
> ___
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies