Re: tmpfs

2016-07-31 Thread bytevolcano

mxb wrote:

...


For someone who "doesn't use tmpfs" or "doesn't care that much" about 
it, you sure are making a racket on this thread.




Re: tmpfs

2016-07-31 Thread Consus
On 23:02 Sun 31 Jul, mxb wrote:
> Mine is sane.

No, it's not. Your email contains valid UTF-8 symbols but mime states
that it is in us-ascii:

Content-Type: text/plain; charset="us-ascii"

Really, just shut up and fix it. It's that simple :)



Re: tmpfs

2016-07-31 Thread mxb
Baikal too!

> On 31 juli 2016, at 22:13, ʞiᴌᴌʍᴀᴎ ḂØԲH 
wrote:
>
> Alpine is great!
>
> _
> U N I X L e g i o n . c o m
> hacking the world
> Network operations center
> +593 995 956811 | +593 7 2952-763
>
> """This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. If
> you have received this email in error please notify the system manager."""
>
> On Sun, 31 Jul 2016, Consus wrote:
>
>> On 20:53 Sun 31 Jul, mxb wrote:
>>> ?? ?? ?? ??,  ?? 
.
>>> ??  ?? ?? ??.
>>
>> Also fix your goddamn mail client. Your encoding is shit.



Re: tmpfs

2016-07-31 Thread mxb
Mine is sane. Yours just couple of thousands years after.
Fix yours.

> On 31 juli 2016, at 21:46, Consus  wrote:
>
> On 20:53 Sun 31 Jul, mxb wrote:
>> ?? ?? ?? ??,  ?? 
.
>> ??  ?? ?? ??.
>
> Also fix your goddamn mail client. Your encoding is shit.



Re: fork w/o execv

2016-07-31 Thread Luke Small
Thanks! I like to use kqueue and it is to redis database update for
multiple processes, possibly among multiple machines. I can have a sentinel
programs spawn off secondary IP sockets to threads and through database
listings, it could notify the thread that a unified operation on sessions
from possibly multiple threads are complete and need to notify the client
and free data. That probably isn't clear enough either. I have a complex
project for allowing folks to notify others of their positive or negative
sexually transmitted disease status, in which I've garnered interest
especially from an epidemiologist from Maryland for a federal grant. I just
need the program to be scalable, and it won't be possible without
multithreading. The iris scanning takes a lng time; on the order of
seconds!!! I came up with the idea, patented it, and programmed it all
myself.

On Sun, Jul 31, 2016, 05:58 Peter J. Philipp  wrote:

> On Sun, Jul 31, 2016 at 09:05:52AM +, Luke Small wrote:
> > I'm trying to do some operations in which I fork and the child closes and
> > simplifies socketpair listings and sends the simpler list of malloced
> file
> > descriptors to a function and sends ioctl data after it opens a socket.
> The
> > parent sends a short greeting to the child to show that it is ready. The
> > child is supposed to receive it and send back an ip4 address to the
> parent,
> > but it seems to be hung up and very busy. Any ideas?
>
> I couldn't make out what you meant by reading this a few times, however let
> me try.  fork() is a common operation to create a new process... you can
> for example use it to keep a root owned process around and the child does
> privilege seperation however does InterProcess Communication with the root
> owned parent.  The IPC can be shared memory, a socketpair, a pipe, a named
> pipe or socket.  I think you mean to set up a socketpair between the parent
> and the child.  Right here with this kind of model of IPC it is perhaps
> wise to use the imsg framework that is in OpenBSD.
>
> http://man.openbsd.org/OpenBSD-current/man3/imsg_init.3
>
> This is probably what you want to use.  The child sends an IP4 address to
> the parent via the socketpair?  OK, you don't even need a greeting just
> select or poll around the descriptors and test for received data.  And then
> process it to do your ioctl operations and possibly return data via the
> socketpair.
>
> BTW at work I wrote such a program, hence this looks fairly familiar what
> you
> described.  It takes an IP address on a listening socket and sends via a
> socketpair to a root owned process which then inserts the IP4 into a pf
> table
> via ioctl, and then does another ioctl to flush the states for that IP4.
> Unfortunately I can't share the code, it's not licensed for sharing.
>
> Cheers,
>
> -peter



Re: tmpfs

2016-07-31 Thread ʞiᴌᴌʍᴀᴎ ḂØԲH

Alpine is great!

_
U N I X L e g i o n . c o m
hacking the world
Network operations center
+593 995 956811 | +593 7 2952-763

"""This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If
you have received this email in error please notify the system manager."""

On Sun, 31 Jul 2016, Consus wrote:


On 20:53 Sun 31 Jul, mxb wrote:

?? ?? ?? ??,  ??  .
??  ?? ?? ??.


Also fix your goddamn mail client. Your encoding is shit.




Re: tmpfs

2016-07-31 Thread Steve Clement
For Trumps sake Kids, put some gloves on and do it like proper coders or grab
a drink together and talk it out…

Hugs,

Steve


> On 31 Jul 2016, at 19:54, mxb  wrote:
>
> Who gives a sh*t?!
> Ppl supporting OpenBSD community what matters - with userbase without users
is
> like masturbating.
>
> Ppl like me test public diffs on live equipment, donate money and buy CDs
so
> Theo can continue to milk this project
> so he can bike in Canadian woods.
>
> As we speak it in Russia:
> “His long tongue will some day shorten his neck”.
>
> Good advice for him is to pledge() his mouth before someone else do it.
>
> The beauty in globalization is that distances and time get shorter.
> Even time-to-market AND market itself.
>
> With his big mouth like THIS he might get it turbulent.
> He actually did, buy pulling off DARPA feed.



Re: tmpfs

2016-07-31 Thread Consus
On 20:53 Sun 31 Jul, mxb wrote:
> ?? ?? ?? ??,  ??  .
> ??  ?? ?? ??.

Also fix your goddamn mail client. Your encoding is shit.



Re: tmpfs

2016-07-31 Thread mxb
Else it is just a discussion.

> On 31 juli 2016, at 20:48, Consus  wrote:
> 
> drama 



Re: tmpfs

2016-07-31 Thread mxb
Good one.
But private messages are not appreciated
So misc is in loop.
Sorry to pollute your private space.

> On 31 juli 2016, at 20:38, Karel Gardas  wrote:
>
> Could you be so kind and move this conversation out of misc@
>
> Thanks! Karel
>
> On Sun, Jul 31, 2016 at 7:54 PM, mxb  wrote:
>> Who gives a sh*t?!
>> Ppl supporting OpenBSD community what matters - with userbase without users
is
>> like masturbating.
>>
>> Ppl like me test public diffs on live equipment, donate money and buy CDs
so
>> Theo can continue to milk this project
>> so he can bike in Canadian woods.
>>
>> As we speak it in Russia:
>> “His long tongue will some day shorten his neck”.
>>
>> Good advice for him is to pledge() his mouth before someone else do it.
>>
>> The beauty in globalization is that distances and time get shorter.
>> Even time-to-market AND market itself.
>>
>> With his big mouth like THIS he might get it turbulent.
>> He actually did, buy pulling off DARPA feed.
>>
>>
>>> On 31 juli 2016, at 16:51, ludovic coues  wrote:
>>>
>>> Guess which one of you and theo have it's name all over the CVS tree ?
>>>
>>> 2016-07-31 16:37 GMT+02:00 mxb :
 While looking at the mirror, read your last email once again.


> On 30 juli 2016, at 19:58, Theo de Raadt  wrote:
>
> Yeah, you sure are the cool dude.
>
> Despite the existance of people like you, OpenBSD has been
> progressing as working code for 20 years.
>
>
> And what have you added.  Just words.
>
> Mean ones about things you later say you don't are about.  Just
> layers of spite from you when it is pointed out your words don't
> change the world in any way.
>
>> I don't appreciate the private reply.
>>
>> Adding misc back in.
>>
>>> On 30 juli 2016, at 16:29, Theo de Raadt  wrote:
>>>
>>> Just shut up.

>>>
>>>
>>>
>>> --
>>>
>>> Cordialement, Coues Ludovic
>>> +336 148 743 42



Re: tmpfs

2016-07-31 Thread mxb
Как у нас говорят, за базар надо отвечать.
В Швеции ему это предоставится.


> On 31 juli 2016, at 20:47, mxb  wrote:
>
> Я Русский, и что с этого?
>
>> On 31 juli 2016, at 20:37, Aioi Yuuko > wrote:
>>
>> Stop making Russians look bad. Some of us like OpenBSD



Re: tmpfs

2016-07-31 Thread Consus
On 19:54 Sun 31 Jul, mxb wrote:
> Who gives a sh*t?!
> Ppl supporting OpenBSD community what matters - with userbase without users is
> like masturbating.
> 
> Ppl like me test public diffs on live equipment, donate money and buy CDs so
> Theo can continue to milk this project
> so he can bike in Canadian woods.
> 
> As we speak it in Russia:
> “His long tongue will some day shorten his neck”.
> 
> Good advice for him is to pledge() his mouth before someone else do it.
> 
> The beauty in globalization is that distances and time get shorter.
> Even time-to-market AND market itself.
> 
> With his big mouth like THIS he might get it turbulent.
> He actually did, buy pulling off DARPA feed.

Come on, both you and Theo are such drama queens. Shut up already.



Re: tmpfs

2016-07-31 Thread mxb
Я Русский, и что с этого?

> On 31 juli 2016, at 20:37, Aioi Yuuko  wrote:
>
> Stop making Russians look bad. Some of us like OpenBSD



Re: tmpfs

2016-07-31 Thread mxb
He didn’t answered about mirrors.
I asked.
So this one you can send to /dev/null.


> On 31 juli 2016, at 20:37, Aioi Yuuko  wrote:
>
> See your previous message re: mirrors.



Re: tmpfs

2016-07-31 Thread Karel Gardas
Could you be so kind and move this conversation out of misc@

Thanks! Karel

On Sun, Jul 31, 2016 at 7:54 PM, mxb  wrote:
> Who gives a sh*t?!
> Ppl supporting OpenBSD community what matters - with userbase without users
is
> like masturbating.
>
> Ppl like me test public diffs on live equipment, donate money and buy CDs
so
> Theo can continue to milk this project
> so he can bike in Canadian woods.
>
> As we speak it in Russia:
> “His long tongue will some day shorten his neck”.
>
> Good advice for him is to pledge() his mouth before someone else do it.
>
> The beauty in globalization is that distances and time get shorter.
> Even time-to-market AND market itself.
>
> With his big mouth like THIS he might get it turbulent.
> He actually did, buy pulling off DARPA feed.
>
>
>> On 31 juli 2016, at 16:51, ludovic coues  wrote:
>>
>> Guess which one of you and theo have it's name all over the CVS tree ?
>>
>> 2016-07-31 16:37 GMT+02:00 mxb :
>>> While looking at the mirror, read your last email once again.
>>>
>>>
 On 30 juli 2016, at 19:58, Theo de Raadt  wrote:

 Yeah, you sure are the cool dude.

 Despite the existance of people like you, OpenBSD has been
 progressing as working code for 20 years.


 And what have you added.  Just words.

 Mean ones about things you later say you don't are about.  Just
 layers of spite from you when it is pointed out your words don't
 change the world in any way.

> I don't appreciate the private reply.
>
> Adding misc back in.
>
>> On 30 juli 2016, at 16:29, Theo de Raadt  wrote:
>>
>> Just shut up.
>>>
>>
>>
>>
>> --
>>
>> Cordialement, Coues Ludovic
>> +336 148 743 42



Re: tmpfs

2016-07-31 Thread Aioi Yuuko
> Who gives a sh*t?! 
This project, as it happens.
> Ppl supporting OpenBSD community what matters - with userbase without users 
> is 
> like masturbating. 
What is this obsession with masturbating? Linus has it too. At least you get 
credit for not mentioning monkeys.
> Ppl like me test public diffs on live equipment, donate money and buy CDs so 
> Theo can continue to milk this project 
> so he can bike in Canadian woods. 
Testing in production is your stupid decision.
> As we speak it in Russia: 
> “His long tongue will some day shorten his neck”. 
Stop making Russians look bad. Some of us like OpenBSD.
> Good advice for him is to pledge() his mouth before someone else do it. 
See your previous message re: mirrors.
> The beauty in globalization is that distances and time get shorter. 
> Even time-to-market AND market itself. 
Perhaps absent that, the effort threshold for you to write a message would be 
higher, sparing us all.
> With his big mouth like THIS he might get it turbulent. 
> He actually did, buy pulling off DARPA feed. 
``Who gives a sh*t?!'', as you so eloquently put it.



Re: tmpfs

2016-07-31 Thread mxb
Who gives a sh*t?!
Ppl supporting OpenBSD community what matters - with userbase without users is
like masturbating.

Ppl like me test public diffs on live equipment, donate money and buy CDs so
Theo can continue to milk this project
so he can bike in Canadian woods.

As we speak it in Russia:
“His long tongue will some day shorten his neck”.

Good advice for him is to pledge() his mouth before someone else do it.

The beauty in globalization is that distances and time get shorter.
Even time-to-market AND market itself.

With his big mouth like THIS he might get it turbulent.
He actually did, buy pulling off DARPA feed.


> On 31 juli 2016, at 16:51, ludovic coues  wrote:
>
> Guess which one of you and theo have it's name all over the CVS tree ?
>
> 2016-07-31 16:37 GMT+02:00 mxb :
>> While looking at the mirror, read your last email once again.
>>
>>
>>> On 30 juli 2016, at 19:58, Theo de Raadt  wrote:
>>>
>>> Yeah, you sure are the cool dude.
>>>
>>> Despite the existance of people like you, OpenBSD has been
>>> progressing as working code for 20 years.
>>>
>>>
>>> And what have you added.  Just words.
>>>
>>> Mean ones about things you later say you don't are about.  Just
>>> layers of spite from you when it is pointed out your words don't
>>> change the world in any way.
>>>
 I don't appreciate the private reply.

 Adding misc back in.

> On 30 juli 2016, at 16:29, Theo de Raadt  wrote:
>
> Just shut up.
>>
>
>
>
> --
>
> Cordialement, Coues Ludovic
> +336 148 743 42



Re: tmpfs

2016-07-31 Thread ludovic coues
Guess which one of you and theo have it's name all over the CVS tree ?

2016-07-31 16:37 GMT+02:00 mxb :
> While looking at the mirror, read your last email once again.
>
>
>> On 30 juli 2016, at 19:58, Theo de Raadt  wrote:
>>
>> Yeah, you sure are the cool dude.
>>
>> Despite the existance of people like you, OpenBSD has been
>> progressing as working code for 20 years.
>>
>>
>> And what have you added.  Just words.
>>
>> Mean ones about things you later say you don't are about.  Just
>> layers of spite from you when it is pointed out your words don't
>> change the world in any way.
>>
>>> I don't appreciate the private reply.
>>>
>>> Adding misc back in.
>>>
 On 30 juli 2016, at 16:29, Theo de Raadt  wrote:

 Just shut up.
>



-- 

Cordialement, Coues Ludovic
+336 148 743 42



Re: tmpfs

2016-07-31 Thread mxb
While looking at the mirror, read your last email once again.


> On 30 juli 2016, at 19:58, Theo de Raadt  wrote:
> 
> Yeah, you sure are the cool dude.
> 
> Despite the existance of people like you, OpenBSD has been
> progressing as working code for 20 years.
> 
> 
> And what have you added.  Just words.
> 
> Mean ones about things you later say you don't are about.  Just
> layers of spite from you when it is pointed out your words don't
> change the world in any way.
> 
>> I don't appreciate the private reply.
>> 
>> Adding misc back in.
>> 
>>> On 30 juli 2016, at 16:29, Theo de Raadt  wrote:
>>> 
>>> Just shut up.



Re: fork w/o execv

2016-07-31 Thread Peter J. Philipp
On Sun, Jul 31, 2016 at 09:05:52AM +, Luke Small wrote:
> I'm trying to do some operations in which I fork and the child closes and
> simplifies socketpair listings and sends the simpler list of malloced file
> descriptors to a function and sends ioctl data after it opens a socket. The
> parent sends a short greeting to the child to show that it is ready. The
> child is supposed to receive it and send back an ip4 address to the parent,
> but it seems to be hung up and very busy. Any ideas?

I couldn't make out what you meant by reading this a few times, however let
me try.  fork() is a common operation to create a new process... you can
for example use it to keep a root owned process around and the child does
privilege seperation however does InterProcess Communication with the root
owned parent.  The IPC can be shared memory, a socketpair, a pipe, a named
pipe or socket.  I think you mean to set up a socketpair between the parent
and the child.  Right here with this kind of model of IPC it is perhaps
wise to use the imsg framework that is in OpenBSD.

http://man.openbsd.org/OpenBSD-current/man3/imsg_init.3

This is probably what you want to use.  The child sends an IP4 address to
the parent via the socketpair?  OK, you don't even need a greeting just
select or poll around the descriptors and test for received data.  And then
process it to do your ioctl operations and possibly return data via the 
socketpair.

BTW at work I wrote such a program, hence this looks fairly familiar what you
described.  It takes an IP address on a listening socket and sends via a 
socketpair to a root owned process which then inserts the IP4 into a pf table
via ioctl, and then does another ioctl to flush the states for that IP4.
Unfortunately I can't share the code, it's not licensed for sharing.

Cheers,

-peter



fork w/o execv

2016-07-31 Thread Luke Small
I'm trying to do some operations in which I fork and the child closes and
simplifies socketpair listings and sends the simpler list of malloced file
descriptors to a function and sends ioctl data after it opens a socket. The
parent sends a short greeting to the child to show that it is ready. The
child is supposed to receive it and send back an ip4 address to the parent,
but it seems to be hung up and very busy. Any ideas?



Re: Nfs

2016-07-31 Thread Håkon Heggernes Lerring
Sendt fra min iPhone
> Den 31. jul. 2016 kl. 08.17 skrev Edgar Pettijohn
:
>
> I'm trying to set up an nfs share. The server (5.9 stable) is set up as
> described in the FAQ. rpcinfo shows what it should. When I try to connect
from
> my laptop (current) the mount command just hangs indefinitely. However, on
the
> server showmount -a show my laptop is mounted. When I try to reboot the
system
> hangs at syncing disks. Is anyone else experiencing this? Any ideas on how
to
> fix this?
>
> Thanks,
>
> Edgar
>
> Sent from my iPhone
>

This sounds like some kind of network connectivity issue to me. My favorite
first debug tool when working with a problem like that is tcpdump or
wireshark.

Verifying that the two machines properly talk to each other is a first step,
you should see some request/response pattern of traffic.

Often times you can see the server sending errors back with some info. You
might have to activate verbose logging ("-vvv" on tcpdump) to see this.

If this does not help you might try to supply some more info to your request
like the output of rpcinfo or any relevant log messages.

Best regards,
Håkon H. Lerring



Nfs

2016-07-31 Thread Edgar Pettijohn
I'm trying to set up an nfs share. The server (5.9 stable) is set up as
described in the FAQ. rpcinfo shows what it should. When I try to connect from
my laptop (current) the mount command just hangs indefinitely. However, on the
server showmount -a show my laptop is mounted. When I try to reboot the system
hangs at syncing disks. Is anyone else experiencing this? Any ideas on how to
fix this?

Thanks,

Edgar

Sent from my iPhone