new installer disklabel question

2009-07-09 Thread Didier Wiroth
Hello,

As an OpenBSD hobby user, I really appreciate your new installer and your 
automatic disklabel feature it is of GREAT help. I'm not very comfortable 
with fdisk and disklabel so this is a really welcomed feature and aid.

Though, I'm missing 1 disklabel, the /altroot label, as it helped me several 
times in the past. Is there any reason why you omit this label creation?

Do you think it could be added in the future to the automatic label creation 
or may be adding it after f.ex. answering a question (do you want an /altroot 
blah blah ...?) ?

I know it should not be considered as a standard backup solution, but it still 
is a nice help.

Kind regards,
Didier



Partition question (Was new installer disklabel question)

2009-07-09 Thread STeve Andre'
On Thursday 09 July 2009 12:44:40 Theo de Raadt wrote:
  As an OpenBSD hobby user, I really appreciate your new installer and your
  automatic disklabel feature it is of GREAT help. I'm not very comfortable
  with fdisk and disklabel so this is a really welcomed feature and aid.
 
  Though, I'm missing 1 disklabel, the /altroot label, as it helped me
  several times in the past. Is there any reason why you omit this label
  creation?
 
  Do you think it could be added in the future to the automatic label
  creation or may be adding it after f.ex. answering a question (do you
  want an /altroot blah blah ...?) ?
 
  I know it should not be considered as a standard backup solution, but it
  still is a nice help.

 We have 16 partitions.  Amongst that are b and c.  So we have 14
 partitions. We can potentially discover i - p using MBR reading or whatnot
 on other architectures, so we have potentially even less.

 We never did altroot automatically, and we don't do it now.

What reasons are there for not extending partitions to z?  With 2T disks
out, having 14 partitions means not being able to make smaller ones.

--STeve Andre'



Re: Partition question (Was new installer disklabel question)

2009-07-09 Thread Theo de Raadt
 What reasons are there for not extending partitions to z?  With 2T disks
 out, having 14 partitions means not being able to make smaller ones.

I could make it 32 partitions, but utterly break backwards compatibility
with previous releases...  or accept that the current situation covers
99.99% of usage cases.



Re: Nixspam - spamd?

2009-07-09 Thread Bob Beck
* Holger Hornung m...@hhornung.de [2009-07-09 01:27]:
 Hello!
 
 It seems that the nixspam-Filter is not automatically updated?!
 
 http://www.openbsd.org/spamd/nixspam.gz
 
 Is there any new location for this list?
 

Hmm..

It seems they recently started blocking my connections.

...
ftp: Receiving HTTP reply: Connection reset by peer
...

 I hit them every hour which was (at the time I set it up) within what they 
said was allowed. 

No, you could all dogpile nixspam for it directly but they seem
to have blocked my connection attempts recently. perhaps someone who speaks
German could explain it to them and get them to not screw with connections from
129.128.0.0/16 because I'm fanning their info out to lots of people.

-Bob



Re: softraid.c: potential NULL pointer dereference ?

2009-07-09 Thread Marcus Glocker
On Thu, Jul 09, 2009 at 08:37:38PM +0200, Remco wrote:

 I noticed the following code path in /sys/dev/softraid.c:
 
 int
 sr_scsi_cmd(struct scsi_xfer *xs)
 {
 ...
 sd = sc-sc_dis[link-scsibus];
 if (sd == NULL) {
 s = splhigh();
 sd = sc-sc_attach_dis;
 splx(s);
 
 DNPRINTF(SR_D_CMD, %s: sr_scsi_cmd: attaching %p\n,
 DEVNAME(sc), sd);
 if (sd == NULL) {
 wu = NULL;
 printf(%s: sr_scsi_cmd NULL discipline\n,
 DEVNAME(sc));
 goto stuffup;
 ...
 stuffup:
 if (sd-sd_scsi_sense.error_code) {
 
 
 If I'm not mistaken this leads to dereferencing sd as a NULL pointer.
 
 I'm not sure whether this causes an actual real world problem or where to put 
 a guard to avoid this.

If that situation would occur, we would indeed hit a NULL pointer deref,
which would crash the kernel.

We have fixed it now.   Thanks for pointing it out.
 
 Regards,
 Remco

Regards,
Marcus



Protection Alert

2009-07-09 Thread BMO Bank
BMO Sign-In Protection Alert

An attempt to access Online Banking was denied on:

Thursday, 09 July 2009 at 9:10:36 EST

Access was denied for one of two reasons:

  * Incorrect attempts to access and Login failures.

  * Signing on from a different location or device different from your
location and your IP address.

If you remember trying to access Online Banking on the above date and
time, please select That was me.

If you do not remember trying to access Online Banking on the above date
and time, please select That was NOT me.
You will then be prompted to safeguards your account.

That was me

That was not me

) 1999  2009 BMO Bank of Montreal. All rights reserved.