Re: Text editor

2005-08-07 Thread Otto Moerbeek
On Sun, 7 Aug 2005, imEnsion wrote: I'm surprised everyone keeps recommending using vi and vim, yet no one has given a pointer on how to learn it. Sure, an OReilly book may come in handly for this (such as the pocket version of vi tips), but the best way to learn is of course to read the man

Re: large BIND binaries

2005-08-10 Thread Otto Moerbeek
On Wed, 10 Aug 2005, Paul de Weerd wrote: Hi all, While building an (unsupported, i know) stripped down install, I noticed that the larger binaries in /usr/sbin are all from BIND : [EMAIL PROTECTED] $ ls -lrS /usr/sbin | tail -r-xr-xr-x 1 root bin 358372 May 22 10:11

Re: large BIND binaries

2005-08-10 Thread Otto Moerbeek
On Wed, 10 Aug 2005, David Crawshaw wrote: On 10/08/2005, at 5:56 PM, Paul de Weerd wrote: While building an (unsupported, i know) stripped down install, I noticed that the larger binaries in /usr/sbin are all from BIND : -r-xr-xr-x 1 root bin 1015716 May 22 10:11 dnssec-signzone

Re: Shell scripting problem -- help, please!

2005-08-10 Thread Otto Moerbeek
On Wed, 3 Aug 2005, Otto Moerbeek wrote: On Wed, 3 Aug 2005, Dave Anderson wrote: Something's screwy here, using the 'set -A' command in /bin/sh on 3.7-release. AFAICT the complicated file-match expression should (in this case) produce the same results as the simple one

Re: Shell scripting problem -- help, please!

2005-08-26 Thread Otto Moerbeek
On Fri, 12 Aug 2005, Dave Anderson wrote: ** Reply to message from Otto Moerbeek [EMAIL PROTECTED] on Wed, 10 Aug 2005 21:18:09 +0200 (CEST) I took some time to look into this. After some head scratching and staring at code, I tested this behaviour using both the '88 and '93 versions

Re: Shell scripting problem -- help, please!

2005-08-29 Thread Otto Moerbeek
On Fri, 26 Aug 2005, Otto Moerbeek wrote: On Fri, 12 Aug 2005, Dave Anderson wrote: ** Reply to message from Otto Moerbeek [EMAIL PROTECTED] on Wed, 10 Aug 2005 21:18:09 +0200 (CEST) I took some time to look into this. After some head scratching and staring at code, I tested

Re: Default domain not working

2005-08-31 Thread Otto Moerbeek
On Wed, 31 Aug 2005, Bill wrote: I have a problem, which will probably end up being a stupid mistake. I have 3.7 running (fresh install) using the stock BIND and DHCP systems My problem is that I cannot get the default domain to work. So: dig www does not work, while dig

Re: Default domain not working

2005-08-31 Thread Otto Moerbeek
On Wed, 31 Aug 2005, Bill wrote: On Wed, 31 Aug 2005 07:58:24 +0200 (CEST) Otto Moerbeek [EMAIL PROTECTED] wrote: On Wed, 31 Aug 2005, Bill wrote: I have a problem, which will probably end up being a stupid mistake. I have 3.7 running (fresh install) using the stock BIND

Re: complex.h under OpenBSD

2005-09-02 Thread Otto Moerbeek
On Fri, 2 Sep 2005, Ramiro Aceves wrote: Hello dear OpenBSD fans. I am trying to compile a C program (Numerical Electromagnetics Code, NEC, for antenna modelling) that needs complex numbers. I compiled it with gcc on Linux with no special problems. It is an originaly fortran written

Re: problems with backup-tape under openBSD 3.6

2005-09-16 Thread Otto Moerbeek
On Fri, 16 Sep 2005, Erwin Zbinden wrote: Hi I am using a backup tape witch at the moment runs under suselinux 7.3. Now I am migrating to openbsd and try to read my data witch are written under linux from a tape that runs under openbsd 3.6. The problem is: there is only a small part of

Re: NFS server broken in -current?

2005-09-20 Thread Otto Moerbeek
On Tue, 20 Sep 2005, Wolfgang S. Rupprecht wrote: The NFS server stopped working for me after the latest cvs update. Remote machines can no longer mount a filesystem exported from the openbsd box. NFS mounting a remote filesystem exported from a different OS onto the openbsd box still works

Re: NFS server broken in -current?

2005-09-20 Thread Otto Moerbeek
On Tue, 20 Sep 2005, Wolfgang S. Rupprecht wrote: Otto Moerbeek writes: As a workaround, revert to version 1.63 of sbin/mountd.c 1.63 does indeed fix it. Could you run mountd -d, mount a filesystem, run ls and and send the output, both when runnign 1.63 and 1.64? Here you go

Re: NFS server broken in -current?

2005-09-20 Thread Otto Moerbeek
On Tue, 20 Sep 2005, Otto Moerbeek wrote: Also, coud you send the /etc/exports file and watch /var/log/daemon for messages? OK, I am able to reproduce the problem. It occurs if a fs exported to muliple hosts, not using -network. The following /etc/exporst line shows the problem on hosta here

Re: jot(1) issue

2005-09-22 Thread Otto Moerbeek
On Thu, 22 Sep 2005, frantisek holop wrote: hi there, i have found the following interesting case. is this the intended behaviour? kripel jot -s -b - 72

Re: gphoto2/gtkam segmentation fault on i386-current

2005-09-26 Thread Otto Moerbeek
On Mon, 26 Sep 2005, Andreas Bihlmaier wrote: I have exactly the same issue on amd64 i386 since two weeks ago, gphoto2 worked like a charm before, now I have to set up a 3.7 machine only so I can get pictures from my camera :( Will it be fixed until 3.8 ? I would really like to

Re: gphoto2/gtkam segmentation fault on i386-current

2005-09-27 Thread Otto Moerbeek
On Tue, 27 Sep 2005, Andreas Bihlmaier wrote: On Mon, Sep 26, 2005 at 10:29:37AM +0200, Otto Moerbeek wrote: report, including all details. -Otto I would file a bug report, if you tell me what more information I could give than I already did? It worked until a week ago (I

Re: Systrace on chroot, Segmentation fault

2005-09-27 Thread Otto Moerbeek
On Tue, 27 Sep 2005, Joost Tr wrote: Is it possible to run systrace on chroot? I get a segmentation fault. On OpenBSD 3.8-current (GENERIC), Sep 23 2005, i386. $ su # chroot -u root / /bin/sh # exit This works. # systrace -a chroot -u root / /bin/sh Segmentation fault (core dumped)

Re: commands with redirection evaluating differently when set -o xtrace

2005-09-27 Thread Otto Moerbeek
On Tue, 27 Sep 2005, jared r r spiegel wrote: trying to debug some crappy script of mine, noticed what seems to be an instance of setting xtrace changing the way the script runs. -current snapshots from openbsd.rt.fm on sep.22 OpenBSD 3.8-current (GENERIC) #152: Thu Sep 22 13:31:38

Re: PPTP client

2005-10-01 Thread Otto Moerbeek
On Fri, 30 Sep 2005, Peter Bako wrote: I have a situation where I need to connect an OpenBSD box to a MS Windows PPTP server (yep, I know it is not secure, but in this case I have no choice in the matter). After looking around the net I found myself at http://pptpclient.sourceforge.net/.

Re: PPTP client

2005-10-06 Thread Otto Moerbeek
On Wed, 5 Oct 2005, Waldemar Brodkorb wrote: Hi, Otto Moerbeek wrote, On Fri, 30 Sep 2005, Peter Bako wrote: I have a situation where I need to connect an OpenBSD box to a MS Windows PPTP server (yep, I know it is not secure, but in this case I have no choice

Re: sh-script executing

2005-10-06 Thread Otto Moerbeek
On Thu, 6 Oct 2005, Andreas Kahari wrote: On 06/10/05, Ilya A. Kovalenko [EMAIL PROTECTED] wrote: TK just edit a copy, chmod +x and mv(1) it into place. Slightly complicated, but works, because mv(1) removes old file, so sh(1) working either old version or new one (no hybrids).

Re: sh-script executing

2005-10-06 Thread Otto Moerbeek
On Thu, 6 Oct 2005, Han Boetes wrote: Andreas Kahari wrote: Yes, sh(1) will probably keep a descriptor to the old file and keep using it until done. However, does this have any kind of other implications? The behaviour that Ilya pointed out would not occur to me to be expected...

Re: trouble with file system

2005-10-12 Thread Otto Moerbeek
On Wed, 12 Oct 2005, MK wrote: This situation is wired for me and I do not understand it. Can somebody help? Thanks a lot Checking a fs while mounted is not very handy, since inconsistencies will be reported: the fs is being modified while fsck runs. fsck is trying to tell you that by

Re: trouble with file system

2005-10-15 Thread Otto Moerbeek
fsck a file system while it is mounted. It will produce unreliable results. -Otto - Original Message - From: Otto Moerbeek [EMAIL PROTECTED] To: MK [EMAIL PROTECTED] Cc: misc@openbsd.org Sent: Wednesday, October 12, 2005 12:00 PM Subject: Re: trouble with file system

Re: Question about FS Limit (still 1TB?)

2005-10-16 Thread Otto Moerbeek
On Sat, 15 Oct 2005, [EMAIL PROTECTED] wrote: this is really a misc@ question, so I'll post my answers there. I just like to know if the FFS/UFS was modified or if the Limit is still 1TB? Yes, limit is still 1TB. If so: Is it planed to e.g. update to (maybe) UFS2 or modify the existing

Re: wi(4) or wicontrol broken

2005-10-16 Thread Otto Moerbeek
On Sun, 16 Oct 2005, Ludwig Mises wrote: You did not report any problem in a decent way. I'm almost 100% sure you created the problem yourself by not following the proper upgrade path. This is very probable. Actually, it gets more complex than this... I installed the snapshot from

Re: SCSI config for HP SureStore tape drive

2005-10-16 Thread Otto Moerbeek
On Sun, 16 Oct 2005, Steve Harding wrote: I recently installed a SCSI card and an external HP SureStore 24G tape drive, and am unable to access it. By reading lots of man pages, it appears that I need to configure /dev/rst0 so that it knows what is hooked to the SCSI port, but I have no clue

Re: SCSI config for HP SureStore tape drive

2005-10-16 Thread Otto Moerbeek
On Mon, 17 Oct 2005, Otto Moerbeek wrote: On Sun, 16 Oct 2005, Steve Harding wrote: To access the tape, you need to be root or be in the operator group. And before you try that, first make sure the tape appears as st0 in your dmesg. Like the other poster said, check cabling end make sure

Re: Upgrade + ports question

2005-10-18 Thread Otto Moerbeek
On Tue, 18 Oct 2005, Keith Richardson wrote: Hello, This is my first attempt at actually upgrading a system. Usually, it was quicker to simply reinstall from scratch but now that is not the case. So... When I upgrade to from 3.7 - 3.8, I know I have to update my ports as well. Before I

Re: can't get raidframe device to work

2005-10-18 Thread Otto Moerbeek
On Tue, 18 Oct 2005, Nick Nauwelaerts wrote: newfs: /dev/rraid2a: Device not configured [snip] 16 partitions: # sizeoffset fstype [fsize bsize cpg] a: 2097472 0 unused 2048 16384 # Cyl 0 - 682* c: 2097472 0

Re: Guruness (was the bug report thread)

2005-10-19 Thread Otto Moerbeek
On Wed, 19 Oct 2005, Wolfpaw - Dale Corse wrote: You may well be right, though I would say that the amount of Code changes users would be required to do, to make it work Would end up in my lap, seeing as there are some things OpenBSD's Kernel does not have, or has fairly out

Re: Rationale for allowing mount_mfs in securelevel 2?

2005-10-20 Thread Otto Moerbeek
On Wed, 19 Oct 2005, Roman Rodyakin wrote: On Wed, Oct 19, 2005 at 08:44:49AM +0200, Otto Moerbeek wrote: On Wed, 19 Oct 2005, Roman Rodyakin wrote: I have been recently thinking about trade-offs involved in running servers at the securelevel 2. In securelevel 2, it is possible

Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread Otto Moerbeek
On Fri, 21 Oct 2005, morla wrote: hello all, i just made up a second account on my box and wanted to prevent the old one from loging into it, due i want to keep it for email retrival. when i enter something like morla:*:1000:1000:morla:/home/morla:/sbin/nologin into /etc/passwd and

Re: Large partition

2005-10-24 Thread Otto Moerbeek
On Mon, 24 Oct 2005, Nick Nauwelaerts wrote: On Mon, 24 Oct 2005 11:42:45 +0200 (CEST) Beck Zoltan Gyula [EMAIL PROTECTED] wrote: I would like to ask if it is possible to use a large, more than 2T diskarray or CCD? In FAQ: 14.7 - What are the issues regarding large drives with

HEADS UP: possible file system corruption in -current (fwd)

2005-10-25 Thread Otto Moerbeek
-- Forwarded message -- Date: Tue, 25 Oct 2005 20:57:36 +0200 (CEST) From: Otto Moerbeek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: HEADS UP: possible file system corruption in -current Hi, Mon Oct 17 I committed rev 1.28 of src/sys/sys/queue.h The change consisted

Re: ksh segfaults

2005-10-26 Thread Otto Moerbeek
On Wed, 26 Oct 2005, Tobias Ulmer wrote: Hi I'm running a 3.7 (all patches applied, everthing else default) on an old box (dmesg at the end). It fetches mail for me with the following script: ---8--- #! /bin/sh LOCK=$HOME/.getmail.lock if ! [ -f $LOCK ] then touch $LOCK

Re: strcpy to strlcpy warnings

2005-10-27 Thread Otto Moerbeek
On Thu, 27 Oct 2005, John N. Brahy wrote: First of all, it's been a while since I've written c, so I'm curious if this is a bulk change I can do. I'm changing code that another programmer did, but we got rid of him for doing stupid things. So I'm auditing his source code on a few of our

Re: Mac Mini as Firewall

2005-10-31 Thread Otto Moerbeek
On Mon, 31 Oct 2005, Bruno S. Delbono wrote: Hi All, I am considering getting a Mac Mini (1.4 Ghz, Bluetooth, Airport Extreme) version and want to use it as firewall with OpenBSD (+ an extra USB NIC). I've checked the macppc port webpage and see it's supported. I am soliciting opinion on

Re: ibook+openbsd3.8

2005-11-02 Thread Otto Moerbeek
On Thu, 3 Nov 2005, Eder M. G. A. wrote: Good day. I have installed OpenBSD 3.8 on my ibook G4, all fine, but i can't switch to another console, just can use ttyC0, i tried different methods but without results. macppc uses vgafb(4) and does not support multiple consoles. -Otto

Re: After installing scsi card, cdrecord stops working.

2005-11-03 Thread Otto Moerbeek
On Thu, 3 Nov 2005, Marc L'Heureux wrote: I have been running 3.6 for about a year on my server. I have a backup solution that writes to an ide-cdrw 4 times a day. A month ago I installed a scsi card to hook up a newly acquired tape drive. My cdrw backups have been failing since. I did

Re: openbsd 3.8-stable +fsck +HD problem

2005-11-04 Thread Otto Moerbeek
On Sat, 5 Nov 2005, Han Boetes wrote: Pawel portman Kilian wrote: and also when I do fsck -df /dev/wd1a it makes coredumps but I can't read them if someone will want the coredump of fsck_ffs I can put on website You forgot to add the errormessage that went with them: ``zsh: 2970

Re: IPsec performance

2005-11-08 Thread Otto Moerbeek
On Tue, 8 Nov 2005, J.C. Roberts wrote: On Tue, 08 Nov 2005 08:51:06 +0100, Vincent Bernat [EMAIL PROTECTED] wrote: Hi ! I have several questions about IPsec performance in OpenBSD. I am using IPsec to maintain more than 60 tunnels and it performs well when those tunnels are idle.

Re: Xbox port of OpenBSD

2007-07-07 Thread Otto Moerbeek
On Fri, 6 Jul 2007, Markus Ritzer wrote: Hello! My name is Markus Ritzer, and I have ported OpenBSD to the Microsoft Xbox. I have done this as a project for university, and this project is finished on July 18th. It is not an official port until now, and I don't think it will become one.

Re: Bug in pdksh when trapping EXIT ERR

2007-07-11 Thread Otto Moerbeek
On Tue, 10 Jul 2007, Clint Pachl wrote: I wanted to know if others thought pdksh v5.2.14's behavior is incorrect when trapping the EXIT and ERR. I wrote four tests to demonstrate. TEST_1 fails in my opinion. I believe it should output the following: ERR EXIT # TEST_1 trap 'echo EXIT'

Re: Disk driver issue?

2007-07-11 Thread Otto Moerbeek
On Mon, 9 Jul 2007, Carl Horne wrote: Hi, We have a number of Sun SunFire V40z amd64 servers that were all bought around the some time and have the same hardware. I have been involved with a project that requires OpenBSD and I have been re-OSing then with OpenBSD 4.1 (amd64 mp). I have a

Re: apache + php

2007-07-11 Thread Otto Moerbeek
On Wed, 11 Jul 2007, Adam PAPAI wrote: Hello, I have the following problem with the php and the httpd. We have a bit-modified kernel: in /usr/src/sys/arch/i386/conf/GENERIC we changed the maxusers256 unaame -a OpenBSD arsenic.digitalinfluence.hu 4.1 GENERIC.MP#1 i386 The

Re: mysql problem

2007-07-13 Thread Otto Moerbeek
On Fri, 13 Jul 2007, Marcos Laufer wrote: I am having a very strange problem on a 3.9 , suddenly i can't access any table on the databases. I have around 100 databases on this server and can't access not even one. This is a production server and i am in an urge to solve it, if anyone can

Re: mysql problem

2007-07-13 Thread Otto Moerbeek
else? Thanks! - Original Message - From: Otto Moerbeek [EMAIL PROTECTED] To: Marcos Laufer [EMAIL PROTECTED] Cc: misc@openbsd.org Sent: Friday, July 13, 2007 3:12 AM Subject: Re: mysql problem On Fri, 13 Jul 2007, Marcos Laufer wrote: I am having a very strange problem

Re: mysql problem

2007-07-13 Thread Otto Moerbeek
] To: Marcos Laufer [EMAIL PROTECTED] Cc: Otto Moerbeek [EMAIL PROTECTED]; misc@openbsd.org Sent: Friday, July 13, 2007 1:54 PM Subject: Re: mysql problem You are setting the user, not the login class. You have made a login class _mysql in /etc/login.conf, but it looks like you may

Re: fsck Segmentation fault on 4.1

2007-07-13 Thread Otto Moerbeek
On Fri, 13 Jul 2007, Marcos Laufer wrote: Hello, I want to report a problem i experienced while testing OpenBSD 4.1 . I've installed it, increased VM_PHYSSEG_MAX to 16 in /usr/src/sys/arch/i386/include/vmparam.h to make it work with this particular motherboard and made a stable release.

Re: fsck Segmentation fault on 4.1

2007-07-13 Thread Otto Moerbeek
- From: Otto Moerbeek [EMAIL PROTECTED] To: Marcos Laufer [EMAIL PROTECTED] Cc: misc@openbsd.org Sent: Friday, July 13, 2007 3:38 PM Subject: Re: fsck Segmentation fault on 4.1 On Fri, 13 Jul 2007, Marcos Laufer wrote: Hello, I want to report a problem i experienced while

Re: fsck Segmentation fault on 4.1

2007-07-14 Thread Otto Moerbeek
- From: Otto Moerbeek [EMAIL PROTECTED] To: Marcos Laufer [EMAIL PROTECTED] Cc: misc@openbsd.org Sent: Friday, July 13, 2007 4:46 PM Subject: Re: fsck Segmentation fault on 4.1 On Fri, 13 Jul 2007, Marcos Laufer wrote: Otto , This is the error i get: It starts booting

Re: DELL PERC 5iR slow performance

2007-07-15 Thread Otto Moerbeek
On Sun, 15 Jul 2007, Brandon Lee wrote: Hi Marco, There is no option to enable write cache via the PERC 5i/R controller or Bios. From bios, i could only select the perfornance of the HDD as in Bypass, Quiet, Suggested and Performance. I've seen this before. For some stupid reason you

Re: mysql problem

2007-07-15 Thread Otto Moerbeek
On Sun, 15 Jul 2007, Marcos Laufer wrote: Ok , i had followed the instructions at http://openbsdsupport.org/mysql.htm No you did not. You plugged in bigger numbers. That could very well be your problem. Also there should be some correspondence to the numbers in login.conf and my.cnf. Another

Re: DELL PERC 5iR slow performance

2007-07-15 Thread Otto Moerbeek
On Sun, 15 Jul 2007, Otto Moerbeek wrote: On Sun, 15 Jul 2007, Brandon Lee wrote: Hi Marco, There is no option to enable write cache via the PERC 5i/R controller or Bios. From bios, i could only select the perfornance of the HDD as in Bypass, Quiet, Suggested and Performance

Re: problem with locate

2007-07-15 Thread Otto Moerbeek
On Sun, 15 Jul 2007, Steve Fairhead wrote: On Thu, 15 Mar 2007, Otto Moerbeek wrote: I see the problem. The problem occurs if top bigrams contain spaces. These are not handled correctly by awk. We'll have to use a field separator that can not be in a bigram. A tab is well suited, AFAKS

Re: fsck Segmentation fault on 4.1

2007-07-15 Thread Otto Moerbeek
On Sun, 15 Jul 2007, Niko Itajarvi wrote: Otto Moerbeek otto at drijf.net writes: On Fri, 13 Jul 2007, Marcos Laufer wrote: Otto, I know the cables are allright, i'm using them with other hard drive . And the hard drive is new , but i will format it and check

Re: Multi terabyte filesystems

2007-07-16 Thread Otto Moerbeek
On Sun, 15 Jul 2007, John Nietzsche wrote: Dear list members, is there plans for openbsd to support multi terabyte filesystems? Which release should i expect to see such support? Thanks in advance. Yes, work is being done. See http://undeadly.org/cgi?action=articlesid=20070601190500. In

Re: print filter?

2007-07-17 Thread Otto Moerbeek
On Tue, 17 Jul 2007, Fred Crowson wrote: Bob Beck wrote: I used to fight with such insanity constantly. However since printers are frequently sold and shipped with a basically undocumented interface, and more than half the time these filter utilites are barely reverse engineered

Re: Allocate more memory than 512 MB with squid

2007-07-18 Thread Otto Moerbeek
see it on the original posting now. I'm not a login.conf expert but it still seems a bit suspect is 512MB is the default max datasize. Are you sure it is running under the correct login class? To quote a recent thread, Otto Moerbeek said: How are yo starting mysql? You need

Re: hardware problem?! strangely ssh error

2007-07-19 Thread Otto Moerbeek
On Thu, 19 Jul 2007, openbsd misc wrote: misc(at)openbsd.org wrote: Hello, I have a system with openbsd 4.1 installed. Everything works fine (lynx / ping / ...) but I'm not able to connect to another system via ssh. I'm not able to connect to the system, too. The error I got:

Re: fsck Segmentation fault on 4.1

2007-07-19 Thread Otto Moerbeek
On Fri, 13 Jul 2007, Otto Moerbeek wrote: On Fri, 13 Jul 2007, Marcos Laufer wrote: Otto , This is the error i get: It starts booting , and it starts fsck , it fails with /dev/rwd0e and rwd0h, (i could see once that when it finished it says:) fsck_ffs in free(): error

Re: stty -echo not working

2007-07-20 Thread Otto Moerbeek
On Fri, 20 Jul 2007, Chris Mason wrote: Hi, I know I am doing something wrong as opposed to a problem with OpenBSD, but I can't get the stty command working correctly. I have searched on Google but I am unable to find any reference to it not working.. everyone suggests this method. On any

Re: fsck Segmentation fault on 4.1

2007-07-20 Thread Otto Moerbeek
On Fri, 20 Jul 2007, Marcos Laufer wrote: Will this be moved to -stable, or is it an uncommon thing ? It's not very common, but the impact is pretty high. So once some more test reports are coming in, we'll consider it. -Otto - Original Message - From: Otto Moerbeek

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Otto Moerbeek
On Sat, 4 Aug 2007, Andris wrote: Hi, I'm writing a set of small utilities as scripts, and I got a segmentation fault working on one of them. I tried running your script but it did not produce any seg faults. Do you have example input that causes a seg fault? -Otto The script is

Re: Segmentation fault in sh script using base utilities only

2007-08-06 Thread Otto Moerbeek
On Sun, 5 Aug 2007, Andris wrote: Yeap, it segfaults here with: aTbTc daaaTe fs Upper case T are horizontal tabs. It makes OpenBSD freeze too :S Hmm, no segfault here, just: [EMAIL PROTECTED]:35]$ sh x awk: syntax error at source line 2 context is

Re: Segmentation fault in sh script using base utilities only

2007-08-06 Thread Otto Moerbeek
On Mon, 6 Aug 2007, Andris wrote: On 8/6/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Sun, 5 Aug 2007, Andris wrote: Yeap, it segfaults here with: aTbTc daaaTe fs Upper case T are horizontal tabs. It makes OpenBSD freeze too :S

Re: disklabel/newfs problem?

2007-08-06 Thread Otto Moerbeek
On Mon, 6 Aug 2007, btmarshall wrote: When I create a disklabel and newfs the filesystem more than a few gigs on either one of my Ultra1 sparc64 boxes, I can't mount them (mount_ffs: invalid parameter) until I run an fsck and fix the superblock. Here's an example: # disklabel -E sd0 This

Re: disklabel/newfs problem?

2007-08-07 Thread Otto Moerbeek
fsck does. -Otto Otto Moerbeek wrote: On Mon, 6 Aug 2007, btmarshall wrote: When I create a disklabel and newfs the filesystem more than a few gigs on either one of my Ultra1 sparc64 boxes, I can't mount them (mount_ffs: invalid parameter) until I run an fsck and fix

Re: chflag operation not permited

2007-08-10 Thread Otto Moerbeek
On Thu, 9 Aug 2007, Aaron P. Martinez wrote: Ted Unangst wrote: On 3/15/06, Jinxi Cheng [EMAIL PROTECTED] wrote: Hi, I'm getting operation not permited when I do this: # chflags -R schg /bin chflags: /bin/chmod: Operation not permitted chflags: /bin/md5: Operation not

Re: Top/uptime seems high

2007-08-13 Thread Otto Moerbeek
On Mon, 13 Aug 2007, Edwards, David (JTS) wrote: Hi, On a multiprocessor box, I'm seeing the following loads. Please include dmesg. top: load averages: 1.18, 1.17, 1.16 15:48:11 49 processes: 48 idle, 1 on processor CPU0 states: 2.8% user, 0.0% nice, 0.6% system, 0.0%

Re: USB drive as a tape device

2007-08-15 Thread Otto Moerbeek
On Wed, 15 Aug 2007, Edwards, David (JTS) wrote: Hi, Tape drives with a very large capacity are very expensive so I thought I'd use external USB drives instead. While modifying the backup script, I thought I'd try using the drive as a tape device instead of going to the trouble of

Re: serial console device

2007-08-22 Thread Otto Moerbeek
On Wed, 22 Aug 2007, nicodache wrote: Hello, it's me again, for an end. IT WAS THE CABLE /o\ I bought a cable in a shop, specially asking the guy there if it would fit to connect 2 pc to acces them using console control software, and he told me he used that same cable for his own lab

Re: Problems with chrooted Apache and PHP exec() function

2007-09-05 Thread Otto Moerbeek
On Wed, 5 Sep 2007, Johan L wrote: Hi, We are trying to get the PHP exec() function to work in a chrooted Apache environment (4.1-stable MP ACPI enabled, PHP 5.1.6). Even if using a static binary (for example date) in the chrooted directory, exec just returns 127. Everything works

Re: Is this a filesystem bug?

2007-09-08 Thread Otto Moerbeek
On Sat, 8 Sep 2007, Antti Harri wrote: Hello, First just plain directory with mode=700: drwx-- 43 root wheel2048 Sep 7 22:24 /backups/ Then I mount filesystem under /backups: /dev/sd0i on /backups type ffs (local, softdep) drwxr-x--- 43 root wheel

Re: FAQ on install ISO

2007-09-14 Thread Otto Moerbeek
On Fri, 14 Sep 2007, Chris wrote: I was wondering whether this - http://openbsd.org/faq/faq3.html#ISO - FAQ entry should be changed as OpenBSD now does provide ISO for base install? Not until those are actually released. -Otto

Re: partitioning

2007-09-14 Thread Otto Moerbeek
On Fri, 14 Sep 2007, Dmitrij D. Czarkoff wrote: I am just wondering, how would it become worse if I would just set three labels: /, swap and /home. What ways would it make my system worse? Ehhh, a disk has a label defining partitions. It does not have multiple labels. For an answer to your

Re: SOLVED? Re: 4.0 - 4.1 broke ipsec

2007-09-27 Thread Otto Moerbeek
On Thu, 27 Sep 2007, Brian A. Seklecki wrote: Ok, it's running now. The cause was not the move from 4.0 - 4.1, but the move from a diskful to a diskless setup: The machine mounts its root fs via nfs. WHAT?!?!?! What the heck kind of security-minded sanity check would fail based on

Re: Java 1.5 issue - lazy binding

2007-09-28 Thread Otto Moerbeek
On Fri, 28 Sep 2007, Stijn wrote: Hi, I've built Java 1.5 as explained on: http://openbsd.org/faq/faq13.html#javaplugin; After the make install I created the symbolic link to use the Java-plugin in firefox. ln -s /usr/local/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so \

Re: OpenBSD sticker considered cool by a layman

2007-09-29 Thread Otto Moerbeek
On Sat, 29 Sep 2007, Karel Kulhavy wrote: Personally, the feeling or message I am getting from these stickers is we're not sloppy, we want to do everything well, including graphics design. In marketing terms, it makes an impression that OpenBSD has a good corporate identity

Re: Ext2fs Mount Problem

2007-10-07 Thread Otto Moerbeek
On Sat, 6 Oct 2007, Steven Wagner wrote: I have an old backup drive from a Linux file server I was running. I want it to be mounted in my new openBSD, but I'm having trouble with it. I had FreeBSD on this server last and it was able to mount this ext2 fs fine after installing the e2fsprogs

Re: : Which remvable drive is connected to which USB port

2007-10-12 Thread Otto Moerbeek
On Fri, 12 Oct 2007, Raimo Niskanen wrote: On Fri, Oct 12, 2007 at 08:01:13AM +0930, Edwards, David (JTS) wrote: -Original Message- From: Nick Guenther [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 October 2007 8:01 PM To: Edwards, David (JTS) Cc: misc@openbsd.org

Re: : : Which remvable drive is connected to which USB port

2007-10-12 Thread Otto Moerbeek
On Fri, 12 Oct 2007, Raimo Niskanen wrote: On Fri, Oct 12, 2007 at 10:23:16AM +0200, Otto Moerbeek wrote: I can see an easy way to identify disks, without any dependency on the physical stuff like cables etc. Use the disklabel: it has a disk name field that can be edited. Great

Re: : Which remvable drive is connected to which USB port

2007-10-15 Thread Otto Moerbeek
On Mon, 15 Oct 2007, Edwards, David (JTS) wrote: -Original Message- From: Otto Moerbeek [mailto:[EMAIL PROTECTED] Sent: Friday, 12 October 2007 5:53 PM To: Raimo Niskanen Cc: Edwards, David (JTS); misc@openbsd.org Subject: Re: : Which remvable drive is connected to which USB

Re: ntpd error message filling logs

2007-10-19 Thread Otto Moerbeek
On Fri, 19 Oct 2007, RW wrote: I have a GENERIC 4.1 box running ntpd as a server that is now part of au.pool.ntp.org and suddenly (once the world discovered it) the logs began to fill with entries like: Oct 19 16:46:05 freya ntpd[12012]: malformed packet received from 121.216.235.111 Oct 19

Re: Odd FFS behavior

2007-10-22 Thread Otto Moerbeek
On Mon, 22 Oct 2007, Edd Barrett wrote: Hi there, I have an odd one for you here. Im trying to copy music from a hard disk(FFS) mounted on /mnt/media. I can play the music with mplayer just fine, but cp seems to refuse to believe that the files exist. Whats going on? Does your target

Re: Odd FFS behavior

2007-10-22 Thread Otto Moerbeek
On Mon, 22 Oct 2007, Edd Barrett wrote: On 22/10/2007, Otto Moerbeek [EMAIL PROTECTED] wrote: Does your target dir /mnt/usb exist? It does. I copied another album onto an SD mounted there and listened to it on the way to work today. Show a ls -la of the source dir and a stat(1) of the dir

Re: weird ppp upgrade problems

2007-10-28 Thread Otto Moerbeek
On Sun, 28 Oct 2007, Mitja Muenih wrote: I managed to narrow down this isssue significantly. My hardware setup on this box is a soekris 4801 board + a 4-port serial card by Sunix ( http://www.sunix.com.tw/it/en/Product_Detail.php?cate=2class_a_id=34sid=36 1 ), full dmesg at the end. The

Re: Hackathon 2005

2005-05-01 Thread Otto Moerbeek
On Sun, 1 May 2005, Ben Goren wrote: I did *not* say that I expected a Sendmail replacement any time soon--quite the opposite. Let me put a definite limit on this: I'd bet no more than (a modest) lunch, and only on the condition that I already happened to be in the same city when the bet

Re: High Interrupt usage on new amd 64 machine. Please help.

2005-05-23 Thread Otto Moerbeek
On Sun, 22 May 2005, Richard D wrote: pciide0 at pci0 dev 17 function 0 vendor ATI, unknown product 0x437a rev 0x00: DMA (unsupported), channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using irq 10 for native-PCI interrupt pciide0: channel 0 ignored (not

Re: Network performance

2005-05-26 Thread Otto Moerbeek
On Wed, 25 May 2005, Matt Van Mater wrote: Another similar performance issue that I saw here a while back was poor performance of OpenBSD-OpenBSD network transfers (the thread was about NFS write performance I think). When you mix up transfers between other OS's (ie free-open, open-free,

sendmail and quotas

2005-05-26 Thread Otto Moerbeek
Hi, For those of you who are not reading tech@: I've sent out a diff to make sendmail respect quotas and I'm looking for testers. Snatch the diff from a tech@ archive or contact me if you are interested in helping. -Otto

Re: Burn Testing

2005-05-26 Thread Otto Moerbeek
On Thu, 26 May 2005, Gaby vanhegan wrote: On 26 May 2005, at 13:53, Gaby vanhegan wrote: This turned out to be the simplest suggestion, and therefore wins a special prize*. What I actually did in the end was: Sorry for replying to my own post, but it seems related. These systems,

Re: very weird random numbers with jot on macppc

2005-05-31 Thread Otto Moerbeek
On Fri, 27 May 2005, Otto Moerbeek wrote: Ik can reproduce this on my G3 iBook, but not on my Mac mini. It turns out that x becomes suddenly 0 after some iterations of this loop: for (i = 1; i = reps || infinity; i++) { double v

Re: Problems with CPU/ARCH specific compilation!?

2005-06-01 Thread Otto Moerbeek
On Wed, 1 Jun 2005, Markus Kolb wrote: Otto Moerbeek wrote on Wed, Jun 01, 2005 at 08:10:42 +0200: On Tue, 31 May 2005, Markus Kolb wrote: And maybe you should return from anarchy to democracy a little bit. If have no idea what political term fits best, but OpenBSD

Re: very weird random numbers with jot on macppc

2005-06-02 Thread Otto Moerbeek
On Thu, 2 Jun 2005, Eric Faurot wrote: On 5/31/05, Otto Moerbeek [EMAIL PROTECTED] wrote: Well, after some really deep digging, this commit by Dale Rahn fixes the problem. http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/powerpc/powerpc/trap.c.diff?r1=1.67r2=1.68f=h Thanks

Re: very weird random numbers with jot on macppc

2005-06-02 Thread Otto Moerbeek
On Thu, 2 Jun 2005, Matthias Kilian wrote: On Thu, Jun 02, 2005 at 10:08:25PM +0200, Otto Moerbeek wrote: Why we did not spot this earlier, I do not know. My guess is that not a lot of programs use floating point for a long time where the values are stored in registers and not loaded from

Re: Doble mounted /var using mfs

2005-06-03 Thread Otto Moerbeek
On Fri, 3 Jun 2005, Andy Jack wrote: On Fri, Jun 03, 2005 at 06:52:24PM +0200, Sch?berle D?niel wrote: Hi all, I'm runnig 3.7-release on i386 with a 512MB CF card acting as wd0 and I'm having a strange problem with mfs mounted /var. It gets mounted twice, while I have only one mfs /var

Re: NFS sometime stalls

2005-06-14 Thread Otto Moerbeek
On Mon, 13 Jun 2005, Federico Giannici wrote: I have an MX mail server that receives email messages and saves them to an email storage server via NFS. Both pc are OpenBSD i386, version 3.7 for the NFS client (MX server) and 3.4 for the NFS server (the storage server). From time to time

Re: Snapshot from 03/June : spamd working ?

2005-06-17 Thread Otto Moerbeek
On Fri, 17 Jun 2005, Brian McKerr wrote: I also have the relevant pf rule in place; [firewall]# pfctl -vsn rdr inet proto tcp from spamd to any port = smtp - 127.0.0.1 port 8025 [ Evaluations: 104628Packets: 0 Bytes: 0 States: 0 ] [ Inserted: uid 0 pid 25445 ] i'm

  1   2   3   4   5   6   7   8   9   10   >