usr.sbin/smtpd/aliases.c diif

2009-05-11 Thread Daniel Ouellet
Hi, Looking at the man page for the db get function, it return -1 on error and 1 if the key is not present and finally 0 on success. In the aliases_exist() function there is the check for the errors there yes and close of the BD regardless if errors are there or not as it needs to be close a

Re: New snapshots -> new installer

2009-05-11 Thread Jan Johansson
Theo de Raadt wrote: > > This now gives > > grep: fstab.sd0: No such file or directory > > '/' must be configured! > > > > And then I get the fdisk stage again. > > > > The grep line might be ugly but this is great. > > It isn't great; you assumed it would work a certain way and it > did not.

Re: new snapshot installer: wpa-psk: not found

2009-05-11 Thread Ingo Schwarze
Hi, frantisek holop write on Tue, May 12, 2009 at 02:50:00AM +0200: > (it might be nice that after the daily, weekly, monthly script > improvements, netstart would get a face lift as well. it is > getting somewhat out of date with all the hotspots and cable+wifi > at the same time scenarios and

Re: new snapshot installer: wpa-psk: not found

2009-05-11 Thread frantisek holop
hmm, on Mon, May 11, 2009 at 05:26:19PM -0700, Matthew Dempsky said that > On Mon, May 11, 2009 at 5:07 PM, frantisek holop wrote: > > dhcp nwid mynetworkid wpa wpapsk $(wpa-psk mynetworkid mypassword) > > I think the fact that this works in hostname.if is unintended. The that very well may be

Re: new snapshot installer: wpa-psk: not found

2009-05-11 Thread Theo de Raadt
> On Mon, May 11, 2009 at 5:07 PM, frantisek holop wrote: > > dhcp nwid mynetworkid wpa wpapsk $(wpa-psk mynetworkid mypassword) > > I think the fact that this works in hostname.if is unintended. The > proper solution is probably to replace the $(wpa-psk...) with the > output of running the comm

Re: New snapshots -> new installer, maybe

2009-05-11 Thread Dan Colish
On Wed, May 6, 2009 at 2:21 PM, Theo de Raadt wrote: > The newest snapshots that are headed out have a new install script based > on heavy modifications by a bunch of developers over the last 3 weeks. > > We would like to start getting feedback from people about these changes. > I've noticed on

Re: new snapshot installer: wpa-psk: not found

2009-05-11 Thread Matthew Dempsky
On Mon, May 11, 2009 at 5:07 PM, frantisek holop wrote: > dhcp nwid mynetworkid wpa wpapsk $(wpa-psk mynetworkid mypassword) I think the fact that this works in hostname.if is unintended. The proper solution is probably to replace the $(wpa-psk...) with the output of running the command and mayb

new snapshot installer: wpa-psk: not found

2009-05-11 Thread frantisek holop
hi there, i have as single interface up using wifi with the following /etc/hostname.iwn0: dhcp nwid mynetworkid wpa wpapsk $(wpa-psk mynetworkid mypassword) during upgrade this results in: ./upgrade: wpa-psk: not found ifconfig: wpapsk: bad pre-shared key length iwn0: no link .. sl

Re: New snapshots -> new installer

2009-05-11 Thread frantisek holop
hmm, on Fri, May 08, 2009 at 03:30:48PM -0400, System Administrator said that > are you sure you are not confusing this with some Linux system? I've > found this moronic group=user behavior to be the standard on all Linux > systems, but have never experienced it in OpenBSD. adduser(8) the perl s

[Info] RESIDENCIA UNIVERSITARIA | Pensión para estudiantes

2009-05-11 Thread MARTINASHOUSE
Actualmente tenemos disponibilidad: en la Sede de Palermo Hollywood. !No Cobramos Matrmcula! Toda la Casa tiene acceso a internet Inalambrico. Nuestra Tarifa incluye desayuno; Media Pensisn es Opcional; Lavanderma, Wi-fi, Seguridad... ... Abajo le detallo bien los servicios incluidos) Cualquie

Re: Error with red consoles

2009-05-11 Thread Dirk Mast
PP wrote: > Hello! I am sorry for my english > > I put a 4.5, but it has some bugs in the X11 VGA card chosen from a > database in xorgconfig. when start X11, it says that > is not found the driver VGA. had to use VESA. X11 seems to work. But in > the database have the same VGA driver > > secon

Re: New snapshots -> new installer

2009-05-11 Thread Theo de Raadt
> > > In disklabel step I select "Custom" and just do "write" and > > > "quit". Before I would be asked for mount points but now I > > > get: you MUST enter the mountpoints inside disklabel. The script no longer duplicates this code. > > > /install[111]: cannot open /tmp/fsstab.sd0: No such file

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-11 Thread Marco Peereboom
Way too much excitement for a fat fingered example. Thanks for fixing it sthen.

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-11 Thread Igor Sobrado
On Mon, May 11, 2009 at 10:11 AM, Han Boetes wrote: > From: http://www.opengroup.org/onlinepubs/009695399/utilities/dd.html [...] > So nobody follows the POSIX specification to the letter. Where to > go from here? OpenBSD is, first of all, a BSD-compatible operating system and, where possible, co

Re: New snapshots -> new installer

2009-05-11 Thread Jan Johansson
Sorry for not getting back to you earlier. I now tried the OpenBSD 4.5-current (RAMDISK_CD) #140: Sun May 10 22:18:51 MDT 2009 snapshot. See result below. Kenneth R Westerback wrote: > On Thu, May 07, 2009 at 03:33:33PM +0200, Jan Johansson wrote: > > Problem 1: > > In disklabel step I selec

cksum(1) patch

2009-05-11 Thread Peter J. Philipp
Hi, I did some research on different operating systems regarding checksumming and found that solaris had a nice option called "digest -l" which prints the available algorithms and exits. I wrote this functionality into cksum(1) that you can have if you want it. Patch follows. -peter ? cksum.

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-11 Thread Han Boetes
From: http://www.opengroup.org/onlinepubs/009695399/utilities/dd.html For the bs=, cbs=, ibs=, and obs= operands, the application shall supply an expression specifying a size in bytes. The expression, expr, can be: 1. A positive decimal number 2. A positive decimal number followed by k, spe

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-11 Thread Otto Moerbeek
On Mon, May 11, 2009 at 12:34:19AM -0700, Philip Guenther wrote: > On Mon, May 11, 2009 at 12:26 AM, Stuart Henderson > wrote: > > On 2009/05/10 22:48, Jacob L. Leifman wrote: > ... > >> More likely the M example was written by someone that is familiar with > >> one of the other variants of dd (

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-11 Thread Philip Guenther
On Mon, May 11, 2009 at 12:26 AM, Stuart Henderson wrote: > On 2009/05/10 22:48, Jacob L. Leifman wrote: ... >> More likely the M example was written by someone that is familiar with >> one of the other variants of dd (such as possibly GNU). A quick check >> of some other systems, including Linux

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-11 Thread Stuart Henderson
On 2009/05/10 22:48, Jacob L. Leifman wrote: > On 10 May 2009 at 19:14, Theo de Raadt wrote: > > > > Hi Damien, > > > > > > > I think we should fix dd(1). > > > > > > I like that. > > > > > > Not allowing uppercase violates the principle of least surprise for "M" > > > in particular, but accepti