DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th May 2008
J65nko J65nko is online now
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default Marc Ballmer, an OpenBSD developer squashes 25 year old BSD bug

See http://undeadly.org/cgi?action=artic...anded&count=15 and http://www.vnode.ch/fixing_seekdir
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #2   (View Single Post)  
Old 10th May 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

Amazing. I am reminded again about how complex software has become. And 4.2BSD is (was?) comparatively simple.
Reply With Quote
  #3   (View Single Post)  
Old 10th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

You should look at AT&T UNIX Version 6 code...
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 11th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,064
Thanked 198 Times in 156 Posts
Default

Quote:
Originally Posted by DrJ View Post
Amazing. I am reminded again about how complex software has become. And 4.2BSD is (was?) comparatively simple.
Well, that's like saying that heart surgery is comparatively simple compared to brain surgery...

Anyway ... Great story!
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 11th May 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
Well, that's like saying that heart surgery is comparatively simple compared to brain surgery...
Yes but... Remember in those days X11 was not really used (everything was on a serial terminal using termcap running at 9600 baud), the primary graphics tubes were the Tek 4014 and relatives, most printers were simple line printers, and lasers had not yet caught on, and virtual memory was just starting to be used (in Unix, at least). Input from cards was just fading.

I'm not saying the OS internals were trivial, just much simpler than they are now.
Reply With Quote
  #6   (View Single Post)  
Old 12th May 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

The worst thing about this - after reading an article on it via slashdot - is that the Samba people had been using a work-around for this for years, and nobody thought to tell a BSD developer so that the (in the end, very simple) error could be fixed!!!

The moral is, then, to file your bug reports! (And then keep up with and reply to the mailing list threads! (guilty! ))
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #7   (View Single Post)  
Old 12th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,064
Thanked 198 Times in 156 Posts
Default

That's not true.

From the comments section on the Undeadly page:
Quote:
> > So let me get this straight, the Samba developers have been aware of this problem for a while and just patched over it ?
>
> Samba people knew about incorrect behavior for the past three years, but never bothered to find its causation nor notify BSD people to take a look at it.

This is not true. The knew about the problem _and_ they talked to BSD people. But apparently they were told they were using the API wrong, it was never meant that way, etc., etc.,...

[...]

This was used as an "excuse" to not further investigate. But ffs uses a linear directory stucture, and it even was the original filesystem seekdir(3) and friends were implemented on, so it was a jump to conclusions that was not justified.

Actually, once Marc had a test program that could reproduce the problem and while discussing things on icb, we both saw the bug almost simultaneously. The fix was quite straightforward, the challenge here was finding out what was going on.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 12th May 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

OK, then that's the blame put in the right quarter then. (Ours.)

Still, the moral stands! If you are working around an error, report it, and try to get it fixed. A short, compilable program or script that clearly demonstrates the error helps immeasurably.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #9   (View Single Post)  
Old 14th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

has this bug being solved because i guess i am experimenting the same problem. should i update the system and/or samba?
thank you.

all the best,
v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
Old 14th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,064
Thanked 198 Times in 156 Posts
Default

Yes, it has been fixed in OpenBSD, NetBSD, and FreeBSD ... I don't know about other BSD flavours...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poul-Henning Kamp (FreeBSD developer) sues Lenovo ;) vermaden FreeBSD General 9 17th August 2009 07:23 PM
Merry christmas! and Happy New year (in advance)! ephemera Off-Topic 16 25th December 2008 09:55 PM
PCBSD Lead Developer Interview fridder FreeBSD General 0 27th August 2008 11:08 PM
Looking for FreeBSD PS Developer Slyshadow FreeBSD General 14 6th August 2008 06:56 PM


All times are GMT. The time now is 10:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick