Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Pierre Emeriaud
2016-07-13 1:37 GMT+02:00 Difan Zhao : > Thank you Chris! I come from the Cisco world with a little Linux experience > but It does make sense to me. It looks like I could run two DHCP processes > this way. > > However the problem is that I still can't set the rtable.. Also

Re: syslog-ng on OpenBSD 5.9

2016-07-12 Thread fRANz
On Wed, Jul 13, 2016 at 3:54 AM, Nathan Wheeler wrote: > With the changes in 5.6 using sendsyslog(2), only syslogd picks up > local syslog. Search the openbsd-ports list for syslog-ng to see some > comments on it. I'll do that Nathan, thank you for the tip. -f

Re: syslog-ng on OpenBSD 5.9

2016-07-12 Thread Nathan Wheeler
With the changes in 5.6 using sendsyslog(2), only syslogd picks up local syslog. Search the openbsd-ports list for syslog-ng to see some comments on it.

Re: uefi boot

2016-07-12 Thread YASUOKA Masahiko
Hi, On Tue, 12 Jul 2016 21:17:20 -0300 Friedrich Locke wrote: > I wonder if that's possible to boot obsd amd64 5.9 CD on a computer whose > bios is setted to boot UEFI secure mode off. 5.9 CD doesn't support UEFI boot. If the computer doesn't have legacy mode BIOS,

uefi boot

2016-07-12 Thread Friedrich Locke
Hi folks! I wonder if that's possible to boot obsd amd64 5.9 CD on a computer whose bios is setted to boot UEFI secure mode off. Thanks a lot.

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Difan Zhao
Thank you Chris! I come from the Cisco world with a little Linux experience but It does make sense to me. It looks like I could run two DHCP processes this way. However the problem is that I still can't set the rtable.. Also tried the "rdomain" but got the same error. It took the "set flag"

Re: Sleep, Thinkpad x250

2016-07-12 Thread Donald Allen
On Tue, Jul 12, 2016 at 4:17 PM, Mike Larkin wrote: > On Tue, Jul 12, 2016 at 02:50:33PM -0400, Donald Allen wrote: >> I have a Thinkpad x250 running 5.9 stable, up-to-date. This system >> will not re-awaken from sleep mode. No response to the power button -- >> it just

Re: producing SHA256 & release(8)?

2016-07-12 Thread Theo de Raadt
>While this is not a showstopper & can easily be worked around, it seems >there is a mismatch between what the code does & what the manpage >specifies. Is the intent now that building the system & xenocara releases >be done in separate directories, or should redirection be changed to >appending

syslog-ng on OpenBSD 5.9

2016-07-12 Thread fRANz
Hi all, I switched from syslogd to syslog-ng (from package, syslog-ng-3.6.4.tgz) on a amd64 board but now logging of local events don't works. Logging of remote events (UDP) works fine. Only syslog-ng log statistics are recorded to log files, nothing else. I tried both configurations: source

producing SHA256 & release(8)?

2016-07-12 Thread James Hartley
Before proposing a diff, I need clarification. The release(8) manpage states: "xenocara uses DESTDIR and RELEASEDIR as described above. While they may be set to the values used to build the rest of the system, be aware that the existing contents of DESTDIR will be removed as part of the xenocara

Re: Sleep, Thinkpad x250

2016-07-12 Thread Mike Larkin
On Tue, Jul 12, 2016 at 02:50:33PM -0400, Donald Allen wrote: > I have a Thinkpad x250 running 5.9 stable, up-to-date. This system > will not re-awaken from sleep mode. No response to the power button -- > it just continues to sit there slowly blinking and does not respond to > pings. Power

Re: Sleep, Thinkpad x250

2016-07-12 Thread Ville Valkonen
Hiya, AFAIK the video card is the problem. Exit X and try to suspend & resume. Works for me, also running X250. -- Regards, Ville On 12 July 2016 at 21:50, Donald Allen wrote: > I have a Thinkpad x250 running 5.9 stable, up-to-date. This system > will not re-awaken from

Sleep, Thinkpad x250

2016-07-12 Thread Donald Allen
I have a Thinkpad x250 running 5.9 stable, up-to-date. This system will not re-awaken from sleep mode. No response to the power button -- it just continues to sit there slowly blinking and does not respond to pings. Power cycling is the only way I've found to recover. dmesg below. I believe this

Re: Override NGROUPS_MAX

2016-07-12 Thread Jeremie Courreges-Anglas
Sébastien Morand writes: > On Tue, Jul 12, 2016 at 4:35 PM, Alexandre Ratchov wrote: >> >> On Tue, Jul 12, 2016 at 04:11:07PM +, Sébastien Morand wrote: >> > Hi everybody, >> > >> > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in

Re: Overide NGROUPS_MAX

2016-07-12 Thread Sébastien Morand
On Tue, Jul 12, 2016 at 4:35 PM, Alexandre Ratchov wrote: > > On Tue, Jul 12, 2016 at 04:11:07PM +, Sébastien Morand wrote: > > Hi everybody, > > > > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble > > because of the NGROUPS_MAX limitation to 16 groups

Re: Overide NGROUPS_MAX

2016-07-12 Thread Alexandre Ratchov
On Tue, Jul 12, 2016 at 04:11:07PM +, Sébastien Morand wrote: > Hi everybody, > > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble > because of the NGROUPS_MAX limitation to 16 groups per user. Is there any > way to increase this value? > > For instance recompiling

Re: Overide NGROUPS_MAX

2016-07-12 Thread Ted Unangst
Sébastien Morand wrote: > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble > because of the NGROUPS_MAX limitation to 16 groups per user. Is there any > way to increase this value? > > For instance recompiling kernel with /usr/src/sys/sys/syslimits.h modified >

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Chris Cappuccio
Difan Zhao [difan.z...@pason.com] wrote: > Thanks Pierre! However the command does not work for me... Do I need to > upgrade my openbsd box? I am on 5.8 right now. > > # rcctl set dhcpd rtable 200 > usage: rcctl [-df] action|get|getdef|ls|order|set > [service | daemon [variable

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > When I use ftruncate(2) to actually allocate the segment, the file is as > long as the segment that is allocated. > > Even if the file is unlinked before ftruncate(2) is called, enough free > space in the /tmp *file system* is required for the shared memory

Overide NGROUPS_MAX

2016-07-12 Thread Sébastien Morand
Hi everybody, I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble because of the NGROUPS_MAX limitation to 16 groups per user. Is there any way to increase this value? For instance recompiling kernel with /usr/src/sys/sys/syslimits.h modified (NGROUPS_MAX to 32 or 64)? Using

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Difan Zhao
Thanks Pierre! However the command does not work for me... Do I need to upgrade my openbsd box? I am on 5.8 right now. # rcctl set dhcpd rtable 200 usage: rcctl [-df] action|get|getdef|ls|order|set [service | daemon [variable [arguments]] | daemons | lsarg] # rcctl get dhcpd

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread Theo de Raadt
> Is using ftruncate(2) to lengthen the segment the right way to do it, or > is this yet another stupid limitation of POSIX shared memory? If you are getting the picture that the standards commitee cobbled together a bunch of junk and expected a good outcome, you are well on your way to being on

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread bytevolcano
Ted Unangst wrote: bytevolc...@safe-mail.net wrote: Yes, it seems to create files with long names (that have nothing to do with the template I provide) in the /tmp root. If it doesn't respect the path or template, what is the point of having this argument there in the first place, and what is

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > Yes, it seems to create files with long names (that have nothing to do > with the template I provide) in the /tmp root. > > If it doesn't respect the path or template, what is the point of having > this argument there in the first place, and what is the point

Re: making OpenBSD 5.9 live system on USB key

2016-07-12 Thread Boudewijn Dijkstra
Op Sat, 09 Jul 2016 16:16:45 +0200 schreef Matthias Apitz : El día Saturday, July 09, 2016 a las 02:44:39PM +0200, Peter N. M. Hansteen escribió: [...] I suspect that's the case with your touchpad as well. [...] Re/ the touchpad: the imt(4) man page says, it should have

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread bytevolcano
Jeremie Courreges-Anglas wrote: bytevolc...@safe-mail.net writes: Hello, I am writing a local server which requires the use of shared memory objects. Essentially, other applications communicate to this server by connecting to a UNIX domain socket within the file system. Occasionally such an

Re: shm_mkstemp(3) without the file name

2016-07-12 Thread Jeremie Courreges-Anglas
bytevolc...@safe-mail.net writes: > Hello, > > I am writing a local server which requires the use of shared memory > objects. Essentially, other applications communicate to this server by > connecting to a UNIX domain socket within the file system. > > Occasionally such an application may require

shm_mkstemp(3) without the file name

2016-07-12 Thread bytevolcano
Hello, I am writing a local server which requires the use of shared memory objects. Essentially, other applications communicate to this server by connecting to a UNIX domain socket within the file system. Occasionally such an application may require a shared memory buffer to share large

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Gregor Best
Ahoy, > [...] > Same for the openVPN. I use privateinternetaccess service. I ran > "openvpn US\ Seattle.ovpn" to start the vpn and that gives me the tun0 > with IP on it. Then I have run the following to move the tun0 to the > rdomain200 manually. > [...] > However, when the openvpn

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Pierre Emeriaud
2016-07-12 7:41 GMT+02:00 Difan Zhao : > > So I have been playing with rdomain and I am able to get dhcp and openvpn > working but with some hacking. I am seeking a proper way to do this. rcctl(8) is the way to go: # rcctl set dhcpd rtable 200 # rcctl get dhcpd