Re: Install on Multiple Disks

2005-06-22 Thread Otto Moerbeek
On Wed, 22 Jun 2005, L. V. Lammert wrote: At 02:04 PM 6/22/2005 -0500, Gabe Johanns wrote: Hello, I have been running BSD on a desktop machine for 3 months and I would like to install OpenBSD on my test server. My test box is a P500 with 128MB of RAM and three disk drives. I

Re: difference between newfs and newfs -m 1 on a 250G hd?

2005-06-26 Thread Otto Moerbeek
On Sun, 26 Jun 2005, Ted Unangst wrote: On Sat, 25 Jun 2005, bofh wrote: I tried a newfs -m 1 /dev/wd3a. After newfs is over, wd3a is not mountable. fsck can't find any usable superblock. However, when I did a newfs /dev/wd3a, the resulting partition checks out fine (fsck is ok with it)

Re: SH programming

2005-06-27 Thread Otto Moerbeek
On Sun, 26 Jun 2005, Peter Bako wrote: Ok, so this is not really an OpenBSD question but I am doing this on an OpenBSD system and I am about to lose my mind... I have done some basic shell scripting before but I've not had to deal with actual integer math before and now it is killing me.

Re: difference between newfs and newfs -m 1 on a 250G hd?

2005-06-27 Thread Otto Moerbeek
On Sun, 26 Jun 2005, bofh wrote: On 6/26/05, Otto Moerbeek [EMAIL PROTECTED] wrote: On Sun, 26 Jun 2005, Ted Unangst wrote: you changed a default and found a bug. less than 1% of users ever use -m. there's really no good reason to use -m 1, and several reasons

Call for disk donations (was Re: difference between newfs and newfs -m 1 on a 250G hd?)

2005-06-27 Thread Otto Moerbeek
On Mon, 27 Jun 2005, Otto Moerbeek wrote: Try to reproduce the problem after having run fdisk (if it is applicable, still don't know your platform, arghhh), disklabel and newfs. If you can still reproduce the problem, I'll put this on my TODO list, but not very high. OK, you got me curious

Re: SH programming

2005-06-27 Thread Otto Moerbeek
is obviously needed to avoid them being interpreted by the shell. That is standard shell programming stuff. And please do not toppost. -Otto -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Otto Moerbeek Sent: Monday, June 27, 2005 2:08

Re: Getting X11 to start on a Mac Mini (?)

2005-06-27 Thread Otto Moerbeek
On Mon, 27 Jun 2005, Chandler May wrote: Hi, I recently set up OpenBSD 3.7 for the first time on a new Mac Mini, and I haven't been able to get X11 up and running on it. I installed X11 during the initial operating system install, and have not installed anything X11-related since. I'm a

Re: Interrupting df

2005-06-29 Thread Otto Moerbeek
On Tue, 28 Jun 2005, Stephan Wehner wrote: I'm running df and it just hangs. ^C doesn't interrupt it. ^Z doesn't interrupt it. My guess is that some filesystem is not responding; still I should be able to get my console back, shouldn't I? Is this the BSD way? (My other linux machine

Re: SCSI and disk geometry

2005-06-29 Thread Otto Moerbeek
On Wed, 29 Jun 2005, [iso-8859-15] Josi M. [iso-8859-15] Fandiqo wrote: Hello, I'm trying to install OpenBSD in three servers with identical hardware and I was able to install it in two of them but not in the third. Each server detects a diferent geometry for the SCSI disks :-?

Re: SCSI and disk geometry

2005-06-29 Thread Otto Moerbeek
On Wed, 29 Jun 2005, Otto Moerbeek wrote: On Wed, 29 Jun 2005, [iso-8859-15] Josi M. [iso-8859-15] Fandiqo wrote: Hello, I'm trying to install OpenBSD in three servers with identical hardware and I was able to install it in two of them but not in the third. Each server detects

Re: sleep patterns...

2005-07-04 Thread Otto Moerbeek
On Mon, 4 Jul 2005, Thanos Tsouanas wrote: On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote: Oops! Accidently emptied half the contents of src.tar.gz into /usr/bin while undergoing an install under the intoxication of sleep. What's the most efficient way of rectifying this?

Re: Call for disk donations (was Re: difference between newfs and newfs -m 1 on a 250G hd?)

2005-07-04 Thread Otto Moerbeek
On Mon, 27 Jun 2005, Otto Moerbeek wrote: My work to fix the userland disk utilities (fdisk, disklabel, newfs) to work properly on large file systems always has been handicapped because I do not have very large disks. I think I managed to make all legal block and fragment size combinations

Re: Semi-OT: Problems getting find to not recurse

2005-07-06 Thread Otto Moerbeek
On Wed, 6 Jul 2005, C. Bensend wrote: Hey folks, OK, I think I've got the dunce hat on today, and I'm about to go crazy with this one. I have a script on an OpenBSD 3.7-STABLE machine that does a find in a directory, and uses rm to remove files older than two days (where RETAIN =

Re: Background developer knowledge

2005-07-06 Thread Otto Moerbeek
On Wed, 6 Jul 2005, Edd Barrett wrote: Hi, One of my friends has always said that you can not read the source without context. He is right. If you don't know what your looking for, it will not make any sense. This proves a problem if you have nothing to fix and just wish to learn. Would

Re: Semi-OT: Problems getting find to not recurse

2005-07-06 Thread Otto Moerbeek
On Wed, 6 Jul 2005, Matthias Kilian wrote: On Wed, Jul 06, 2005 at 02:33:30PM -0500, C. Bensend wrote: find /path/to/dir -name .ssh -type d -prune -or \ -type f -name \*.gz -mtime ${RETAIN} -exec rm {} \; Thank you very much, Otto. That works just fine. It's greatly appreciated!

Re: Some questions related to shell scripts

2005-07-14 Thread Otto Moerbeek
On Thu, 14 Jul 2005, Dave Anderson wrote: It also, at least under OpenBSD, has the serious problem that $$ isn't the PID of the shell running the script but rather the PID of the original shell (whatever exactly that means; some testing suggests that it's the last process on the PPID chain

Re: restore: Tape block size problem?

2005-07-27 Thread Otto Moerbeek
On Wed, 27 Jul 2005, Daniel Hamlin wrote: I am attempting to perform and verify a backup on a server, per the instructions in the FAQ, but am getting this error: restore: Tape block size (32758) is not a multiple of dump block size (1024) Is there something I'm doing wrong or is this a

Re: network adapter order

2005-08-01 Thread Otto Moerbeek
On Mon, 1 Aug 2005, Michiel van der Kraats wrote: Hi, Is it possible to change the order in which the kernel detects and names network interfaces? I have a system which has one fxp onboard and one fxp as a PCI card. With the PCI card, the onboard NIC is named fxp1 and the PCI card fxp0.

Re: Shell scripting problem -- help, please!

2005-08-03 Thread Otto Moerbeek
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, but it doesn't seem to match at all when used in this script

Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-15 Thread Otto Moerbeek
On Tue, 15 Nov 2005, Johan wrote: Personally I'd like to see a log message like this: Tue Nov 15 20:31:33 NTPD clock is 60.000356s off, adjusting by 0.0128s I actually like this one... makes sense and is still very short and concise This adujsting by information is not available to

Re: Code comprehension

2005-11-16 Thread Otto Moerbeek
On Wed, 16 Nov 2005, Bruno Carnazzi wrote: Hi All, I'm a junior system administrator, working on free operating system such as Linux and recently OpenBSD. I really enjoy OpenBSD for its simplicity, concisness and security. I've got a small experience of C programming, from my studies.

Re: slightly OT: TCP checksum and RFC conformity

2005-11-17 Thread Otto Moerbeek
On Thu, 17 Nov 2005, Andreas Bartelt wrote: Hi, Tobias Weingartner wrote: On Thursday, November 17, Andreas Bartelt wrote: As much better algorithms for error detection are known and PC performance (and also Internet traffic) has increased a lot since the introduction of TCP -

Re: tools in openbsd

2005-11-17 Thread Otto Moerbeek
On Fri, 18 Nov 2005, Gustavo Rios wrote: Dear folks, I have been around with a doubt in my mind. While i see many good tools in the net, i could not figure it out why they cannot be come default in openbsd dist. For instance, i am very confortable with tools like qmail and djbdns. I ask

Re: remote su root: SORRY

2005-11-21 Thread Otto Moerbeek
On Mon, 21 Nov 2005, Lars Hansson wrote: On Mon, 21 Nov 2005 14:02:17 +1100 Paul Yiu [EMAIL PROTECTED] wrote: /etc/passwd pyiu:*:1002:10:P Yiu:/home/pyiu:/usr/local/bin/bash /etc/group wheel:*:0:root,pyiu 10 != 0 Indeed, but what does that have to do with the problem? You do not

Re: Copying disk partitions

2005-11-22 Thread Otto Moerbeek
On Mon, 21 Nov 2005, Nick Holland wrote: PS I also don't understand why the first 16*512 bytes are skipped when using dd? I was really hoping someone else would answer this, I'm not completely sure about my answer...I think that's where the PBR and the disklabel hides. Actually, I

Re: remote su root: SORRY

2005-11-23 Thread Otto Moerbeek
On Wed, 23 Nov 2005, Paul Yiu wrote: Hi Otto, I would like to see the output of userinfo pyiu. Added to that, the output of getcap -f /etc/login.conf class, where class is the login class of teh user, as reported by userinfo. login pyiu passwd WhatEverWasHere uid 1002 groups

Re: bioctl Device Support

2005-11-23 Thread Otto Moerbeek
On Wed, 23 Nov 2005, Gaby vanhegan wrote: HI, I've just upgraded to 3.8, hoping that ami/bioctl would support my RAID card, which it doesn't: ami0 at pci1 dev 14 function 1 Intel 80960RP ATU rev 0x02: irq 14 Dell 467/32b ami0: FW 1.06, BIOS v1p00, 128MB RAM ami0: 2 channels, 16

Re: bioctl Device Support

2005-11-23 Thread Otto Moerbeek
On Wed, 23 Nov 2005, Gaby vanhegan wrote: On 23 Nov 2005, at 20:10, Gaby vanhegan wrote: I figured that it would be supported: # bioctl ami0 bioctl: BIOCINQ: Operation not supported by device # bioctl -Dv ami0 bioctl: cookie = 0xd0f51e90 bio_inq bioctl: BIOCINQ: Operation not

Re: Theorical question on dual core vs single CPU in routing setup.

2005-11-26 Thread Otto Moerbeek
On Sat, 26 Nov 2005, Daniel Ouellet wrote: Here a question I found interesting for my own education, and I am trying to come to peace with as far as applications usage with dual core, or multi-processor vs single one. I was asking myself if I would actually benefit from a dual core

Re: Updated CCD Mirroring HOWTO

2005-11-26 Thread Otto Moerbeek
On Sat, 26 Nov 2005, Robbert Haarman wrote: The reason I wrote the HOWTO is that, in my opinion of course, the manpages don't make it clear how to set things up. Searching the archives for more information came up with some contradictory messages, and some instances of people being misled

Re: Theorical question on dual core vs single CPU in routing setup.

2005-11-28 Thread Otto Moerbeek
On Sun, 27 Nov 2005, Daniel Ouellet wrote: Henning Brauer wrote: * Daniel Ouellet [EMAIL PROTECTED] [2005-11-26 08:57]: Looking at the code of bgpd/ospfs, I don't see it design as using multiple treads ( doesn't mean I understand it fully either) so it wouldn't benefit from a dual

Re: openbsd web site design proposals (from HOTO write bad docs)

2005-11-28 Thread Otto Moerbeek
On Mon, 28 Nov 2005, J.C. Roberts wrote: On Mon, 28 Nov 2005 10:29:43 -0500, Jeremy David [EMAIL PROTECTED] wrote: There are 5 errors on the main page alone. That means that no matter how useful the content on the website is, the code breaks down for a lot of people. Standards are

Re: Frequency of 3.8 Malloc Options Check

2005-11-29 Thread Otto Moerbeek
On Tue, 29 Nov 2005, Dave Feustel wrote: On Tuesday 29 November 2005 19:19, Todd C. Miller wrote: Note that you can also set the malloc options from within a program you are developing. I've found this to be quite useful for adding a belt and suspenders mode during developement (the use

Re: Interesting ps -ax listing

2005-11-30 Thread Otto Moerbeek
On Wed, 30 Nov 2005, Dave Feustel wrote: While running kde 3.4.2 on OpenBSD 3.8, upon logging out from my normal user id and then logging back in with a new user id and executing ps -ax, I found an instance of kde kicker running before I had invoked startkde as the new user. I was not able

Re: USB stuff (was Re: theo)

2005-12-02 Thread Otto Moerbeek
On Fri, 2 Dec 2005, Shawn K. Quinn wrote: On Thu, 2005-12-01 at 22:51 -0600, [EMAIL PROTECTED] wrote: Considering the goals of OpenBSD, I would not expect USB rodents, sound cards or even video to be necessarily well supported. The reality is that USB gear is becoming much, much more

Re: find a file greater than X MB's

2005-12-02 Thread Otto Moerbeek
On Fri, 2 Dec 2005, Bob DeBolt wrote: Greets I have had an issue with a hard drive filling up in a very short time after upgrading a software package. Although I resolved the issue and all is well now, I spent more time than I should have looking for files greater than a certain size.

Re: 3.8 userland build fails on amd64 and sparc64

2005-12-05 Thread Otto Moerbeek
On Mon, 5 Dec 2005, Dag Richards wrote: After extracting sources from the cd, checking out current, building installing and booting from the new kernel, make build fails. The error message indicates that xargs is being called with an unsupported argument, -r as I recall. If I then just

Re: gethostbyname in 3.8 returns error -1

2005-12-06 Thread Otto Moerbeek
On Tue, 6 Dec 2005, Federico Giannici wrote: Since I upgraded an OpenBSD/amd64 3.7 to 3.8 (following instructions in the Upgrade Guide) sometimes gethostbyname() returns NULL with h_errno equal to -1 (Resolver internal error). What is the value of errno? The program (OpenSER 1.0.0) had no

Re: NFS and Rebooting problem

2005-12-07 Thread Otto Moerbeek
On Wed, 7 Dec 2005, Denny White wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was hoping someone could shed some light with some good links, sample configurations, etc., that might help me with the following. Not looking for someone to fix it for me or anything like that. Maybe

Re: gethostbyname in 3.8 returns error -1

2005-12-07 Thread Otto Moerbeek
On Wed, 7 Dec 2005, Ted Unangst wrote: On 12/7/05, Federico Giannici [EMAIL PROTECTED] wrote: May it be relevant that the program is run chrootted??? I'm going to make some tests, as soon as I have the time... Got it! I simply copied /etc/resolv.conf to the chrootted path and the

Re: I dump'd my restore drive (request for confirmation)

2005-12-07 Thread Otto Moerbeek
On Wed, 7 Dec 2005, Whyzzi wrote: Well, I accidentally disklabeled it. I was playing with ccd recently and stupidly began ccd type recovery on a dump copy hard drive by entering disklabel and changing the unused wd2a partition into a 4.2BSD partition, offset of course by 63, writing to the

Re: OpenNTPD does not 'pull-in' wrong time

2005-12-13 Thread Otto Moerbeek
On Tue, 13 Dec 2005, Uwe Dippel wrote: On Mon, 12 Dec 2005 22:30:07 -0500, Nick Holland wrote: 1) set time properly, using rdate or ntpd -s. Done 2) now how does it do? Drifting off: Dec 13 12:49:00 cip ntpd[26647]: ntp engine ready Dec 13 12:49:22 cip ntpd[26647]: peer

Re: login.conf - chpass - _mysql

2005-12-15 Thread Otto Moerbeek
On Fri, 16 Dec 2005, Uwe Dippel wrote: Just another curiosity: The archive is full of suggestions to combat the dreaded MySQL Error No.9 with a specific login class (and others); usually suggested to be 'mysql' in login.conf. Now, for reasons of pure logic and beauty, I call it _mysql.

Re: login.conf - chpass - _mysql

2005-12-16 Thread Otto Moerbeek
On Fri, 16 Dec 2005, Uwe Dippel wrote: On Thu, 15 Dec 2005 18:07:52 +0100, Otto Moerbeek wrote: Please report exact command lines and error messages. chpass _mysql [change daemon into mysql or _mysql]; :wq chpass: illegal character in the class field re-edit the password file? [y]: I

Re: A Little Tip for OpenBSD Users of KDE

2005-12-27 Thread Otto Moerbeek
On Tue, 27 Dec 2005, Dave Feustel wrote: by KDE are root-owned and world rw. There is also a problem with the socket /tmp/.X11-unix/X0. This is documented on the web and even in an OpenBSD presentation on XFree86 from about 2002. Dunno about KDE but can you elaborate or give refs why having a

Re: A Little Tip for OpenBSD Users of KDE

2005-12-27 Thread Otto Moerbeek
On Tue, 27 Dec 2005, Dave Feustel wrote: On Tuesday 27 December 2005 11:05, Otto Moerbeek wrote: On Tue, 27 Dec 2005, Dave Feustel wrote: by KDE are root-owned and world rw. There is also a problem with the socket /tmp/.X11-unix/X0. This is documented on the web and even

Re: A Little Tip for OpenBSD Users of KDE

2005-12-27 Thread Otto Moerbeek
On Tue, 27 Dec 2005, Ted Unangst wrote: On 12/27/05, Otto Moerbeek [EMAIL PROTECTED] wrote: On Tue, 27 Dec 2005, Dave Feustel wrote: by KDE are root-owned and world rw. There is also a problem with the socket /tmp/.X11-unix/X0. This is documented on the web and even in an OpenBSD

Re: now, some issues that are OBSD front and center

2005-12-27 Thread Otto Moerbeek
On Tue, 27 Dec 2005, Julesg wrote: So I spent yesterday putting up a nice OpenBSD box; Lot's of space, very fast -- and first thing today I discovered that EGCS does not equal GCC. I'd like to know what's involved in removing EGCS and installing GCC? And if you aren't a compiler person,

Re: Blowfish still good enough?

2005-12-29 Thread Otto Moerbeek
On Fri, 30 Dec 2005, Travers Buda wrote: On Friday 30 December 2005 00:08, Damien Miller wrote: On Thu, 29 Dec 2005, Travers Buda wrote: The key schedule in both is _much_ faster than Blowfish. That is not a feature, at least not in the contexts where we use blowfish most. Yes, I

Re: UDF - where are we ?

2005-12-30 Thread Otto Moerbeek
On Fri, 30 Dec 2005, Uwe Dippel wrote: Tried the last hours to debug a growisofs problem; which finally turned out to be a UDF problem; after I found http://groups.google.com.my/group/mailing.openbsd.bugs/browse_frm/thread/cc83628ed178e43c/433bf632f7ad2f55?tvc=1#433bf632f7ad2f55 growisofs

Re: Current installed on 1.1: Problems using svnd?

2006-01-01 Thread Otto Moerbeek
On Mon, 2 Jan 2006, [EMAIL PROTECTED] wrote: Hello everybody, I installed oBSD current for AMD64 on 1.1.2006, created a encrypted partition for /home and ran into some trouble. The permissions for /home or /tmp didn't changed: drwxr-xr-x 6 root wheel 512 Jan 2 07:59 tmp

Re: tar(1) File is too long for ustar

2006-01-02 Thread Otto Moerbeek
On Mon, 2 Jan 2006, Nuno Morgadinho wrote: How to use tar(1) to compress ridiculous large files? #tar cvfz /dev/rst0 /fitabackup /fitabackup/server1.tgz /fitabackup/server3.tgz * tar: File is too long for ustar /fitabackup/server3.tgz * server3.tgz has 10.0Gb. I must be stupid or this

Re: tar(1) File is too long for ustar

2006-01-02 Thread Otto Moerbeek
On Mon, 2 Jan 2006, Matthias Kilian wrote: On Mon, Jan 02, 2006 at 08:44:02PM +0100, Otto Moerbeek wrote: * tar: File is too long for ustar /fitabackup/server3.tgz * [...] server3.tgz has 10.0Gb. I must be stupid or this error message is not generated by tar. Please provide

Re: tar(1) File is too long for ustar

2006-01-02 Thread Otto Moerbeek
On Mon, 2 Jan 2006, Matthias Kilian wrote: On Mon, Jan 02, 2006 at 10:05:21PM +0100, Otto Moerbeek wrote: If I don't misinterpret the code, the problem is that the size for a 10GB file needs 12 octal digits, which doen't fit 0-terminated into hd-size. Wonder if hd-size should be 0

Re: NFS-Question (nfs-server timeouts..?)

2006-01-03 Thread Otto Moerbeek
On Tue, 3 Jan 2006, Sebastian Rother wrote: Hi everybody, I've a question related to NFS. I#ve 2 PCs at home. One is a Server (NFS) running 3.8 and the other is my workstation running current. Server provides a NFS-Share. Let's call it /nfs Workstation mounts the NFS-Share into

Re: vnconfig strange behaviour (or my mistake?)

2006-01-03 Thread Otto Moerbeek
On Wed, 4 Jan 2006, Vladas Urbonas wrote: Hi all, sorry for bothering. My problem is as follows: 0. 3.8 GENERIC 1. I am creating 1.5Gb all-zeroes file with dd 2. vnconfig -ck /dev/svnd0c file.img 3. fdisk -e /dev/rsvnd0c use fdisk -i svnd0, much easier. 4. dislabel -E /dev/rsvnd0c

Re: stupid sata raid question

2006-01-03 Thread Otto Moerbeek
On Tue, 3 Jan 2006, Bryan Irvine wrote: Is there a good/cheap SATA RAID card that doesn't use that retarded soft RAID? In other words, will this card present itself to OBSD at install as a single disk? http://www.lsilogic.com/products/megaraid/sata_150_4.html yes, -Otto

Re: DadOS - sys shutdown with XDM

2006-01-03 Thread Otto Moerbeek
On Tue, 3 Jan 2006, Dave Feustel wrote: On Tuesday 03 January 2006 17:11, J.C. Roberts wrote: The rule of thumb for granting privileges is simple; avoid granting permissions whenever possible. Check the ownership/privileges on /tmp/.X11-unix/X0 after you start kde or Xorg. Come on,

Re: DadOS - sys shutdown with XDM

2006-01-03 Thread Otto Moerbeek
On Tue, 3 Jan 2006, Dave Feustel wrote: On Tuesday 03 January 2006 17:50, Otto Moerbeek wrote: On Tue, 3 Jan 2006, Dave Feustel wrote: On Tuesday 03 January 2006 17:11, J.C. Roberts wrote: The rule of thumb for granting privileges is simple; avoid granting permissions

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Otto Moerbeek
On Thu, 5 Jan 2006, veins wrote: I'm having trouble making snprintf return -1. I've tried stuff like: len = snprintf(str, 0, %.-Z\n, 9); printf(%d, len); but that just prints `2'. Does snprintf ever return -1? -Ray- you might want to take a look at how vfprintf()

Re: MAXNAMLEN, NAME_MAX, FILENAME_MAX Plus One or Not?

2006-01-06 Thread Otto Moerbeek
On Fri, 6 Jan 2006, Ray Lai wrote: What are the proper uses of MAXNAMLEN, NAME_MAX, and FILENAME_MAX? Do they represent filenames with or without paths? Do they include the terminating null or not? The source seems inconsistent: Posix says: {NAME_MAX} Maximum number of bytes in a filename

Re: NIS Problems

2006-01-07 Thread Otto Moerbeek
On Sat, 7 Jan 2006, Lachlan Gunn wrote: Hi, I'm setting up NIS for my home network using OpenBSD on the server-side. However, when I try to make changes (ie. to the passwords) on the client side (Gentoo Linux) it responds with an error (without any information on what that error is). Upon

Re: pf not logging to /var/log/pflog...

2006-01-09 Thread Otto Moerbeek
On Mon, 9 Jan 2006, poncenby smythe wrote: On 9 Jan 2006, at 10:43, Olivier Mehani wrote: On Sun, Jan 08, 2006 at 10:51:12PM +, poncenby smythe wrote: I am running 3.8 GENERIC on i386 and can't figure out why pf isn't logging the packets I've told it to, here is a snippet from

Re: pf not logging to /var/log/pflog...

2006-01-09 Thread Otto Moerbeek
On Mon, 9 Jan 2006, poncenby smythe wrote: On 9 Jan 2006, at 19:37, Otto Moerbeek wrote: On Mon, 9 Jan 2006, poncenby smythe wrote: On 9 Jan 2006, at 10:43, Olivier Mehani wrote: On Sun, Jan 08, 2006 at 10:51:12PM +, poncenby smythe wrote: I am running 3.8 GENERIC

Re: pf not logging to /var/log/pflog...

2006-01-10 Thread Otto Moerbeek
On Mon, 9 Jan 2006, Olivier Mehani wrote: On Mon, Jan 09, 2006 at 08:37:04PM +0100, Otto Moerbeek wrote: adsl: ! sh -c /sbin/ifconfig pflog0 up As far as I remember, it's not necessary to ifconfig pflog0 up to use it. Why enable pf only when the link is up? It's non-standard

Re: df -h stats for same file systems display different result son AMD64 then on i386

2006-01-15 Thread Otto Moerbeek
On Sun, 15 Jan 2006, Daniel Ouellet wrote: [snip lots of talk by a confused person] 16 partitions: # sizeoffset fstype [fsize bsize cpg] a:52409763 4.2BSD 2048 16384 328 # Cyl 0*- 519 b: 8388576524160swap

Re: df -h stats for same file systems display different result son AMD64 then on i386

2006-01-16 Thread Otto Moerbeek
On Sun, 15 Jan 2006, Daniel Ouellet wrote: Otto Moerbeek wrote: On Sun, 15 Jan 2006, Daniel Ouellet wrote: Since the bsize and fsize differ, it is expected that the used kbytes of the file systems differ. Also, the inode table size will not be the same. Not sure that I would agree

Re: df -h stats for same file systems display different result son AMD64 then on i386

2006-01-16 Thread Otto Moerbeek
On Mon, 16 Jan 2006, Daniel Ouellet wrote: Just a bit more information on this. As I couldn't understand if that was an AMD64 issue as illogical as that might be, I decided to put that to the test. So, I pull out an other AMD64 server and it's running 3.8, same fsize and bsize, one drive,

Re: df -h stats for same file systems display different result son AMD64 then on i386 (Source solved)

2006-01-17 Thread Otto Moerbeek
On Tue, 17 Jan 2006, Daniel Ouellet wrote: OK, Here is the source of the problem. The cache file generated by webazolver is the source of the problem. Based on the information of the software webalizer, as this: Cached DNS addresses have a TTL (time to live) of 3 days. This may be

Re: df -h stats for same file systems display different result son AMD64 then on i386 (Source solved)

2006-01-17 Thread Otto Moerbeek
On Tue, 17 Jan 2006, Joachim Schipper wrote: On Tue, Jan 17, 2006 at 02:15:57PM +0100, Otto Moerbeek wrote: You are wrong in thinking sparse files are a problem. Having sparse files quite a nifty feature, I would say. Are we talking about webazolver or OpenBSD? I'd argue that relying

Re: NIS/NFS server and MFS

2006-01-22 Thread Otto Moerbeek
On Sun, 22 Jan 2006, Jose Fragoso wrote: Hi, I was given the task to setup an OpenBSD NFS server. The machine allocated for the task is fairly well served with RAM memory (2G). I though of using MFS for the /tmp filesystem, but I don't know: Wrap your lines! 1. How much space would I

Re: view available inodes on partition

2006-01-25 Thread Otto Moerbeek
On Wed, 25 Jan 2006, Matthew Closson wrote: Hello, Is there a way to view how many inodes are still available on a partition. I'm decompressing a ton of small files onto a 60Gb onto my /dev/wd1a. And I'm not really concerned about running out of space, but possibly out of inodes, I just

Re: MS Security VP Mike Nash remarks on MS vs OpenBSD security.

2006-01-27 Thread Otto Moerbeek
On Thu, 26 Jan 2006, Rob W wrote: http://www.securityfocus.com/bid/16375 is minor but important enough to report? A way to remotly crash a OpenBSD box is minor? If the number of systems affected is low, the answer may be yes. This problem only exists if you enable specific scrubbing options

Re: Strange behaviour of ``ifconfig -alias''

2006-01-27 Thread Otto Moerbeek
On Fri, 27 Jan 2006, Alexander Hall wrote: Hi! I just noticed (the hard way) a strange behaviour of ifconfig. In short, if I supply a netmask when removing an alias with ``-alias address'', it is not, as one would expect, ignored, but rather used as the netmask for the primary address of

Re: Intel 82801 SMBus dmesg question

2006-01-27 Thread Otto Moerbeek
On Fri, 27 Jan 2006, Denny White wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Had originally posted a message Tuning NFS File Transfer Speed and had eventually posted a Solved reply to it on the list. That turned out to be erroneous. It did turn out to be a hardware issue. Had

Re: fsck fixes in daily output

2006-02-03 Thread Otto Moerbeek
On Fri, 3 Feb 2006, Jeff Quast wrote: Below is a forward of the daily output I receive. I do have it configured to backup my root partition on the same disk, and I am aware how silly that is. This was done to see how it behaves for a future install where the root FS will be backed up on a

Re: data sctructures

2006-02-08 Thread Otto Moerbeek
On Wed, 8 Feb 2006, Gustavo Rios wrote: 2006/2/8, Otto Moerbeek [EMAIL PROTECTED]: On Wed, 8 Feb 2006, Gustavo Rios wrote: i saw openbsd uses red-black trees inside. I could not figure it out a motivation for not using AVL, SPL or even something based on http://user.it.uu.se

Re: data sctructures

2006-02-08 Thread Otto Moerbeek
On Wed, 8 Feb 2006, Gustavo Rios wrote: Don't get me wrong, i am very confident with openbsd. Although i am very confident using the openbsd native support for my needs, all of them have some thing i dislike. First: i would really enjoy worst case O(log2 n), none of the method i know so

Re: dynamically linked suid binaries - Request for enlightment

2006-02-10 Thread Otto Moerbeek
On Fri, 10 Feb 2006, Tilo Stritzky wrote: Hi list, while doing some reading on secure software development (//www.ranum.com/security/computer_security/archives/security-for-developers.pdf) I came across the advice always link your priviliged binaries statically. However a quick check

Re: Sudo

2006-02-11 Thread Otto Moerbeek
On Sat, 11 Feb 2006, Dave Feustel wrote: I don't know whether this is or would be considered as a bug, or whether it is generally known, but sudo, when successfully invoked with a password in one shell, becomes active in all shells of that user for the timed duration. This is pathetic.

Re: Sudo

2006-02-11 Thread Otto Moerbeek
On Sat, 11 Feb 2006, Dave Feustel wrote: On Saturday 11 February 2006 11:04, [EMAIL PROTECTED] wrote: man sudo for starters. (actually that's quite enough even for a noob like me) (even a very out of date linux is enough) sheesh Actually --with-tickets is not mentioned in sudo. (I

Re: Proper way to set login.conf control for application started as root and soon drop privileges

2006-02-13 Thread Otto Moerbeek
On Mon, 13 Feb 2006, Daniel Ouellet wrote: I was trying to control some applications that start as root and soon after are drop privileges to their own user, but looks like I am not very successful. To see if it was possible to do so, I tested with httpd for example, but searching on marc,

Re: PF or BPF

2006-02-13 Thread Otto Moerbeek
On Mon, 13 Feb 2006, Ted Unangst wrote: On 2/13/06, Dave Feustel [EMAIL PROTECTED] wrote: What OpenBSD programs use bpf. tcpdump. And there's more: $ cd /usr/src $ grep -lr bpf.h bin sbin usr.bin usr.sbin libexec will give you a nice list. -Otto

Re: xargs PF or BPF

2006-02-14 Thread Otto Moerbeek
On Tue, 14 Feb 2006, Michael Schmidt wrote: Matthias Kilian wrote: And watch out for silly file names containing whitespace. BTW: if this is a contest on creative use of find(1) and other standard tools: $ find . -type f | sed '[EMAIL PROTECTED]@grep -l -- foo @' | sh Yes,

Re: State of Rthreads in OpenBSD 3.9

2006-02-14 Thread Otto Moerbeek
On Tue, 14 Feb 2006, [EMAIL PROTECTED] wrote: Is the new Rthreads library functional enought 3.9 that it can be used for 'experimental' purposes? Has there been anything documented yet as to it's used? The moment it was committed it has been allright for experimenting, just do not expect all

Re: xargs PF or BPF

2006-02-14 Thread Otto Moerbeek
On Tue, 14 Feb 2006, Ray Lai wrote: On Tue, Feb 14, 2006 at 11:39:45AM +0100, Otto Moerbeek wrote: On Tue, 14 Feb 2006, Michael Schmidt wrote: Matthias Kilian wrote: And watch out for silly file names containing whitespace. BTW: if this is a contest on creative use

Re: Could someone, running latest snapshots confirm this problem

2006-02-14 Thread Otto Moerbeek
On Tue, 14 Feb 2006, Didier Wiroth wrote: Hi, I'm running current (built yesterday) on another i386 laptop with an Xorg 6.9 build (from 19 January) where the maps fr_CH, de_CH etc all work without problem. There must have been some related keyboard map file changes since that day in the

Re: PF or BPF

2006-02-14 Thread Otto Moerbeek
On Tue, 14 Feb 2006, Diana Eichert wrote: I was thinking there should have been something in the commit message about Dave contributing to this fix. The entire xargs discussion wouldn't have occurred if I hadn't used find in my reply to Dave regarding PF or BPF.

Re: PF or BPF

2006-02-14 Thread Otto Moerbeek
On Tue, 14 Feb 2006, Tony Sterrett wrote: I'm not sure I'd do it in that way. I'm thinking if BPF provided stateful inspection is would be more useful. Asking for stateful inspection in bpf(4) is like wanting a carburettor for a pushbike. You might be able to shoehorn it in there,

Re: SIZE vs. RES in top(1) output

2006-02-14 Thread Otto Moerbeek
On Wed, 15 Feb 2006, Paul de Weerd wrote: All, I'm a bit confused on the difference between SIZE and RES in the output of top(1) (the same goes for VSZ vs RSS in ps(1) output). The manpage says : SIZE The total size of the process (the text, data, and stack segments). RES

Re: df reports capacity 100%

2007-03-22 Thread Otto Moerbeek
On Thu, 22 Mar 2007, Stephan A. Rickauer wrote: Our Soekris (4.0-stable) NFS mounts a remote share: # df -h /projects FilesystemSizeUsed Avail Capacity Mounted on linsrv01:/projects410G2.0T 417G 498% /projects # grep projects /etc/fstab

Re: Saving memory on small machines

2007-03-22 Thread Otto Moerbeek
On Thu, 22 Mar 2007, Kamil Monticolo wrote: The OpenBSD kernel is a bit over 5MB. I assume that gets loaded into memory and is not swappable, giving me 43MB left, which isn't a lot. You can turn off ipv6, altq if not needed, and of course lots of hardware that you don't need also. For

Re: ntpd can no longer cope with the clock drift

2007-03-24 Thread Otto Moerbeek
On Sat, 24 Mar 2007, viq wrote: I have a rather old x86 box, running a 600 MHz Duron. It does have problems keeping the clock in sync, so one of the first things I ran on it was OpenNTPd, and it was sometimes spamming the logs with the sync messages, but keeping the time beautifully. That is,

Re: OpenNTPD reliability

2007-03-26 Thread Otto Moerbeek
On Mon, 26 Mar 2007, Luca Corti wrote: On Sun, 2007-03-25 at 14:26 -0700, Darrin Chandler wrote: Have you measured the time from ntpd startup until it logs `clock is now synced' in the log? On the same machine, I see anywhere from 10 minutes to about 1 hour. In normal cases, machines

Re: ntpd not synching

2007-03-27 Thread Otto Moerbeek
On Tue, 27 Mar 2007, [EMAIL PROTECTED] wrote: hi, i'm trying to keep my local clock synched through ntpd. i used to do that with ntpdate, but since ntpd is available in a standard install i thought i'd try that. i start ntpd at boot, with added -s to synch the clock right away. however,

Re: SCP/SFTP: Couldn't open /dev/null

2007-03-27 Thread Otto Moerbeek
On Tue, 27 Mar 2007, Joachim Schipper wrote: On Tue, Mar 27, 2007 at 08:23:17PM +0200, Tasmanian Devil wrote: Hello, list! :-) After reading this list for several monthes with dedication and after learning a lot from all of you, I've a strange problem myself now: I'm following

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Otto Moerbeek
On Wed, 28 Mar 2007, Will Maier wrote: According to cron(8), cron should be able to read commands from a properly formatted and chmoded /etc/crontab file. I've created such a file, but I can't seem to get cron to run the test command in it. # cat EOF /etc/crontab */1 *

Re: ntpd not synching

2007-03-29 Thread Otto Moerbeek
On Wed, 28 Mar 2007, [EMAIL PROTECTED] wrote: hi, On Tue, Mar 27, 2007 at 01:49:16PM +0200, Otto Moerbeek wrote: It looks like your clock drifts more that ntpd can compensate. Please share some details on your setup, like the dmesg. Also, if you remove the drift file, you must

Re: ROOTBACKUP=1 corruption problems on amd64 (OPENBSD_4_0)

2007-03-29 Thread Otto Moerbeek
On Thu, 29 Mar 2007, Didier Wiroth wrote: Hello, I'm using ROOTBACKUP=1 to have daily backups on several boxes running amd64 OPENBSD_4_0. Actually I noticed that on 1 box (the hardware is +/- 3 month old), the partition is *always* corrupted after the backup. The corruption happens every

Re: Apple hardware support?

2007-03-29 Thread Otto Moerbeek
On Thu, 29 Mar 2007, David Given wrote: Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as the Macbook? I can't imagine it would be particularly hard; there'd need to be a way of loading and running a kernel via EFI, and then tweaking the hardware detection. Work

<    1   2   3   4   5   6   7   8   9   10   >