2 monitor with wsfb

2018-05-01 Thread Leo Unglaub
Hello List, i have a new graphics card in my desktop. Its a AMD Radeon RX 480. As far as I understand the specs this is a polaris GPU. I used wsfb because the normal radeon driver does not work yet with this modern graphics card. I installed OpenBSD (6.3 GENERIC.MP#19 amd64) in the UEFI mode

Re: Best Practices python virtualenv

2018-05-01 Thread Ken MacKenzie
Not exactly. For starters right now I am getting to know OpenBSD as a platform so at this point is more about evaluating if and how to alter my workflows to better fit with the platform. Next off though is in general with python code I do consider it important to think about what the deployment

Re: state-policy floating Expectations

2018-05-01 Thread Kenneth Gober
On Thu, Apr 26, 2018 at 2:40 PM, Daniel Melameth wrote: > The man page defines this as "States can match packets on any > interfaces." I understood this to mean that state created on one > interface would automatically create state, or allow a related match, > on another

Re: Best Practices python virtualenv

2018-05-01 Thread Ve Telko
Hi, Ken. Did you noticed that you are spending much more time with setting up your env every time you want to run your python apps than with programming itself? No offense but I think this is not normal. Ve.

Re: no route to host (when there is a route )

2018-05-01 Thread Tom Smyth
Hello Ingo, Martin,All, I think you hit the nail on the head, (I was too busy looking at the routing table (and forgot the fundamental principle of longest prefix match) so if I have a static arp entry before adding in the (more specific than the connected route) i should be OK just to

Re: no route to host (when there is a route )

2018-05-01 Thread Martin Pieuchot
On 01/05/18(Tue) 21:28, Ingo Schwarze wrote: > [...] > So what you are doing seems fragile to me. It may sometimes work > due to order of configuration, timeouts, whatever, i'm not sure. It can work if the ARP entry, what Ingo called the /32 is created before you add your /23. > But once part

Re: mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Todd C. Miller
On Tue, 01 May 2018 13:09:27 -0600, "Todd C. Miller" wrote: > You need to restart smptd if you are using a file-based table for > aliases. If you use a db instead of file you don't need to restart. Actually, you don't need to restart smtpd for file-based tables if you run newaliases instead of

Re: Best Practices python virtualenv

2018-05-01 Thread Raphael
On Mon, Apr 30, 2018 at 04:46:49PM +, Ken MacKenzie wrote: > Is there a recommended best practice when setting up an environment with > python > virtualenv with regards to wxallowed. > > My typical workflow is under my home directory I have a > dev/language/project/.venv type structure. I

Re: N7260 wifi card bug (hardware or driver?)

2018-05-01 Thread bit shifter
On Tue, May 1, 2018 at 6:16 AM, Daniel Camolês wrote: > Does anyone in here happens to be running openbsd 6.3 in some machine > which has a N7260 wifi card? I have problems with mine (thinkpad > x240), and since it only happens on openbsd as far as I can tell, I > was

Re: no route to host (when there is a route )

2018-05-01 Thread Ingo Schwarze
Hi Tom, i think i am able to reproduce your problem on -current: # sh /etc/netstart em0 # route -n show -inet default192.168.2.1UGS00 - 8 em0 192.168.2/24 192.168.2.100 UCn10 - 4 em0 192.168.2.1link#1

Re: mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Todd C. Miller
On Tue, 01 May 2018 21:04:19 +0300, Ivo Chutkin wrote: > Restarting smtpd did it. > > I did not know I have to restart smtpd in order to get it working after > change in alias. You need to restart smptd if you are using a file-based table for aliases. If you use a db instead of file you don't

Re: re0: watchdog timeout on recent current

2018-05-01 Thread Elias M. Mariani
Had the same issue with a TP-LINK TG-3269 https://www.tp-link.com/en/products/details/cat-11_TG-3269.html On high loads it started to show the watchdog timeout. It just used another adapter but there is clearly a bug with this one. Elias. 2018-05-01 6:08 GMT-03:00 Anthony J. Bentley

Re: mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Ivo Chutkin
On 1.5.2018 г. 13:23 ч., Marcus MERIGHI wrote: open...@bgone.net (Ivo Chutkin), 2018.05.01 (Tue) 09:48 (CEST): Hello misc, I have strange problem with mail. I edit /etc/mail/aliases to set well known aliases like: # Well-known aliases -- these should be filled in! root:myn...@mydomain.net

Re: Best Practices python virtualenv

2018-05-01 Thread Leonid Bobrov
On Tue, May 01, 2018 at 04:22:50PM +, Ken MacKenzie wrote: > I power my flying car with flying monkeys... > No need to, I am free as a bird, I can power my flying car with my flying wings. Oh, wait, I don't have wings... Anyway, nice joke, but I feel myself embarrasing.

Re: Best Practices python virtualenv

2018-05-01 Thread Ken MacKenzie
I power my flying car with flying monkeys... I think the best answer from all this comes back to, at least for python 3, switching over to the built in venv in python3. Other than that the symlink to a location in /usr/local for venv is another option for python 2 or packages that need to

Re: Best Practices python virtualenv

2018-05-01 Thread Theo de Raadt
Leonid Bobrov wrote: > I have a plan how to completely get rid of wxallowed mount option, > but I am not yet skilled to fix W|X ports, especially the ones > written in C++ (I've started learning C++ recently). Is that like "I have a plan to build a flying car, but I

Re: Best Practices python virtualenv

2018-05-01 Thread IL Ka
> while there are Python modules which rely on W|X. Yes, but I do not use them. I only run Python and Django. I am aware of the fact that my python is not compatible with some modules, and I am ok with it since I do not need them. > use ports instead of pkg_add to get Python binary without W|X

Re: Best Practices python virtualenv

2018-05-01 Thread Leonid Bobrov
On Tue, May 01, 2018 at 06:09:59PM +0300, IL Ka wrote: > > > > So you're now on a custom built python and are unable to use standard > > pkg_add upgrades to new versions. I'd say that on balance, this is more > > likely to *reduce* your security. > > > I built it from ports, so I can update it

Re: Best Practices python virtualenv

2018-05-01 Thread IL Ka
> > So you're now on a custom built python and are unable to use standard pkg_add upgrades to new versions. I'd say that on balance, this is more > likely to *reduce* your security. I built it from ports, so I can update it using standard port update procedure. Since packages are built from

Re: repeated set of messages about usb mouse

2018-05-01 Thread Robert
Hi, (fyi) I had a similar problem in the beginning of this year. It is basically gone right now (snapshots/amd64), and only occurs when I switch from X to the console and back combined with mouse movements/events while on the console. As you stated, it does not seem to have any negative effect

Re: SoftRAID disk size

2018-05-01 Thread Håkon Robbestad Gylterud
> I can imagine you have some old softraid metadata lying around. Did you > try to wipe any existing metadata from the RAID partitions before > attaching it? > Thanks! That did the trick. Best regards, —Håkon

Re: SoftRAID disk size

2018-05-01 Thread Alexander Hall
On Tue, May 01, 2018 at 02:36:49PM +0200, Håkon Robbestad Gylterud wrote: > Hi, > > I have two 5TB disks, which I want to set up as mirrored using RAID 1 > through softraid(4). But after attaching the disk using bioctl(8), the > disk appears with 2TB, not 5TB. I can imagine you have some old

Re: repeated set of messages about usb mouse

2018-05-01 Thread Alexander Hall
On Mon, Apr 30, 2018 at 01:07:00PM +, Rudolf Sykora wrote: > Hello misc, > > I am (on 6.3, amd64) repeatedly getting these messages every now and then: Not knowning about the exact details, I know we had issues (in RHEL6) at work with some mice continually detaching and attaching. I believe

SoftRAID disk size

2018-05-01 Thread Håkon Robbestad Gylterud
Hi, I have two 5TB disks, which I want to set up as mirrored using RAID 1 through softraid(4). But after attaching the disk using bioctl(8), the disk appears with 2TB, not 5TB. How can I get the correct size for the softraid device? The disks are wd0 and wd2, and disklabel shows: # /dev/rwd0c:

N7260 wifi card bug (hardware or driver?)

2018-05-01 Thread Daniel Camolês
Does anyone in here happens to be running openbsd 6.3 in some machine which has a N7260 wifi card? I have problems with mine (thinkpad x240), and since it only happens on openbsd as far as I can tell, I was wondering if it is some kind of driver problem. I tested ubuntu 16.04, which uses version

Re: Best Practices python virtualenv

2018-05-01 Thread Marco Bonetti
- On Apr 30, 2018, at 5:46 PM, Ken MacKenzie k...@mack-z.com wrote: > Is there a recommended best practice when setting up an environment with > python > virtualenv with regards to wxallowed. I use a specific directory in /usr/local which is very close to your option 2: # mkdir -p

Re: Troubleshooting rl instability on OpenBSD 6.1

2018-05-01 Thread Stuart Longland
On 01/05/18 19:42, Stuart Longland wrote: > Yeah, that sounds like a plan, let's see what Charlie Root can tell me Bingo… that didn't take long. > + /sbin/ifconfig rl0 > rl0: flags=8843 mtu 1500 > lladdr 00:d0:c9:e0:f4:75 > index 1 priority 0

Re: Best Practices python virtualenv

2018-05-01 Thread Etienne
On 05/01/18 01:54, IL Ka wrote: Since /usr/local/ has wxallowed by default (see your /etc/fstab) it works. Does it affect security? In theory -- yes, because python can now create WX pages. True. But I use this solution because:  - root controls what goes in /usr/local  - I mount /home

Re: mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Marcus MERIGHI
open...@bgone.net (Ivo Chutkin), 2018.05.01 (Tue) 09:48 (CEST): > Hello misc, > > I have strange problem with mail. > > I edit /etc/mail/aliases to set well known aliases like: > > # Well-known aliases -- these should be filled in! > root:myn...@mydomain.net > manager:root > dumper:root > >

Re: mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Mark Carroll
On 01 May 2018, Ivo Chutkin wrote: (snip) > I edit /etc/mail/aliases to set well known aliases like: > > # Well-known aliases -- these should be filled in! > root:myn...@mydomain.net > manager:root > dumper:root > > Then I run newaliases but mail is still delivered to local user. > > I also run

mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Ivo Chutkin
Hello misc, I have strange problem with mail. I edit /etc/mail/aliases to set well known aliases like: # Well-known aliases -- these should be filled in! root:myn...@mydomain.net manager:root dumper:root Then I run newaliases but mail is still delivered to local user. I also run makemap -t

Re: Troubleshooting rl instability on OpenBSD 6.1

2018-05-01 Thread Stuart Longland
On 01/05/18 17:59, Stuart Henderson wrote: > Oh, one practical thing you could try. "ifconfig rl0 down; ifconfig rl0 up" > might clear the problem when it occurs. If so, perhaps you can detect it > happening (e.g. pings failing) from a cronjob and do that as a workaround. Yeah, that sounds like a

Re: Troubleshooting rl instability on OpenBSD 6.1

2018-05-01 Thread Stuart Longland
On 01/05/18 17:59, Stuart Henderson wrote: > If you go down this route, see if the PCEngines APU2 is a good fit > for your needs. There are other industrial-type systems but in this case > many developers have the exact same device, so a lot more people are > invested in fixing problems found with

Re: re0: watchdog timeout on recent current

2018-05-01 Thread Anthony J. Bentley
Gregory Edigarov writes: > Hello everybody, > > ok, so here is the symptoms. the thing happens usually during the high > traffic, like when I am trying to watch video on a tv, which is > connected to my home server/router on re0 (it is the local interface). > > the video freezes immediately.

re0: watchdog timeout on recent current

2018-05-01 Thread Gregory Edigarov
Hello everybody, ok, so here is the symptoms. the thing happens usually during the high traffic, like when I am trying to watch video on a tv, which is connected to my home server/router on re0 (it is the local interface). the video freezes immediately. something like ifconfig re0 down &&

Re: Best Practices python virtualenv

2018-05-01 Thread Stuart Henderson
On 2018-05-01, IL Ka wrote: > It is up to you, but I still belive that best solution is to rebuild python > without of wxneeded. > 1) It improves security So you're now on a custom built python and are unable to use standard pkg_add upgrades to new versions. I'd say

Re: acpidump: RSDT entry 3 is corrupt

2018-05-01 Thread Stuart Henderson
On 2018-05-01, meg...@r53sound.com wrote: > > I'm seeing "acpidump: RSDT entry 3 is corrupt" in my boot messages > on 6.3/amd64. The motherboard is an ASUS P5Q Pro Turbo with a Q6600. > > IIRC, there's a way to extract the table so someone clueful can come-up > with a

Re: Troubleshooting rl instability on OpenBSD 6.1

2018-05-01 Thread Stuart Henderson
On 2018-05-01, Stuart Longland wrote: >> So, what are you after? A magic, secret sysctl, "sysctl >> rl.work.properly=1" ? Nope, no such thing. > > How about rl.tellmewhatsgoingon=1? :-) You know, maybe log something to > the kernel log when a packet is received,

Re: ACPI interrupt storm on ThinkPad T480s

2018-05-01 Thread Ryan Lennox
On April 26, 2018 2:40 PM, Matthieu Guegan wrote: > Hi, > > Just want to add the X1 Carbon Gen 6th to the list. Same problem when > > plug in a thunderbolt device. > We should confirm that it's the same bug. Here's what I did on the T480s: # pkg_add acpica $ cp -R

artwork.html not listing 6.3 release

2018-05-01 Thread jungle boogie
Hi All, I noticed the 6.3 release is not listed here: https://www.openbsd.org/artwork.html I'm assuming it would be listed and would link here: https://www.openbsd.org/63.html Sorry for the noise if 6.3 is intentionally absent from the artwork page.

Re: no route to host (when there is a route )

2018-05-01 Thread jin
I'm not an expert but i had same issue while using 6.1 as a guest os on a kvm. I updated to 6.2 and problem vanished. On Tue, 1 May 2018, 09:07 Tom Smyth, wrote: > Hello, > > I have encountered this issue for a while, it happens irregularly > on my systems on this

no route to host (when there is a route )

2018-05-01 Thread Tom Smyth
Hello, I have encountered this issue for a while, it happens irregularly on my systems on this lan basically when the issue occurs I cant route out the interface with the default route on it, I cant ping the gateway I cant see the arp of the gateway but i can see the routes installed in the