Segfault in Apache after upgrade to v4.6

2009-10-31 Thread Jeremy Bowen
Hi I've just upgraded a couple of (old-ish) servers to 4.6 and now Apache has started throwing intermittent segfaults on both. (dmesgs appended below) I previously upgraded from 4.4 to 4.5 without incident. Both of these machines have been running faultlessly for months without issue so someth

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Ted Unangst
On Sat, Oct 31, 2009 at 11:29 PM, Chris Dukes wrote: > I'm at a bit of a loss as to why mpbios is still enabled in GENERIC. Because more machines work with mpbios that don't work without it than machines that work without it but not with it. > My memory of the brief discussion on the KVM mailing

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Theo de Raadt
> On Sat, Oct 31, 2009 at 05:50:57PM -0600, Theo de Raadt wrote: > > > OpenBSD 4.5+ works if "mpbios" is disabled, more info here: > > > http://scie.nti.st/2009/10/4/running-openbsd-4-5-in-kvm-on-ubuntu-linux-9-04 > > > > OpenBSD 4.5 works on 99.9% of PCs out there with mpbios enabled, > > so KVM

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Chris Dukes
On Sat, Oct 31, 2009 at 05:50:57PM -0600, Theo de Raadt wrote: > > OpenBSD 4.5+ works if "mpbios" is disabled, more info here: > > http://scie.nti.st/2009/10/4/running-openbsd-4-5-in-kvm-on-ubuntu-linux-9-04 > > OpenBSD 4.5 works on 99.9% of PCs out there with mpbios enabled, > so KVM must have a

Re: pf n00b

2009-10-31 Thread Ryan McBride
On Sat, Oct 31, 2009 at 03:00:41PM -0600, ghe wrote: > I'm fresh off the boat from Debian. I love OpenBSD's attitude, and > the documentation is even pretty decipherable, but I'm still a > little confused by pf. I managed to build a trivial filter, but > there are a few things I don't understand. >

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Josh Hoppes
I've had decent luck with VirtualBox as of late, in previous versions VirtualBox would cause problems at install time bugging out when extracting packages. I've never had a problem with VMware though, but my experience is limited. I've been running it under ESXi 4.0 for a while and it's been very

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Theo de Raadt
> OpenBSD 4.5+ works if "mpbios" is disabled, more info here: > http://scie.nti.st/2009/10/4/running-openbsd-4-5-in-kvm-on-ubuntu-linux-9-04 OpenBSD 4.5 works on 99.9% of PCs out there with mpbios enabled, so KVM must have a really stupid bug.

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Garry Dolley
On Sat, Oct 31, 2009 at 01:57:20PM -0600, Theo de Raadt wrote: > > It works under KVM. I vaguely recall mpbios0 and acpmiadt0 need to be > > disabled. > > Then it doesn't work. > > I've got this car, but the engine won't start. But it works fine, > because if some friends help me I can push it

Re: umask for remote host in sftp / sftp-server

2009-10-31 Thread Darren Tucker
Lars Nooden wrote: How can umask be set on the remote host for chrooted sftp users? You can set it on the server side with sftp-server's "-u" option but that's very new (post 4.6). You would have something like this in sshd_config: Subsystem sftp sftp-server -u 0022 -- Darren Tucker (dtuc

Re: pf n00b

2009-10-31 Thread Stuart Henderson
On 2009-10-31, ghe wrote: > pf.conf consists largely of anchors (to fork on protocol) and sub- > anchors below them to fork on service -- I'm trying to reduce the > count of rules seen by a packet to a minimum. But no need for that, we have automatic skip steps, and a ruleset optimizer that re-or

Re: pf n00b

2009-10-31 Thread Vadim Zhukov
On 1 November 2009 c. 00:00:41 ghe wrote: > I'm fresh off the boat from Debian. I love OpenBSD's attitude, and the > documentation is even pretty decipherable, but I'm still a little > confused by pf. I managed to build a trivial filter, but there are a > few things I don't understand. > > I read s

pf n00b

2009-10-31 Thread ghe
I'm fresh off the boat from Debian. I love OpenBSD's attitude, and the documentation is even pretty decipherable, but I'm still a little confused by pf. I managed to build a trivial filter, but there are a few things I don't understand. I read somewhere (3 books, google, the website docs, a

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Theo de Raadt
> It works under KVM. I vaguely recall mpbios0 and acpmiadt0 need to be > disabled. Then it doesn't work. I've got this car, but the engine won't start. But it works fine, because if some friends help me I can push it down the road. We won't cripple OpenBSD just because the virtual machines ou

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Chris Dukes
On Sat, Oct 31, 2009 at 10:12:02AM -0500, stan wrote: > I am planing on rebuilding my laptop shortly. I plan on putting Ubuntu 9.10 > as the base OS, and I want to be able to run OpenBSD as a guest OS under > one of the FM' choices. Preferably one of the free ones (eg not VMWare). > > What is the

Re: Problems with 4.5 as a KVM guest

2009-10-31 Thread Chris Dukes
On Sat, Oct 31, 2009 at 09:42:58AM +0100, Michiel van Baak wrote: > > I tried to upgrade my 4.5 and got the same. > Sorry, have no way around it for the moment. I reverted the vm back to > it's previous working state. GENERIC has a few things enabled that play hob with current generation KVM and Q

Re: What VM does OpenBSD run well under>

2009-10-31 Thread Bryan Irvine
I've been running it under virtualbox quite a while. Has trouble compiling a full release, but does well other than that, -B On Sat, Oct 31, 2009 at 8:12 AM, stan wrote: > I am planing on rebuilding my laptop shortly. I plan on putting Ubuntu 9.10 > as the base OS, and I want to be able to run

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Ted Unangst
On Sat, Oct 31, 2009 at 10:00 AM, Jacob Yocom-Piatt wrote: > disk name is sd0) fdisk -iy sd0, disklabel -E sd0, make a smallish 100-150 > MB 4.4BSD partition for root and the rest of the disk set as a single > partition of type RAID e.g. /dev/sd0a is root and /dev/sd0b is softraid, > write disklab

What VM does OpenBSD run well under>

2009-10-31 Thread stan
I am planing on rebuilding my laptop shortly. I plan on putting Ubuntu 9.10 as the base OS, and I want to be able to run OpenBSD as a guest OS under one of the FM' choices. Preferably one of the free ones (eg not VMWare). What is the wisdom of the list on this? -- One of the main causes of the f

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Markus Bergkvist
* To Unmount, do this: - # unmount /home + # umount /home # vnconfig -v -u svnd0 /Markus Brad Tilley wrote: I wrote some notes on how I normally encrypt /home on OpenBSD laptops. I was hoping misc could read it and bash it around some. I'd like to know if I'm doing something wrong

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Robert
If you have enough memory you can avoid the /tmp problem by moving it into RAM: fstab: swap /tmp mfs rw,async,nodev,nosuid,-s=200 0 0 This will also speed up some things that write to /tmp. But keep in mind that in case of a crash the content is lost (if this is relevant for you). regar

Re: Source for LENOVO parts?

2009-10-31 Thread Eric Elena
The same thing happened to me 2 months ago. Maybe this fan is not very reliable. Anyway, I bought mine online on the IBM France website. For Canada, it seems you have to contact the "Toronto Parts Order Centre" https://www-304.ibm.com/shop/americas/content/home/store_IBMPublicCanada/en_CA/parts.ht

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Jacob Yocom-Piatt
Brad Tilley wrote: I wrote some notes on how I normally encrypt /home on OpenBSD laptops. I was hoping misc could read it and bash it around some. I'd like to know if I'm doing something wrong. No jokes about Beck's ass please :) http://16systems.com/openbsd_laptop_encryption.txt Thanks, Brad

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Brad Tilley
On Sat, Oct 31, 2009 at 9:30 AM, Joachim Schipper wrote: > You should also be careful to note that /root is not encrypted under this > scheme. The title says it all. Like most normal people, I keep data in /home. I don't care about meta data that might be in /tmp and I do not wish to encrypt /.

Re: machdep.allowaperture=1 setting is safer?

2009-10-31 Thread Matthieu Herrb
On Sat, Oct 31, 2009 at 2:08 PM, Brynet wrote: > > I know this is unrelated, Matthieu.. but are you and Owain working on > getting DRI/DRM working on other supported architectures? and fixing > the other drivers (..ragedrm/mgadrm/machdrm/etc have been broken since > 4.5). > It's on the TODO list

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Joachim Schipper
On Fri, Oct 30, 2009 at 07:57:08PM -0400, Brad Tilley wrote: > I wrote some notes on how I normally encrypt /home on OpenBSD laptops. > I was hoping misc could read it and bash it around some. I'd like to > know if I'm doing something wrong. No jokes about Beck's ass please :) > > http://16systems

Re: machdep.allowaperture=1 setting is safer?

2009-10-31 Thread Joachim Schipper
On Sat, Oct 31, 2009 at 01:01:58PM +0300, Vadim Zhukov wrote: > On 31 October 2009 c. 10:47:31 Matthieu Herrb wrote: > > '2' is needed by X.Org drivers that rely on the int10 emulation to > > get things setup through the bios of the card. > > And how can user easily detect that a driver rely on in

Re: machdep.allowaperture=1 setting is safer?

2009-10-31 Thread Brynet
Vadim Zhukov wrote: > BTW, does anyone know if any other (X?) programs require '2', and in > which cases? mplayer? No, it's related to physical memory access (..drivers) can access, if the X server starts then then the same programs will start.. X is the only thing that ever directly opens /dev/xf

Re: Encrypting /home on OpenBSD Laptops

2009-10-31 Thread Gonzalo Lionel Rodriguez
Maybe it's more usefull encrypted a file IN the /home partition and move the 'shit' there, then you create symlinks (ln -s) to the encrypted file and done. 2009/10/30 Brad Tilley : > I wrote some notes on how I normally encrypt /home on OpenBSD laptops. > I was hoping misc could read it and bash i

Re: machdep.allowaperture=1 setting is safer?

2009-10-31 Thread srikant . bsd
> BTW, does anyone know if any other (X?) programs require '2', and in > which cases? mplayer? I have been running mplayer, xine and openarena without any problems with value 1 for more than 6 months. Yours Srikant.

Source for LENOVO parts?

2009-10-31 Thread Frank Bax
I have a Lenovo T60p (8744-J2U L3-CM199-07/07). I have been running OpenBSD on it since I purchased it (Summer 2007). The CPU fan is getting noisy and I'd like to replace it. The store where I purchased my laptop cannot order the replacement part. Can anyone suggest a supplier for this part? I

pf: NAT, ALTQ and pflow at the same time

2009-10-31 Thread Alexander Shikoff
Hello! My LAN (10.51.0.0/16) is behind OpenBSD router with pf. vlan2 - external interface, vlan621 - internal. In order to count traffic from Internet to LAN and vice versa with pflow I need to use states on internal interface vlan621. But when states are enabled then queues do not work. My cur

NFS client hang.

2009-10-31 Thread Ksh J. Fry
Hi, I'm using OpenBSD 4.6 GENERIC on a alix 2D3 board with a compact flash card mounted as ffs. wd0 at pciide0 channel 0 drive 0: wd0: 1-sector PIO, LBA, 3831MB, 7847280 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 I try to use remote NFS directory for /usr/ports, the NFS serve

Re: machdep.allowaperture=1 setting is safer?

2009-10-31 Thread Vadim Zhukov
On 31 October 2009 c. 10:47:31 Matthieu Herrb wrote: > '2' is needed by X.Org drivers that rely on the int10 emulation to > get things setup through the bios of the card. And how can user easily detect that a driver rely on int10 emulation? Or no one should bother as the drivers will get fixed eve

Re: umask for remote host in sftp / sftp-server

2009-10-31 Thread LEVAI Daniel
On Saturday 31 October 2009 10.13.44 you wrote: > How can umask be set on the remote host for chrooted sftp users? [...] Setup a umask for your users' class in login.conf(5). Perhaps add them in a new class, eg.: master.passwd(5): user:*:1001:1001:sftp:0:0::/home/user:/bin/ksh login.conf(5): sft

umask for remote host in sftp / sftp-server

2009-10-31 Thread Lars Nooden
How can umask be set on the remote host for chrooted sftp users? I'm having trouble guessing how to set umask for sftp users on the remote system. AFAIK, it is usually function of the shell, which is not used by the sftp client. ~/.cshrc, ~/.profile, and ~/.login seem to not affect sftp, nor did

Re: Problems with 4.5 as a KVM guest

2009-10-31 Thread Michiel van Baak
On 19:20, Fri 30 Oct 09, Toni Mueller wrote: > Thanks, John and Michiel, > > On Thu, 29.10.2009 at 14:02:27 +0100, Michiel van Baak > wrote: > > On 12:18, Thu 29 Oct 09, Toni Mueller wrote: > > > I'm running kvm 85+dfsg-4~bpo5 and see the following interesting > > > behaviour with OpenBSD 4.6: >

Re: machdep.allowaperture=1 setting is safer?

2009-10-31 Thread Matthieu Herrb
On Sat, Oct 31, 2009 at 6:57 AM, wrote: > Hello All > > I have a Intel Core2Duo desktop (dmesg attached below) > running fully patched i386 4.6 GENERIC.MP. > > xdriinfo and glxinfo o/p doesn't change whether > machdep.allowaperture is set to 1 or 2. And X is > fully functional/stable in both case