From alex at myzona.net Wed Apr 2 16:45:40 2003 From: alex at myzona.net (Aleksandr Melentiev) Date: Wed, 2 Apr 2003 16:45:40 -0800 Subject: [buug] watchdog timeout Message-ID: <000d01c2f97a$5a79e720$0300a8c0@kronos> Hello all, I am having a trouble with a watchdog timeout problem that occurs with a network card. First I thought its the network card (SMC), but then I changed it to a 3Com card and still having the same error: xl0: watchdog timeout When this randomly occurs, my console and ssh sessions stop responding, sometimes the internet dissapears. Then only thing I can do is cold-reboot the server. My other card which is on-board (its an Intel N440BX mobo) works just fine. I am suspecting that it could be because of the faulty PCI riser thru which the network card is hooked up (its a 2U rackmount server). Cabling is fine. Anyone have any ideas of where the problem lies and how to fix it? I am running FreeBSD 5.0-RELEASE-p6. Thanks in advance. Alex. From unixjavabob at yahoo.com Wed Apr 2 17:34:26 2003 From: unixjavabob at yahoo.com (Bob Read) Date: Wed, 2 Apr 2003 17:34:26 -0800 (PST) Subject: [buug] watchdog timeout In-Reply-To: <000d01c2f97a$5a79e720$0300a8c0@kronos> Message-ID: <20030403013426.63264.qmail@web13808.mail.yahoo.com> Hi Alex, I've never been bitten by the watchdog timeout, but other people have...here's the results from google...good luck!: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=xl0%3A+watchdog+timeout&btnG=Google+Search Bob R. --- Aleksandr Melentiev wrote: > Hello all, > > I am having a trouble with a watchdog timeout > problem that occurs with a > network card. First I thought its the network card > (SMC), but then I changed > it to a 3Com card and still having the same error: > > xl0: watchdog timeout > > When this randomly occurs, my console and ssh > sessions stop responding, > sometimes the internet dissapears. Then only thing I > can do is cold-reboot > the server. > My other card which is on-board (its an Intel N440BX > mobo) works just fine. > I am suspecting that it could be because of the > faulty PCI riser thru which > the network card is hooked up (its a 2U rackmount > server). Cabling is fine. > > Anyone have any ideas of where the problem lies and > how to fix it? I am > running FreeBSD 5.0-RELEASE-p6. > > Thanks in advance. > Alex. > > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug ===== ----------------------------------------- Bob Read Exit Code Incorporated cell (510)-703-1634 unixjavabob at yahoo.com ----------------------------------------- __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From wfhoney at pacbell.net Thu Apr 3 21:58:26 2003 From: wfhoney at pacbell.net (Wm. F. Honeycutt) Date: Thu, 03 Apr 2003 21:58:26 -0800 Subject: [buug] Sun shines again Message-ID: <3E8D1F02.9010105@pacbell.net> Thanks to Jon and Aaron...I dribbled the Stop+A keys like a Harlem Globetrotter while booting the Ultra. That did the trick! From itz at speakeasy.org Thu Apr 3 22:59:32 2003 From: itz at speakeasy.org (Ian Zimmerman) Date: 03 Apr 2003 22:59:32 -0800 Subject: [buug] randomized linux Message-ID: <863cky3fzf.fsf@kronstadt.homeunix.net> By the way, I have been running the kernel with the randomized PID patch for over a week, and I think it is completely safe. Apart from PIDs it also randomizes ephemeral client ports, which is probably even more important for security on a user workstation. Last I heard, OpenBSD still haven't cloned apt-get :-) -- "This is the patent age of new inventions For killing bodies, and for saving souls, All propagated with the best intentions." George Gordon, lord Byron From jan at caustic.org Thu Apr 3 23:01:52 2003 From: jan at caustic.org (f.johan.beisser) Date: Thu, 3 Apr 2003 23:01:52 -0800 (PST) Subject: [buug] randomized linux In-Reply-To: <863cky3fzf.fsf@kronstadt.homeunix.net> Message-ID: <20030403230140.H613-100000@pogo.caustic.org> On 3 Apr 2003, Ian Zimmerman wrote: > Last I heard, OpenBSD still haven't cloned apt-get :-) probably for the best. -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan at caustic.org "Champagne for my real friends, real pain for my sham friends." -- Tom Waits From wfhoney at pacbell.net Fri Apr 4 15:14:22 2003 From: wfhoney at pacbell.net (Bill Honeycutt) Date: Fri, 04 Apr 2003 15:14:22 -0800 Subject: [buug] User/Group turbulence Message-ID: <3E8E11CE.90307@pacbell.net> Hi, I've once again managed to be creative :0) I've somehow corrupted /etc/group file on a lowly fileserver such that I'm getting the wrong user:group on newly created files. Example: Compiling mysql, I untar the source from a bash shell as root. I expect to see all the files owned by root:root ...but instead see tom:dick How did I get into this "Harry" situation? Can it be fixed? From wfhoney at pacbell.net Fri Apr 4 15:15:54 2003 From: wfhoney at pacbell.net (Bill Honeycutt) Date: Fri, 04 Apr 2003 15:15:54 -0800 Subject: [buug] User/Group turbulence...part II Message-ID: <3E8E122A.6030807@pacbell.net> Forgot to mention...this problem is on a Linux 2.4 installation. From rick at linuxmafia.com Fri Apr 4 16:17:16 2003 From: rick at linuxmafia.com (Rick Moen) Date: Fri, 4 Apr 2003 16:17:16 -0800 Subject: [buug] User/Group turbulence In-Reply-To: <3E8E11CE.90307@pacbell.net> References: <3E8E11CE.90307@pacbell.net> Message-ID: <20030405001716.GG30227@linuxmafia.com> Quoting Bill Honeycutt (wfhoney at pacbell.net): > I've somehow corrupted /etc/group file on a lowly fileserver.... Well, maybe not. (Note: The above is your _diagnosis_, which isn't a useful thing to post. If you were so good at diagnosis, would you be seeking help? Fortunately, you posted the symptoms, too:) > Compiling mysql, I untar the source from a bash shell as root. I expect > to see all the files owned by > > root:root > > ...but instead see > > tom:dick You untarred it as the _root_ user, didn't you? Unpacking mysql-4.0.10-gamma.tar.gz with root authority, I get: uncle-enzo:/tmp/mysql-4.0.10-gamma# ls -al | more total 1693 drwxrwxrwx 34 503 users 1024 Jan 29 03:50 . drwxrwxrwt 4 root root 8192 Apr 4 16:10 .. drwxrwxrwx 2 503 users 1024 Jan 29 03:50 BUILD -rw-r--r-- 1 503 users 19106 Jan 29 03:30 COPYING -rw-r--r-- 1 503 users 28003 Jan 29 03:30 COPYING.LIB -rw-r--r-- 1 503 users 37745 Jan 29 03:29 ChangeLog drwxrwxrwx 4 503 users 1024 Jan 29 03:50 Docs [...] Unpacking the same file with user "rick" authority, I get: /tmp/mysql-4.0.10-gamma $ ls -al | more total 1693 drwxr-xr-x 34 rick rick 1024 2003-01-29 03:50 . drwxrwxrwt 4 root root 8192 2003-04-04 16:13 .. -rw-r--r-- 1 rick rick 6256 2003-01-29 03:29 acconfig.h -rw-r--r-- 1 rick rick 38584 2003-01-29 03:29 acinclude.m4 -rw-r--r-- 1 rick rick 170496 2003-01-29 03:29 aclocal.m4 drwxr-xr-x 48 rick rick 1024 2003-01-29 03:50 bdb drwxr-xr-x 2 rick rick 1024 2003-01-29 03:50 BUILD -rw-r--r-- 1 rick rick 37745 2003-01-29 03:29 ChangeLog drwxr-xr-x 2 rick rick 1024 2003-01-29 03:50 client -rwxr-xr-x 1 rick rick 38693 2003-01-29 03:29 config.guess -rw-r--r-- 1 rick rick 21619 2003-01-29 03:29 config.h.in -rwxr-xr-x 1 rick rick 28114 2003-01-29 03:29 config.sub -rwxr-xr-x 1 rick rick 676004 2003-01-29 03:29 configure -rw-r--r-- 1 rick rick 77516 2003-01-29 03:29 configure.in -rw-r--r-- 1 rick rick 19106 2003-01-29 03:30 COPYING -rw-r--r-- 1 rick rick 28003 2003-01-29 03:30 COPYING.LIB drwxr-xr-x 2 rick rick 1024 2003-01-29 03:50 dbug [...] (Different sort order, but you get the idea.) Suggestion: _Don't_ use root authority when you don't need it. -- Cheers, "Open your present...." Rick Moen "No, you open your present...." rick at linuxmafia.com Kaczinski Christmas. -- Unabomber Haiku Contest, CyberLaw mailing list From wfhoney at pacbell.net Fri Apr 4 16:50:32 2003 From: wfhoney at pacbell.net (Bill Honeycutt) Date: Fri, 04 Apr 2003 16:50:32 -0800 Subject: [buug] User/Group turbulence In-Reply-To: <20030405001716.GG30227@linuxmafia.com> References: <3E8E11CE.90307@pacbell.net> <20030405001716.GG30227@linuxmafia.com> Message-ID: <3E8E2858.7010709@pacbell.net> Rick Moen wrote: > Quoting Bill Honeycutt (wfhoney at pacbell.net): > > >>I've somehow corrupted /etc/group file on a lowly fileserver.... > > > Well, maybe not. (Note: The above is your _diagnosis_, which isn't a > useful thing to post. If you were so good at diagnosis, would you be > seeking help? Fortunately, you posted the symptoms, too:) I know you say that with the kindest of intentions, so your words are taken in the spirit that they're offered. :-) >>Compiling mysql, I untar the source from a bash shell as root. I expect >>to see all the files owned by >> >> root:root >> >>...but instead see >> >> tom:dick Interestingly, tom's UID is 503...which might explain the first contradiction. I hadn't noticed that until I saw your results. -------------- snip ------------------- > uncle-enzo:/tmp/mysql-4.0.10-gamma# ls -al | more > total 1693 > drwxrwxrwx 34 503 users 1024 Jan 29 03:50 -------------- snip ------------------- > Unpacking the same file with user "rick" authority, I get: > > /tmp/mysql-4.0.10-gamma $ ls -al | more > total 1693 > drwxr-xr-x 34 rick rick 1024 2003-01-29 03:50 . > drwxrwxrwt 4 root root 8192 2003-04-04 16:13 .. > -rw-r--r-- 1 rick rick 6256 2003-01-29 03:29 acconfig.h > -rw-r--r-- 1 rick rick 38584 2003-01-29 03:29 acinclude.m4 > -rw-r--r-- 1 rick rick 170496 2003-01-29 03:29 aclocal.m4 -------------- snip ------------------- Following suit, I used my own authority to untar and got the same results as you. > > Suggestion: _Don't_ use root authority when you don't need it. > Yes, wise words indeed. From unixjavabob at yahoo.com Fri Apr 4 17:00:03 2003 From: unixjavabob at yahoo.com (Bob Read) Date: Fri, 4 Apr 2003 17:00:03 -0800 (PST) Subject: [buug] User/Group turbulence In-Reply-To: <20030405001716.GG30227@linuxmafia.com> Message-ID: <20030405010003.93935.qmail@web13802.mail.yahoo.com> Also, Bill, if you're using tar, I think there's a command-line flag for choosing to use the tar file's user/group info for each file, or the current user's. Might be "-v". Maybe similar flag for gzip/gunzip? I know the man pages are just seconds away, and I could look it up myself, but sh*t, it's Friday, sorry dude. Bob R. --- Rick Moen wrote: > Quoting Bill Honeycutt (wfhoney at pacbell.net): > > > I've somehow corrupted /etc/group file on a lowly > fileserver.... > > Well, maybe not. (Note: The above is your > _diagnosis_, which isn't a > useful thing to post. If you were so good at > diagnosis, would you be > seeking help? Fortunately, you posted the symptoms, > too:) > > > Compiling mysql, I untar the source from a bash > shell as root. I expect > > to see all the files owned by > > > > root:root > > > > ...but instead see > > > > tom:dick > > You untarred it as the _root_ user, didn't you? > Unpacking > mysql-4.0.10-gamma.tar.gz with root authority, I > get: > > uncle-enzo:/tmp/mysql-4.0.10-gamma# ls -al | more > total 1693 > drwxrwxrwx 34 503 users 1024 Jan 29 > 03:50 . > drwxrwxrwt 4 root root 8192 Apr 4 > 16:10 .. > drwxrwxrwx 2 503 users 1024 Jan 29 > 03:50 BUILD > -rw-r--r-- 1 503 users 19106 Jan 29 > 03:30 COPYING > -rw-r--r-- 1 503 users 28003 Jan 29 > 03:30 COPYING.LIB > -rw-r--r-- 1 503 users 37745 Jan 29 > 03:29 ChangeLog > drwxrwxrwx 4 503 users 1024 Jan 29 > 03:50 Docs > [...] > > Unpacking the same file with user "rick" authority, > I get: > > /tmp/mysql-4.0.10-gamma $ ls -al | more > total 1693 > drwxr-xr-x 34 rick rick 1024 > 2003-01-29 03:50 . > drwxrwxrwt 4 root root 8192 > 2003-04-04 16:13 .. > -rw-r--r-- 1 rick rick 6256 > 2003-01-29 03:29 acconfig.h > -rw-r--r-- 1 rick rick 38584 > 2003-01-29 03:29 acinclude.m4 > -rw-r--r-- 1 rick rick 170496 > 2003-01-29 03:29 aclocal.m4 > drwxr-xr-x 48 rick rick 1024 > 2003-01-29 03:50 bdb > drwxr-xr-x 2 rick rick 1024 > 2003-01-29 03:50 BUILD > -rw-r--r-- 1 rick rick 37745 > 2003-01-29 03:29 ChangeLog > drwxr-xr-x 2 rick rick 1024 > 2003-01-29 03:50 client > -rwxr-xr-x 1 rick rick 38693 > 2003-01-29 03:29 config.guess > -rw-r--r-- 1 rick rick 21619 > 2003-01-29 03:29 config.h.in > -rwxr-xr-x 1 rick rick 28114 > 2003-01-29 03:29 config.sub > -rwxr-xr-x 1 rick rick 676004 > 2003-01-29 03:29 configure > -rw-r--r-- 1 rick rick 77516 > 2003-01-29 03:29 configure.in > -rw-r--r-- 1 rick rick 19106 > 2003-01-29 03:30 COPYING > -rw-r--r-- 1 rick rick 28003 > 2003-01-29 03:30 COPYING.LIB > drwxr-xr-x 2 rick rick 1024 > 2003-01-29 03:50 dbug > [...] > > (Different sort order, but you get the idea.) > > Suggestion: _Don't_ use root authority when you > don't need it. > > -- > Cheers, "Open your > present...." > Rick Moen "No, you open > your present...." > rick at linuxmafia.com Kaczinski > Christmas. > -- Unabomber Haiku Contest, CyberLaw > mailing list > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug ===== ----------------------------------------- Bob Read Exit Code Incorporated cell (510)-703-1634 unixjavabob at yahoo.com ----------------------------------------- __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From wfhoney at pacbell.net Fri Apr 4 17:16:09 2003 From: wfhoney at pacbell.net (Bill Honeycutt) Date: Fri, 04 Apr 2003 17:16:09 -0800 Subject: [buug] User/Group turbulence In-Reply-To: <20030405010003.93935.qmail@web13802.mail.yahoo.com> References: <20030405010003.93935.qmail@web13802.mail.yahoo.com> Message-ID: <3E8E2E59.6050107@pacbell.net> Bob Read wrote: > Also, Bill, if you're using tar, I think there's a > command-line flag for choosing to use the tar file's > user/group info for each file, or the current user's. > Might be "-v". Maybe similar flag for gzip/gunzip? > > I know the man pages are just seconds away, and I > could look it up myself, but sh*t, it's Friday, sorry > dude. > > Bob R. I use: tar zxvf Maybe someone could explain what happens when the root authority is used, why it generates the files with the original uid:gid. Does tar maintain root privileges while the file is being expanded...or does the priivilege level change during processing? May as well learn something here ;-) From jammer at weak.org Fri Apr 4 17:49:59 2003 From: jammer at weak.org (Jon McClintock) Date: Fri, 4 Apr 2003 17:49:59 -0800 Subject: [buug] User/Group turbulence In-Reply-To: <3E8E2E59.6050107@pacbell.net> References: <20030405010003.93935.qmail@web13802.mail.yahoo.com> <3E8E2E59.6050107@pacbell.net> Message-ID: <20030405014959.GA18263@weak.org> On Fri, Apr 04, 2003 at 05:16:09PM -0800, Bill Honeycutt wrote: > I use: > tar zxvf > > Maybe someone could explain what happens when the root authority is > used, why it generates the files with the original uid:gid. Does tar > maintain root privileges while the file is being expanded...or does the > priivilege level change during processing? > > May as well learn something here ;-) Tar stores the permissions and ownership of each file in the archive. But it stores numeric values, not the string values. When you unpack the archive, it tries to restore those values as best it can. Which means that as root, it'll create the files with those funky owners, whereas as a normal user, it'll create the files owned by that user, because a normal user can't create files owned by someone else. -Jon From unixjavabob at yahoo.com Fri Apr 4 18:57:45 2003 From: unixjavabob at yahoo.com (Bob Read) Date: Fri, 4 Apr 2003 18:57:45 -0800 (PST) Subject: [buug] User/Group turbulence In-Reply-To: <20030405014959.GA18263@weak.org> Message-ID: <20030405025745.9479.qmail@web13802.mail.yahoo.com> If memory serves, that's what the "v" does, so you could try: tar zxf --- Jon McClintock wrote: > On Fri, Apr 04, 2003 at 05:16:09PM -0800, Bill > Honeycutt wrote: > > I use: > > tar zxvf > > > > Maybe someone could explain what happens when the > root authority is > > used, why it generates the files with the original > uid:gid. Does tar > > maintain root privileges while the file is being > expanded...or does the > > priivilege level change during processing? > > > > May as well learn something here ;-) > > Tar stores the permissions and ownership of each > file in the archive. > But it stores numeric values, not the string values. > When you unpack the > archive, it tries to restore those values as best it > can. Which means > that as root, it'll create the files with those > funky owners, whereas > as a normal user, it'll create the files owned by > that user, because > a normal user can't create files owned by someone > else. > > -Jon > > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug ===== ----------------------------------------- Bob Read Exit Code Incorporated cell (510)-703-1634 unixjavabob at yahoo.com ----------------------------------------- __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From jammer at weak.org Fri Apr 4 19:30:10 2003 From: jammer at weak.org (Jon McClintock) Date: Fri, 4 Apr 2003 19:30:10 -0800 Subject: [buug] User/Group turbulence In-Reply-To: <20030405025745.9479.qmail@web13802.mail.yahoo.com> References: <20030405014959.GA18263@weak.org> <20030405025745.9479.qmail@web13802.mail.yahoo.com> Message-ID: <20030405033010.GA26121@weak.org> On Fri, Apr 04, 2003 at 06:57:45PM -0800, Bob Read wrote: > If memory serves, that's what the "v" does, so you > could try: > > tar zxf Nope. 'v' just causes tar to print out all of the files it processes. -Jon From itz at speakeasy.org Fri Apr 4 20:04:37 2003 From: itz at speakeasy.org (Ian Zimmerman) Date: 04 Apr 2003 20:04:37 -0800 Subject: [buug] User/Group turbulence In-Reply-To: <20030405033010.GA26121@weak.org> References: <20030405014959.GA18263@weak.org> <20030405025745.9479.qmail@web13802.mail.yahoo.com> <20030405033010.GA26121@weak.org> Message-ID: <864r5d37ze.fsf@kronstadt.homeunix.net> >> tar zxf Jon> Nope. 'v' just causes tar to print out all of the files it Jon> processes. With GNU tar, it's --no-same-owner. -- "This is the patent age of new inventions For killing bodies, and for saving souls, All propagated with the best intentions." George Gordon, lord Byron From wfhoney at pacbell.net Fri Apr 4 22:09:11 2003 From: wfhoney at pacbell.net (Wm. F. Honeycutt) Date: Fri, 04 Apr 2003 22:09:11 -0800 Subject: [buug] User/Group turbulence References: <20030405014959.GA18263@weak.org> <20030405025745.9479.qmail@web13802.mail.yahoo.com> <20030405033010.GA26121@weak.org> Message-ID: <3E8E7307.4030303@pacbell.net> Thanks Ian, Rick, Bob, and Jon for the informative feedback. Much to chew on! From itz at speakeasy.org Wed Apr 9 17:33:20 2003 From: itz at speakeasy.org (Ian Zimmerman) Date: 09 Apr 2003 17:33:20 -0700 Subject: [buug] Mozilla again Message-ID: <86r88bnqcv.fsf@kronstadt.homeunix.net> This horse is just about dead, but I hate the fonts in Mozilla :-( What I would like is just 1 sans and one serif font, but that's just what I cannot seem to be able to do. Either I clear "Allow other fonts" in Preferences, and then I get one font for everything, or I set it and then Mozilla honors all the damned garbage. Worse, when Allow is set Mozilla seems to always prefer over inherited CSS properties, even if the latter are !important. Is this a bug? Should it be reported? Does anyone care? -- "This is the patent age of new inventions For killing bodies, and for saving souls, All propagated with the best intentions." George Gordon, lord Byron From evans at ncseweb.org Sun Apr 13 20:03:26 2003 From: evans at ncseweb.org (Skip Evans) Date: Sun, 13 Apr 2003 20:03:26 -0700 Subject: [buug] She blow'd up real good Message-ID: <5.1.0.14.0.20030413195754.00b66358@mail.mindspring.com> Hey all, I've got a site I developed with PostNuke, a pretty good PHP content management system. But I don't know how I manage to do what I did today while doing some development work on it, but now it won't load the index.php file, and when I just go to the URL of the site it gives me a listing of the files in the site's root directory, but index.php is not listed, and if I type it in directly to the URL field of the browser it just bounces right back to the file listing. I can see the file at my OS prompt, so I know it is there. I checked the httpd.conf file in Apache, just to make sure it still had index.php as one of the default pages, and it did. But I don't understand why it shows up at the OS prompt, but the browser can't see it. I can select the login file and get into the site and everything functions fine, but index.php sets up the whole front page with articles, etc. Any ideas would be most helpful, as I'm quite lost at this point. Did I blow up a directory structure or something somewhere? Oh, like I would know... Thanks, Skip Skip Evans Network Project Director National Center for Science Education 420 40th St, Suite 2 Oakland, CA 94609 510-601-7203 Ext. 308 510-601-7204 (fax) 800-290-6006 evans at ncseweb.org http://www.ncseweb.org NCSE now has a one way broadcast news list. Please note that this is NOT a discussion list. You cannot post messages for members to receive. We use this list to broadcast news about the creationism/evolution issue to interested parties. To sign up send: subscribe ncse your at email.address.here to: majordomo at ncseweb2.org To unsubscribe send: unsubscribe ncse your at email.address.here to: majordomo at ncseweb2.org From evans at ncseweb.org Sun Apr 13 20:09:22 2003 From: evans at ncseweb.org (Skip Evans) Date: Sun, 13 Apr 2003 20:09:22 -0700 Subject: [buug] She blow'd up real good In-Reply-To: <5.1.0.14.0.20030413195754.00b66358@mail.mindspring.com> Message-ID: <5.1.0.14.0.20030413200835.0246e000@mail.mindspring.com> Oh, guess I should have said, I'm running FreeBSD 4.5 and Apache (which I mentioned below), MySQL for a database if that makes any difference. At 08:03 PM 4/13/2003 -0700, you wrote: >Hey all, > >I've got a site I developed with PostNuke, a pretty good PHP content >management system. But I don't know how I manage to do what I did >today while doing some development work on it, but now it won't load >the index.php file, and when I just go to the URL of the site it gives >me a listing of the files in the site's root directory, but index.php is not >listed, and if I type it in directly to the URL field of the browser it just >bounces right back to the file listing. > >I can see the file at my OS prompt, so I know it is there. I checked the >httpd.conf file in Apache, just to make sure it still had index.php as >one of the default pages, and it did. > >But I don't understand why it shows up at the OS prompt, but the >browser can't see it. > >I can select the login file and get into the site and everything functions >fine, but index.php sets up the whole front page with articles, etc. > >Any ideas would be most helpful, as I'm quite lost at this point. Did I >blow up a directory structure or something somewhere? Oh, like I >would know... > >Thanks, >Skip > > >Skip Evans >Network Project Director >National Center for Science Education >420 40th St, Suite 2 >Oakland, CA 94609 >510-601-7203 Ext. 308 >510-601-7204 (fax) >800-290-6006 >evans at ncseweb.org > http://www.ncseweb.org > >NCSE now has a one way broadcast news list. Please note that >this is NOT a discussion list. You cannot post messages for members > to receive. We use this list to broadcast news about the >creationism/evolution issue to interested parties. > >To sign up send: >subscribe ncse your at email.address.here >to: majordomo at ncseweb2.org > >To unsubscribe send: >unsubscribe ncse your at email.address.here >to: majordomo at ncseweb2.org > > >_______________________________________________ >Buug mailing list >Buug at weak.org >http://www.weak.org/mailman/listinfo/buug Skip Evans Network Project Director National Center for Science Education 420 40th St, Suite 2 Oakland, CA 94609 510-601-7203 Ext. 308 510-601-7204 (fax) 800-290-6006 evans at ncseweb.org http://www.ncseweb.org NCSE now has a one way broadcast news list. Please note that this is NOT a discussion list. You cannot post messages for members to receive. We use this list to broadcast news about the creationism/evolution issue to interested parties. To sign up send: subscribe ncse your at email.address.here to: majordomo at ncseweb2.org To unsubscribe send: unsubscribe ncse your at email.address.here to: majordomo at ncseweb2.org From evans at ncseweb.org Mon Apr 14 11:57:02 2003 From: evans at ncseweb.org (Skip Evans) Date: Mon, 14 Apr 2003 11:57:02 -0700 Subject: [buug] Anyone up for some quick work? Message-ID: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> Hey all, The problem I described in a previous email persists. A PHP site I have simply will not process index.php, it just hangs and times out, but I can go into the site through other files and things function fine. I've done a complete restore of the site from a backup, but to no avail. Additionally odd is the fact that Apache is not logging anything into the log files, even when I go into the site through another route and tromp all over the place. If there are any Emergency Fireman out there who can spare a few hours to get this resolved send me your rate and perhaps call me on the number below. I'm desperate to get this site back up, as it is becoming pretty integral to what we do here. I do this stuff for our organization in my spare time, so my days cannot be spent on this tuff, leaving me to toil away in the evenings. Thanks! Skip Evans Network Project Director National Center for Science Education 420 40th St, Suite 2 Oakland, CA 94609 510-601-7203 Ext. 308 510-601-7204 (fax) 800-290-6006 evans at ncseweb.org http://www.ncseweb.org NCSE now has a one way broadcast news list. Please note that this is NOT a discussion list. You cannot post messages for members to receive. We use this list to broadcast news about the creationism/evolution issue to interested parties. To sign up send: subscribe ncse your at email.address.here to: majordomo at ncseweb2.org To unsubscribe send: unsubscribe ncse your at email.address.here to: majordomo at ncseweb2.org From atporter at primate.net Mon Apr 14 13:04:18 2003 From: atporter at primate.net (Aaron T Porter) Date: Mon, 14 Apr 2003 13:04:18 -0700 Subject: [buug] Anyone up for some quick work? In-Reply-To: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> References: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> Message-ID: <20030414200418.GV12607@primate.net> You want to do this for pay, or should I help him? On Mon, Apr 14, 2003 at 11:57:02AM -0700, Skip Evans wrote: > Hey all, > > The problem I described in a previous email persists. A PHP > site I have simply will not process index.php, it just hangs > and times out, but I can go into the site through other files > and things function fine. > > I've done a complete restore of the site from a backup, but to > no avail. > > Additionally odd is the fact that Apache is not logging anything > into the log files, even when I go into the site through another > route and tromp all over the place. > > If there are any Emergency Fireman out there who can spare > a few hours to get this resolved send me your rate and perhaps > call me on the number below. I'm desperate to get this site back > up, as it is becoming pretty integral to what we do here. > > I do this stuff for our organization in my spare time, so my days > cannot be spent on this tuff, leaving me to toil away in the evenings. > > Thanks! > > > Skip Evans > Network Project Director > National Center for Science Education > 420 40th St, Suite 2 > Oakland, CA 94609 > 510-601-7203 Ext. 308 > 510-601-7204 (fax) > 800-290-6006 > evans at ncseweb.org > http://www.ncseweb.org > > NCSE now has a one way broadcast news list. Please note that > this is NOT a discussion list. You cannot post messages for members > to receive. We use this list to broadcast news about the > creationism/evolution issue to interested parties. > > To sign up send: > subscribe ncse your at email.address.here > to: majordomo at ncseweb2.org > > To unsubscribe send: > unsubscribe ncse your at email.address.here > to: majordomo at ncseweb2.org > > > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug From wfhoney at pacbell.net Mon Apr 14 14:23:18 2003 From: wfhoney at pacbell.net (Wm. F. Honeycutt) Date: Mon, 14 Apr 2003 14:23:18 -0700 Subject: [buug] She blow'd up real good References: <5.1.0.14.0.20030413200835.0246e000@mail.mindspring.com> Message-ID: <3E9B26C6.4040300@pacbell.net> Skip Evans wrote: >> >>But I don't understand why it shows up at the OS prompt, but the >>browser can't see it. >> >>I can select the login file and get into the site and everything functions >>fine, but index.php sets up the whole front page with articles, etc. >> >>Any ideas would be most helpful, as I'm quite lost at this point. Did I >>blow up a directory structure or something somewhere? Oh, like I >>would know... Put phpinfo.php in that path...can apache serve that file? What do you see when you try 'apachectl configtest'? From evans at ncseweb.org Mon Apr 14 13:36:50 2003 From: evans at ncseweb.org (Skip Evans) Date: Mon, 14 Apr 2003 13:36:50 -0700 Subject: [buug] Anyone up for some quick work? In-Reply-To: <20030414200418.GV12607@primate.net> References: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> Message-ID: <5.1.0.14.0.20030414133552.02acb8a0@mail.mindspring.com> Oh, didn't realize that was Ian, Hi guys, whatever works, I just need to get this fixed as soon as possible. I've got people trying to access the site, and I sure don't want to show them how to get around the sign on screen. Skip At 01:04 PM 4/14/2003 -0700, Aaron T Porter wrote: > You want to do this for pay, or should I help him? > >On Mon, Apr 14, 2003 at 11:57:02AM -0700, Skip Evans wrote: >> Hey all, >> >> The problem I described in a previous email persists. A PHP >> site I have simply will not process index.php, it just hangs >> and times out, but I can go into the site through other files >> and things function fine. >> >> I've done a complete restore of the site from a backup, but to >> no avail. >> >> Additionally odd is the fact that Apache is not logging anything >> into the log files, even when I go into the site through another >> route and tromp all over the place. >> >> If there are any Emergency Fireman out there who can spare >> a few hours to get this resolved send me your rate and perhaps >> call me on the number below. I'm desperate to get this site back >> up, as it is becoming pretty integral to what we do here. >> >> I do this stuff for our organization in my spare time, so my days >> cannot be spent on this tuff, leaving me to toil away in the evenings. >> >> Thanks! >> >> >> Skip Evans >> Network Project Director >> National Center for Science Education >> 420 40th St, Suite 2 >> Oakland, CA 94609 >> 510-601-7203 Ext. 308 >> 510-601-7204 (fax) >> 800-290-6006 >> evans at ncseweb.org >> http://www.ncseweb.org >> >> NCSE now has a one way broadcast news list. Please note that >> this is NOT a discussion list. You cannot post messages for members >> to receive. We use this list to broadcast news about the >> creationism/evolution issue to interested parties. >> >> To sign up send: >> subscribe ncse your at email.address.here >> to: majordomo at ncseweb2.org >> >> To unsubscribe send: >> unsubscribe ncse your at email.address.here >> to: majordomo at ncseweb2.org >> >> >> _______________________________________________ >> Buug mailing list >> Buug at weak.org >> http://www.weak.org/mailman/listinfo/buug >_______________________________________________ >Buug mailing list >Buug at weak.org >http://www.weak.org/mailman/listinfo/buug Skip Evans Network Project Director National Center for Science Education 420 40th St, Suite 2 Oakland, CA 94609 510-601-7203 Ext. 308 510-601-7204 (fax) 800-290-6006 evans at ncseweb.org http://www.ncseweb.org NCSE now has a one way broadcast news list. Please note that this is NOT a discussion list. You cannot post messages for members to receive. We use this list to broadcast news about the creationism/evolution issue to interested parties. To sign up send: subscribe ncse your at email.address.here to: majordomo at ncseweb2.org To unsubscribe send: unsubscribe ncse your at email.address.here to: majordomo at ncseweb2.org From atporter at primate.net Mon Apr 14 13:47:43 2003 From: atporter at primate.net (Aaron T Porter) Date: Mon, 14 Apr 2003 13:47:43 -0700 Subject: [buug] Anyone up for some quick work? In-Reply-To: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> References: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> Message-ID: <20030414204743.GX12607@primate.net> On Mon, Apr 14, 2003 at 11:57:02AM -0700, Skip Evans wrote: > Additionally odd is the fact that Apache is not logging anything > into the log files, even when I go into the site through another > route and tromp all over the place. Are you out of disk space? Does the user apache is running as have write access to the log files? From john at jjdev.com Mon Apr 14 13:48:48 2003 From: john at jjdev.com (johnd) Date: Mon, 14 Apr 2003 13:48:48 -0700 Subject: [buug] sourcesafe client Message-ID: <20030414204848.GA1074@stang.jjdev.com> any programmers out there forced to work with sourcesafe? If so, do you know of any unix clients? From harpo at thebackrow.net Mon Apr 14 13:53:26 2003 From: harpo at thebackrow.net (Will Lowe) Date: Mon, 14 Apr 2003 13:53:26 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030414204848.GA1074@stang.jjdev.com> References: <20030414204848.GA1074@stang.jjdev.com> Message-ID: <20030414205326.GC6628@thebackrow.net> I used this once long ago: http://www.sourcegear.com/sos/ but I haven't used it in ~ 2yrs. -- thanks, Will From john at jjdev.com Mon Apr 14 13:57:43 2003 From: john at jjdev.com (johnd) Date: Mon, 14 Apr 2003 13:57:43 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030414205326.GC6628@thebackrow.net> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> Message-ID: <20030414205743.GB1074@stang.jjdev.com> On Mon, Apr 14, 2003 at 01:53:26PM -0700, Will Lowe wrote: > I used this once long ago: > > http://www.sourcegear.com/sos/ > > but I haven't used it in ~ 2yrs. I should have specified... I'm lookin for a open source solution... From rick at linuxmafia.com Mon Apr 14 14:06:02 2003 From: rick at linuxmafia.com (Rick Moen) Date: Mon, 14 Apr 2003 14:06:02 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030414205326.GC6628@thebackrow.net> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> Message-ID: <20030414210602.GE17850@linuxmafia.com> Quoting Will Lowe (harpo at thebackrow.net): > I used this once long ago: > > http://www.sourcegear.com/sos/ > but I haven't used it in ~ 2yrs. SourceOffSite is covered briefly at: http://linuxmafia.com/~rick/linux-info/scm.html Because it has Linux kernel dependencies, it may not work at all under environments like FreeBSD's linux_lib or Solaris's lxrun. Also, I vaguely recall that it's extremely kludgey. But then, getting any data out of the data roach motel that is Visual SourceSafe is something of a miracle. -- Cheers, A host is a host, from coast to coast. Rick Moen And nobody talks to a host that's close, rick at linuxmafia.com Unless the host that isn't close is busy, hung, or dead. From rick at linuxmafia.com Mon Apr 14 14:07:36 2003 From: rick at linuxmafia.com (Rick Moen) Date: Mon, 14 Apr 2003 14:07:36 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030414205743.GB1074@stang.jjdev.com> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414205743.GB1074@stang.jjdev.com> Message-ID: <20030414210736.GF17850@linuxmafia.com> Quoting johnd (john at jjdev.com): > I should have specified... > > I'm lookin for a open source solution... As someone who's studied the issue, I can pretty much guarantee none such exists. -- Cheers, There are only 10 types of people in this world -- Rick Moen those who understand binary arithmetic and those who don't. rick at linuxmafia.com From brian at planetshwoop.com Mon Apr 14 14:21:47 2003 From: brian at planetshwoop.com (Brian Sobolak) Date: Mon, 14 Apr 2003 16:21:47 -0500 (CDT) Subject: [buug] sourcesafe client In-Reply-To: <20030414210602.GE17850@linuxmafia.com> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> Message-ID: <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> Rick Moen said: > Quoting Will Lowe (harpo at thebackrow.net): > >> I used this once long ago: >> >> http://www.sourcegear.com/sos/ >> but I haven't used it in ~ 2yrs. > > SourceOffSite is covered briefly at: > http://linuxmafia.com/~rick/linux-info/scm.html > > Because it has Linux kernel dependencies, it may not work at all under > environments like FreeBSD's linux_lib or Solaris's lxrun. Also, I > vaguely recall that it's extremely kludgey. But then, getting any data > out of the data roach motel that is Visual SourceSafe is something of a > miracle. > For some reason people in my office have kept the old boxes of ancient software. I happened to find a copy of Source Safe v 2.2 from One Tree Software (before Microsoft bought it). One of the features is support for Mac and Unix. There were a few projects when I looked 2+ years ago to transform SS databases into CVS. They were barely started though and were hampered by NDAs. I'd guess that your best bet is to use cvs on your linux machine and sneakernet it over to SS when you need to. brian -- Brian Sobolak http://www.planetshwoop.com/ From harpo at thebackrow.net Mon Apr 14 14:26:13 2003 From: harpo at thebackrow.net (Will Lowe) Date: Mon, 14 Apr 2003 14:26:13 -0700 Subject: [buug] sourcesafe client In-Reply-To: <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> Message-ID: <20030414212613.GA6022@thebackrow.net> > I'd guess that your best bet is to use cvs on your linux machine and > sneakernet it over to SS when you need to. Our Windows guys at work are (of course) SS weenies also, and tried to get me to use SS for linux development. It was pretty pointless ... We eventually agreed that it was simpler to just let me use CVS and require me to export a tarball of the CVS tree into sourcesafe every time I tag ... -- thanks, Will From brian at planetshwoop.com Mon Apr 14 14:33:20 2003 From: brian at planetshwoop.com (Brian Sobolak) Date: Mon, 14 Apr 2003 16:33:20 -0500 (CDT) Subject: [buug] sourcesafe client In-Reply-To: <20030414212613.GA6022@thebackrow.net> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> Message-ID: <53659.4.17.250.5.1050356000.squirrel@webmail.psys.org> Will Lowe said: >> I'd guess that your best bet is to use cvs on your linux machine and >> sneakernet it over to SS when you need to. > > Our Windows guys at work are (of course) SS weenies also, and tried to > get me to use SS for linux development. It was pretty pointless ... > > We eventually agreed that it was simpler to just let me use CVS and > require me to export a tarball of the CVS tree into sourcesafe every > time I tag ... > CVS for Windows isn't bad, as in, it works and it doesn't cost money. CVS' warts are still present. We had no end of problems with SS. If was frequently corrupted, we had to pay all sorts of money for Source Off-Site, etc. It's a stinky product. I'm stuck with CM Telelogic right now, which is probably the worst software I've ever used. SCM can be summed up as: the more expensive the product, the more likely companies are to buy it, and the crappier it is. brian -- Brian Sobolak http://www.planetshwoop.com/ From rick at linuxmafia.com Mon Apr 14 14:35:53 2003 From: rick at linuxmafia.com (Rick Moen) Date: Mon, 14 Apr 2003 14:35:53 -0700 Subject: [buug] sourcesafe client In-Reply-To: <53659.4.17.250.5.1050356000.squirrel@webmail.psys.org> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> <53659.4.17.250.5.1050356000.squirrel@webmail.psys.org> Message-ID: <20030414213553.GH17850@linuxmafia.com> Quoting Brian Sobolak (brian at planetshwoop.com): > I'm stuck with CM Telelogic right now, which is probably the worst > software I've ever used. Is it still $25,000 for 10 users? Just curious. -- Cheers, There are only 10 types of people in this world -- Rick Moen those who understand binary arithmetic and those who don't. rick at linuxmafia.com From jammer at weak.org Mon Apr 14 16:21:03 2003 From: jammer at weak.org (Jon McClintock) Date: Mon, 14 Apr 2003 16:21:03 -0700 Subject: [buug] Anyone up for some quick work? In-Reply-To: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> References: <5.1.0.14.0.20030414114512.02ac7d30@mail.mindspring.com> Message-ID: <20030414232103.GC17925@weak.org> On Mon, Apr 14, 2003 at 11:57:02AM -0700, Skip Evans wrote: > Hey all, > > The problem I described in a previous email persists. A PHP > site I have simply will not process index.php, it just hangs > and times out, but I can go into the site through other files > and things function fine. > > I've done a complete restore of the site from a backup, but to > no avail. > > Additionally odd is the fact that Apache is not logging anything > into the log files, even when I go into the site through another > route and tromp all over the place. Check yer mime types. Also, look in your Apache configuration for the DirectoryIndex directive. Is 'index.php' in the list? If not, add it. -Jon From itz at speakeasy.org Mon Apr 14 18:21:23 2003 From: itz at speakeasy.org (Ian Zimmerman) Date: 14 Apr 2003 18:21:23 -0700 Subject: [buug] Tk and fonts Message-ID: <86znms7dyk.fsf@kronstadt.homeunix.net> Hi buugers, how (if at all) can I change the default font for Tk widgets, the way one changes gtk fonts by editing the style|fontset entry in ~/.gtkrc? I am trying to kill my monitor with high resolutions :) but the default Tk font (which is, unfortunately, in terms of pixels, not points) is way too small for them. The more general problem is that Tk doesn't use the normal X resource matching mechanism. See the Tcl/Tk book, sections 25.[3-4]; what this means is that I cannot simply say, for instance, tkinfo*font: -some-large-fat-font-for-buttons tkinfo*Text.font: -some-large-thin-font-for-text in my ~/.Xresources file, because the first entry will trump the second :-( -- "This is the patent age of new inventions For killing bodies, and for saving souls, All propagated with the best intentions." George Gordon, lord Byron From nick at zork.net Mon Apr 14 18:28:46 2003 From: nick at zork.net (Nick Moffitt) Date: Mon, 14 Apr 2003 18:28:46 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030414212613.GA6022@thebackrow.net> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> Message-ID: <20030415012846.GG18790@zork.net> begin Will Lowe quotation: > We eventually agreed that it was simpler to just let me use CVS and > require me to export a tarball of the CVS tree into sourcesafe every > time I tag ... I've heard this story regarding most revision control systems. They're all ultimately so bloated that most developers just keep a cvs repository locally and then export things into the company's official juggernaut system (clearcase, sourcesafe, whatever) when it's time. -- end From brian at planetshwoop.com Mon Apr 14 19:46:51 2003 From: brian at planetshwoop.com (brian at planetshwoop.com) Date: Mon, 14 Apr 2003 21:46:51 -0500 (CDT) Subject: [buug] sourcesafe client In-Reply-To: <20030414213553.GH17850@linuxmafia.com> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> <53659.4.17.250.5.1050356000.squirrel@webmail.psys.org> <20030414213553.GH17850@linuxmafia.com> Message-ID: On Mon, 14 Apr 2003, Rick Moen wrote: > Quoting Brian Sobolak (brian at planetshwoop.com): > > > I'm stuck with CM Telelogic right now, which is probably the worst > > software I've ever used. > > Is it still $25,000 for 10 users? Just curious. > Probably. I don't know the details,but I can tell you that it frequently crashes, is horribly complicated, and requires a horrible and complicated setup routine that requires copious amounts of magii skills and hocus pocus. The package is so enormous that we have two full-time people to provide support and do builds. Ludicros. Why use ANT when you can pay someone too much money instead? brian From jammer at weak.org Mon Apr 14 21:27:10 2003 From: jammer at weak.org (Jon McClintock) Date: Mon, 14 Apr 2003 21:27:10 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030415012846.GG18790@zork.net> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> <20030415012846.GG18790@zork.net> Message-ID: <20030415042710.GA28488@weak.org> On Mon, Apr 14, 2003 at 06:28:46PM -0700, Nick Moffitt wrote: > begin Will Lowe quotation: > > We eventually agreed that it was simpler to just let me use CVS and > > require me to export a tarball of the CVS tree into sourcesafe every > > time I tag ... > > I've heard this story regarding most revision control systems. > They're all ultimately so bloated that most developers just keep a cvs > repository locally and then export things into the company's official > juggernaut system (clearcase, sourcesafe, whatever) when it's time. Perforce is the one and only commercial revision control system I would ever use. Clients for just about every platform you can think of, and an awesome paradigm. Learn it. Use it. Love it. -Jon From nick at zork.net Mon Apr 14 21:29:34 2003 From: nick at zork.net (Nick Moffitt) Date: Mon, 14 Apr 2003 21:29:34 -0700 Subject: [buug] sourcesafe client In-Reply-To: References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> <53659.4.17.250.5.1050356000.squirrel@webmail.psys.org> <20030414213553.GH17850@linuxmafia.com> Message-ID: <20030415042934.GH18790@zork.net> begin brian at planetshwoop.com quotation: > The package is so enormous that we have two full-time people to > provide support and do builds. Ludicros. Why use ANT when you can > pay someone too much money instead? ha ha ANT -- end From nick at zork.net Mon Apr 14 21:32:48 2003 From: nick at zork.net (Nick Moffitt) Date: Mon, 14 Apr 2003 21:32:48 -0700 Subject: [buug] sourcesafe client In-Reply-To: <20030415042710.GA28488@weak.org> References: <20030414204848.GA1074@stang.jjdev.com> <20030414205326.GC6628@thebackrow.net> <20030414210602.GE17850@linuxmafia.com> <59928.4.17.250.5.1050355307.squirrel@webmail.psys.org> <20030414212613.GA6022@thebackrow.net> <20030415012846.GG18790@zork.net> <20030415042710.GA28488@weak.org> Message-ID: <20030415043248.GI18790@zork.net> begin Jon McClintock quotation: > Perforce is the one and only commercial revision control system I > would ever use. Clients for just about every platform you can think > of, and an awesome paradigm. Sadly, not only is it commercial, but it is also proprietary. -- end From abhay_srivastava at infosys.com Tue Apr 15 01:18:01 2003 From: abhay_srivastava at infosys.com (Abhay Kumar Srivastava) Date: Tue, 15 Apr 2003 13:48:01 +0530 Subject: [buug] substitute for bdevsw_add in FreeBSD 4.7 Message-ID: <882B7E812BE14E4BA7E86387242C8DB902590637@kecmsg11.ad.infosys.com> Hi, This function was there in FreeBSD 3.2 but kern/conf.c is changed in 4.7. Is there any substitute for it else how do we add Block Device. Abhay Kr. Srivastava Software Engineer, Embeded System and Driver Lab, CAPS, Infosys Technologies Ltd. 91-80-852 0261 ext. 2889 91-80-5010 889 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nkj at iaminsane.com Tue Apr 15 16:16:23 2003 From: nkj at iaminsane.com (Nick Jennings) Date: Tue, 15 Apr 2003 16:16:23 -0700 Subject: [buug] linux filesystem limitations Message-ID: <20030415231623.GA20756@iaminsane.com> hello, I was wondering if anyone here knew the maximum number of file/directory entries that can exist inside of one directory? I think it's 32k, is this correct? Has there been any increases in this limitation as of yet? Thanks, - Nick From jammer at weak.org Tue Apr 15 17:33:33 2003 From: jammer at weak.org (Jon McClintock) Date: Tue, 15 Apr 2003 17:33:33 -0700 Subject: [buug] linux filesystem limitations In-Reply-To: <20030415231623.GA20756@iaminsane.com> References: <20030415231623.GA20756@iaminsane.com> Message-ID: <20030416003333.GB5133@weak.org> On Tue, Apr 15, 2003 at 04:16:23PM -0700, Nick Jennings wrote: > hello, I was wondering if anyone here knew the maximum number of > file/directory entries that can exist inside of one directory? > > I think it's 32k, is this correct? Has there been any increases in this > limitation as of yet? From Documentation/filesystems/ext2.txt: There is an upper limit of 32768 subdirectories in a single directory. There is a "soft" upper limit of about 10-15k files in a single directory with the current linear linked-list directory implementation. This limit stems from performance problems when creating and deleting (and also finding) files in such large directories. Using a hashed directory index (under development) allows 100k-1M+ files in a single directory without performance problems (although RAM size becomes an issue at this point). The (meaningless) absolute upper limit of files in a single directory (imposed by the file size, the realistic limit is obviously much less) is over 130 trillion files. It would be higher except there are not enough 4-character names to make up unique directory entries, so they have to be 8 character filenames, even then we are fairly close to running out of unique filenames. ...and now you know... :) -Jon From sneakums at zork.net Wed Apr 16 01:37:59 2003 From: sneakums at zork.net (Sean Neakums) Date: Wed, 16 Apr 2003 09:37:59 +0100 Subject: [buug] linux filesystem limitations In-Reply-To: <20030416003333.GB5133@weak.org> (Jon McClintock's message of "Tue, 15 Apr 2003 17:33:33 -0700") References: <20030415231623.GA20756@iaminsane.com> <20030416003333.GB5133@weak.org> Message-ID: <6uptnm25y0.fsf@zork.zork.net> Jon McClintock writes: > There is a "soft" upper limit of about 10-15k files in a single directory > with the current linear linked-list directory implementation. This limit > stems from performance problems when creating and deleting (and also > finding) files in such large directories. Using a hashed directory index > (under development) allows 100k-1M+ files in a single directory without > performance problems (although RAM size becomes an issue at this point). Also, both resierfs and XFS already use directory layouts that cope well with large numbers of files. The work referenced above is work specific to ext2/ext3. -- Sean Neakums - From sneakums at zork.net Wed Apr 16 01:39:48 2003 From: sneakums at zork.net (Sean Neakums) Date: Wed, 16 Apr 2003 09:39:48 +0100 Subject: [buug] linux filesystem limitations In-Reply-To: <6uptnm25y0.fsf@zork.zork.net> (Sean Neakums's message of "Wed, 16 Apr 2003 09:37:59 +0100") References: <20030415231623.GA20756@iaminsane.com> <20030416003333.GB5133@weak.org> <6uptnm25y0.fsf@zork.zork.net> Message-ID: <6un0iq25uz.fsf@zork.zork.net> Sean Neakums writes: > Also, both resierfs and XFS already use directory layouts that cope > well with large numbers of files. The work referenced above is work > specific to ext2/ext3. s/files/directory entries/ -- Sean Neakums - From nkj at iaminsane.com Wed Apr 16 12:27:46 2003 From: nkj at iaminsane.com (Nick Jennings) Date: Wed, 16 Apr 2003 12:27:46 -0700 Subject: [buug] linux filesystem limitations In-Reply-To: <6uptnm25y0.fsf@zork.zork.net> References: <20030415231623.GA20756@iaminsane.com> <20030416003333.GB5133@weak.org> <6uptnm25y0.fsf@zork.zork.net> Message-ID: <20030416192746.GC31797@iaminsane.com> On Wed, Apr 16, 2003 at 09:37:59AM +0100, Sean Neakums wrote: > > Also, both resierfs and XFS already use directory layouts that cope > well with large numbers of files. The work referenced above is work > specific to ext2/ext3. So with XFS in particular, the limitation of 32k still applies, it's just that the handling of that number is better optomized than with ext2/3 correct? - Nick From sneakums at zork.net Thu Apr 17 00:43:09 2003 From: sneakums at zork.net (Sean Neakums) Date: Thu, 17 Apr 2003 08:43:09 +0100 Subject: [buug] linux filesystem limitations In-Reply-To: <20030416192746.GC31797@iaminsane.com> (Nick Jennings's message of "Wed, 16 Apr 2003 12:27:46 -0700") References: <20030415231623.GA20756@iaminsane.com> <20030416003333.GB5133@weak.org> <6uptnm25y0.fsf@zork.zork.net> <20030416192746.GC31797@iaminsane.com> Message-ID: <6uk7dt1sdu.fsf@zork.zork.net> Nick Jennings writes: > On Wed, Apr 16, 2003 at 09:37:59AM +0100, Sean Neakums wrote: >> >> Also, both resierfs and XFS already use directory layouts that cope >> well with large numbers of files. The work referenced above is work >> specific to ext2/ext3. > > So with XFS in particular, the limitation of 32k still applies, it's > just that the handling of that number is better optomized than with > ext2/3 correct? Given that the citation of a 32k limits came from Documentation/ext2.txt, I would say that that is also a limit specific to ext2/ext3. I am fairly sure that XFS supports larger directories than that, but I can't find anything to cite right now. -- Sean Neakums - From jammer at weak.org Thu Apr 17 17:27:11 2003 From: jammer at weak.org (Jon McClintock) Date: Thu, 17 Apr 2003 17:27:11 -0700 Subject: [buug] Preview The Matrix Reloaded, courtesy of NetworkAppliance Message-ID: <20030418002711.GA18079@weak.org> Check it out... http://netapp.treehousei.com/mtimages/matrix_html/berkeley_invite.html -Jon From jan at caustic.org Thu Apr 17 17:37:41 2003 From: jan at caustic.org (f.johan.beisser) Date: Thu, 17 Apr 2003 17:37:41 -0700 (PDT) Subject: [buug] Preview The Matrix Reloaded, courtesy of NetworkAppliance In-Reply-To: <20030418002711.GA18079@weak.org> Message-ID: <20030417173717.B62201-100000@pogo.caustic.org> On Thu, 17 Apr 2003, Jon McClintock wrote: > Check it out... amazing. netapp is doing something useful. good thing i've been getting up at 6am anyway as of late.. -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan at caustic.org "Champagne for my real friends, real pain for my sham friends." -- Tom Waits From atporter at primate.net Fri Apr 18 12:54:34 2003 From: atporter at primate.net (Aaron T Porter) Date: Fri, 18 Apr 2003 12:54:34 -0700 Subject: [buug] Evil Packet Sniffer Message-ID: <20030418195434.GM12607@primate.net> Here's a link to the sniffer I mentioned at last night's meeting. A very nasty program that's making its way into a number of the script kiddie rootkits floating about. http://ettercap.sf.net/ From nick at zork.net Fri Apr 18 13:17:59 2003 From: nick at zork.net (Nick Moffitt) Date: Fri, 18 Apr 2003 13:17:59 -0700 Subject: [buug] Evil Packet Sniffer In-Reply-To: <20030418195434.GM12607@primate.net> References: <20030418195434.GM12607@primate.net> Message-ID: <20030418201759.GS26752@zork.net> begin Aaron T Porter quotation: > Here's a link to the sniffer I mentioned at last night's meeting. > A very nasty program that's making its way into a number of the script > kiddie rootkits floating about. > > http://ettercap.sf.net/ It's also been on the LNX-BBC for quite some time: http://build.lnx-bbc.org/packages/net/ettercap.html -- end From jan at caustic.org Fri Apr 18 13:25:11 2003 From: jan at caustic.org (f.johan.beisser) Date: Fri, 18 Apr 2003 13:25:11 -0700 (PDT) Subject: [buug] Evil Packet Sniffer In-Reply-To: <20030418195434.GM12607@primate.net> Message-ID: <20030418130431.N62201-100000@pogo.caustic.org> On Fri, 18 Apr 2003, Aaron T Porter wrote: > Here's a link to the sniffer I mentioned at last night's meeting. > A very nasty program that's making its way into a number of the script > kiddie rootkits floating about. doesn't seem all that much different from any other sniffer. Man in the Middle attacks are routine, and prone to detection once you involve cryptography. what i find amusing are the various attacks against specific protocols. i'll run a test on my home LAN in the next couple of weeks. i'm curious about the ssh key interception, aswell as the arp cache spoiling. -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan at caustic.org "Champagne for my real friends, real pain for my sham friends." -- Tom Waits From wfhoney at pacbell.net Fri Apr 18 14:34:01 2003 From: wfhoney at pacbell.net (Bill Honeycutt) Date: Fri, 18 Apr 2003 14:34:01 -0700 Subject: [buug] Evil Packet Sniffer In-Reply-To: <20030418195434.GM12607@primate.net> References: <20030418195434.GM12607@primate.net> Message-ID: <3EA06F49.6050107@pacbell.net> Here's a question for the list. For an existing ssh connection, can you determine which protocol version (1 or 2) was used to establish the connection? Aaron T Porter wrote: > Here's a link to the sniffer I mentioned at last night's meeting. > A very nasty program that's making its way into a number of the script > kiddie rootkits floating about. > > http://ettercap.sf.net/ > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug > From jan at caustic.org Fri Apr 18 14:38:48 2003 From: jan at caustic.org (f.johan.beisser) Date: Fri, 18 Apr 2003 14:38:48 -0700 (PDT) Subject: [buug] Evil Packet Sniffer In-Reply-To: <3EA06F49.6050107@pacbell.net> Message-ID: <20030418143554.S62201-100000@pogo.caustic.org> On Fri, 18 Apr 2003, Bill Honeycutt wrote: > For an existing ssh connection, can you determine which protocol version > (1 or 2) was used to establish the connection? no. for the ettercap trick to work, you have to pass keys unsafely. it's taking advantage of a flaw in the sshv1 protocol.. not in the encryption between the two hosts. -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan at caustic.org "Champagne for my real friends, real pain for my sham friends." -- Tom Waits From john at jjdev.com Sat Apr 19 09:51:02 2003 From: john at jjdev.com (John de la Garza) Date: Sat, 19 Apr 2003 09:51:02 -0700 Subject: [buug] test Message-ID: <1AA4EB09-7287-11D7-A701-000393CB11D4@jjdev.com> test From sneakums at zork.net Sat Apr 19 09:54:04 2003 From: sneakums at zork.net (Sean Neakums) Date: Sat, 19 Apr 2003 17:54:04 +0100 Subject: [buug] test In-Reply-To: <1AA4EB09-7287-11D7-A701-000393CB11D4@jjdev.com> (John de la Garza's message of "Sat, 19 Apr 2003 09:51:02 -0700") References: <1AA4EB09-7287-11D7-A701-000393CB11D4@jjdev.com> Message-ID: <6u7k9qmnrn.fsf@zork.zork.net> John de la Garza writes: > test You flunk. -- Sean Neakums - From cmsclaud at uga.edu Tue Apr 22 13:38:25 2003 From: cmsclaud at uga.edu (cmsclaud at uga.edu) Date: Tue, 22 Apr 2003 15:38:25 -0500 Subject: [buug] E.F. Codd passed away Message-ID: <1051040305.smmsdV1.1.2@mail.arches.uga.edu> Just read that E.F. Codd, inventor of the relational database model, passed away last Friday. http://www.bayarea.com/mld/mercurynews/news/5676110.htm Claude Content-Type: application/octet-stream; name="" Content-Transfer-Encoding: BASE64 DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tNDExODQ2NzYzMzQ= From nick at zork.net Tue Apr 22 16:10:20 2003 From: nick at zork.net (Nick Moffitt) Date: Tue, 22 Apr 2003 16:10:20 -0700 Subject: [buug] E.F. Codd passed away In-Reply-To: <1051040305.smmsdV1.1.2@mail.arches.uga.edu> References: <1051040305.smmsdV1.1.2@mail.arches.uga.edu> Message-ID: <20030422231019.GR23479@zork.net> begin cmsclaud at uga.edu quotation: > Just read that E.F. Codd, inventor of the relational database model, > passed away last Friday. Great! Now maybe we can move on to something not mired in 1970s IBMisms. -- end From itz at speakeasy.org Tue Apr 22 16:32:14 2003 From: itz at speakeasy.org (Ian Zimmerman) Date: 22 Apr 2003 16:32:14 -0700 Subject: [buug] E.F. Codd passed away In-Reply-To: <20030422231019.GR23479@zork.net> References: <1051040305.smmsdV1.1.2@mail.arches.uga.edu> <20030422231019.GR23479@zork.net> Message-ID: <86d6jecdmp.fsf@kronstadt.homeunix.net> Claude> Just read that E.F. Codd, inventor of the relational database Claude> model, passed away last Friday. Nick> Great! Now maybe we can move on to something not mired in 1970s Nick> IBMisms. The relational model is great, it's SQL that stinks. -- "This is the patent age of new inventions For killing bodies, and for saving souls, All propagated with the best intentions." George Gordon, lord Byron From cmsclaud at uga.edu Thu Apr 24 12:43:12 2003 From: cmsclaud at uga.edu (cmsclaud at uga.edu) Date: Thu, 24 Apr 2003 14:43:12 -0500 Subject: [buug] penguinwarehouse.com Message-ID: <1051209792.smmsdV1.1.2@mail.arches.uga.edu> This beats a stuffed Tux doll any day... http://www.penguinwarehouse.com/ Content-Type: application/octet-stream; name="" Content-Transfer-Encoding: BASE64 DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tNDgyNzU0MzYzMjM5MQ== From cmsclaud at uga.edu Thu Apr 24 13:48:20 2003 From: cmsclaud at uga.edu (cmsclaud at uga.edu) Date: Thu, 24 Apr 2003 15:48:20 -0500 Subject: [buug] Re: E.F. Codd passed away Message-ID: <1051213700.smmsdV1.1.2@mail.arches.uga.edu> Nick> Great! Now maybe we can move on to something not mired in 1970 IBMisms. Ian> The relational model is great, it's SQL that stinks. It's a mixture of things. On the one hand, SQL is woefully limited (and, in a number of respects, simply broken). But you've also got the problem that none of the major database vendors (starting with IBM) have fully implemented the relational model. While you certainly can't fault the model (it's just logic, after all), you can blame the implementation. Content-Type: application/octet-stream; name="" Content-Transfer-Encoding: BASE64 DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tMTQ2MDQzOTAyMTUz From cmsclaud at uga.edu Thu Apr 24 21:16:28 2003 From: cmsclaud at uga.edu (Claude Rubinson) Date: Thu, 24 Apr 2003 21:16:28 -0700 Subject: [buug] "Keeping your inbox clean is not my problem" Message-ID: <20030425041628.GA10868@wagner> I'm trying to locate a specific discussion list (or, possibly, usenet) posting. My Google searches have, so far, been unsuccessful. I'm wondering if someone here might know where it is. As far as I can recall, it was a response to the popular suggestion of using whitelists to control spam. The response was something along the lines of "First, discussions of spam control are boring; don't expect to find any sympathizers here." And then the author went on to explain why discussions of spam control are boring. It concluded with a great line along the lines of "Keeping your inbox clean is not my problem." I'm thinking that the author may have been Karsten Self, but I may be wrong. Does anyone have a clue as to what I'm talking about? Thanks, Claude From john at jjdev.com Wed Apr 30 13:40:52 2003 From: john at jjdev.com (johnd) Date: Wed, 30 Apr 2003 13:40:52 -0700 Subject: [buug] regex question Message-ID: <20030430204050.GB3110@stang.jjdev.com> Can someone give me a regex to find some text? I have a file with lines like this aaaaaaaaaaaaUserID=123213&bbbbbbbbbbbbbbbbbbbbbbbbbb I need a regex to substitue on that gives me the part after the = and before the & in this case 123213 it is not for sure the the string will be numeric or alpha I just know it is the text between UserID= and & From atporter at primate.net Wed Apr 30 13:52:52 2003 From: atporter at primate.net (Aaron T Porter) Date: Wed, 30 Apr 2003 13:52:52 -0700 Subject: [buug] regex question In-Reply-To: <20030430204050.GB3110@stang.jjdev.com> References: <20030430204050.GB3110@stang.jjdev.com> Message-ID: <20030430205252.GW12607@primate.net> On Wed, Apr 30, 2003 at 01:40:52PM -0700, johnd wrote: > I need a regex to substitue on that gives me > the part after the = and before the & Something like: ($id) = $_ =~ m"UserID=(.*)&"; From nick at zork.net Wed Apr 30 13:55:12 2003 From: nick at zork.net (Nick Moffitt) Date: Wed, 30 Apr 2003 13:55:12 -0700 Subject: [buug] regex question In-Reply-To: <20030430204050.GB3110@stang.jjdev.com> References: <20030430204050.GB3110@stang.jjdev.com> Message-ID: <20030430205512.GE773@zork.net> begin johnd quotation: > Can someone give me a regex to find some text? > > > I have a file with lines like this > > aaaaaaaaaaaaUserID=123213&bbbbbbbbbbbbbbbbbbbbbbbbbb > > > I need a regex to substitue on that gives me > > the part after the = and before the & > > in this case 123213 > > it is not for sure the the string will be numeric or alpha > > I just know it is the text between UserID= and & If you're using a system that allows you to save references, such as sed, Perl, or awk, you can wrap your answer in parens (appropriately backwhacked for your implementation). For example: $ echo 'aaaaaaaaaaaaUserID=123213&bbbbbbbbbbbbbbbbbbbbbbbbbb' | sed 's/^.*UserID=\([^&]\+\)\&.*$/\1/' 123213 Note that your backwhacks may vary, and Perl uses $1 instead of \1. Apologies for the long line. -- end From nick at zork.net Wed Apr 30 13:56:24 2003 From: nick at zork.net (Nick Moffitt) Date: Wed, 30 Apr 2003 13:56:24 -0700 Subject: [buug] regex question In-Reply-To: <20030430205252.GW12607@primate.net> References: <20030430204050.GB3110@stang.jjdev.com> <20030430205252.GW12607@primate.net> Message-ID: <20030430205624.GF773@zork.net> begin Aaron T Porter quotation: > On Wed, Apr 30, 2003 at 01:40:52PM -0700, johnd wrote: > > I need a regex to substitue on that gives me > > the part after the = and before the & > > Something like: > > ($id) = $_ =~ m"UserID=(.*)&"; That's nice, but it does a lot of backtracking from the end to figure out which & is the terminating symbol. It's much more efficient to use some variant of "[^&]+" instead of ".*". The match then stops at the first & it sees instead of hoping for a later one in the string. -- end From john at jjdev.com Wed Apr 30 13:58:26 2003 From: john at jjdev.com (johnd) Date: Wed, 30 Apr 2003 13:58:26 -0700 Subject: [buug] regex question In-Reply-To: <20030430205252.GW12607@primate.net> References: <20030430204050.GB3110@stang.jjdev.com> <20030430205252.GW12607@primate.net> Message-ID: <20030430205826.GA3197@stang.jjdev.com> On Wed, Apr 30, 2003 at 01:52:52PM -0700, Aaron T Porter wrote: > On Wed, Apr 30, 2003 at 01:40:52PM -0700, johnd wrote: > > I need a regex to substitue on that gives me > > the part after the = and before the & > > Something like: > > ($id) = $_ =~ m"UserID=(.*)&"; I don't follow. How would you use this? For example in vim, if I want to substitute all UserIDs to xyz something I can put in a substitue command %s/the_regex/xyz/g From john at jjdev.com Wed Apr 30 14:07:50 2003 From: john at jjdev.com (johnd) Date: Wed, 30 Apr 2003 14:07:50 -0700 Subject: [buug] more specific Message-ID: <20030430210750.GA3243@stang.jjdev.com> let me ask a more specific question if I have a file with lines that have UserID=somestuff& surrounded by other text how can I substitue the UserID=somestuff for say UserID=foo the file is like this aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb and I want to make it aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb the substring is UserID=text and ends at the & From atporter at primate.net Wed Apr 30 14:15:53 2003 From: atporter at primate.net (Aaron T Porter) Date: Wed, 30 Apr 2003 14:15:53 -0700 Subject: [buug] more specific In-Reply-To: <20030430210750.GA3243@stang.jjdev.com> References: <20030430210750.GA3243@stang.jjdev.com> Message-ID: <20030430211553.GY12607@primate.net> On Wed, Apr 30, 2003 at 02:07:50PM -0700, johnd wrote: > let me ask a more specific question > if I have a file with lines that have UserID=somestuff& > surrounded by other text > how can I substitue the UserID=somestuff for say UserID=foo > the file is like this > aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb > and I want to make it > aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb > the substring is UserID=text and ends at the & Where are you getting newid from? From alex at myzona.net Wed Apr 30 14:20:27 2003 From: alex at myzona.net (Aleksandr Melentiev) Date: Wed, 30 Apr 2003 14:20:27 -0700 Subject: [buug] more specific References: <20030430210750.GA3243@stang.jjdev.com> Message-ID: <001601c30f5e$54b84210$0300a8c0@Romulus> Specific answer to your specific question: kronos# cat testfile aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb kronos# cat testfile | sed -e "s:UserID=oldid:UserID=newid:g" > newfile kronos# cat newfile aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb ----- Original Message ----- From: "johnd" To: Sent: Wednesday, April 30, 2003 2:07 PM Subject: [buug] more specific > let me ask a more specific question > > if I have a file with lines that have UserID=somestuff& > > surrounded by other text > > how can I substitue the UserID=somestuff for say UserID=foo > > the file is like this > > aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb > > and I want to make it > > aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb > > the substring is UserID=text and ends at the & > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug > From john at jjdev.com Wed Apr 30 14:19:59 2003 From: john at jjdev.com (johnd) Date: Wed, 30 Apr 2003 14:19:59 -0700 Subject: [buug] more specific In-Reply-To: <001601c30f5e$54b84210$0300a8c0@Romulus> References: <20030430210750.GA3243@stang.jjdev.com> <001601c30f5e$54b84210$0300a8c0@Romulus> Message-ID: <20030430211959.GA3303@stang.jjdev.com> On Wed, Apr 30, 2003 at 02:20:27PM -0700, Aleksandr Melentiev wrote: > Specific answer to your specific question: > > kronos# cat testfile > aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb > > kronos# cat testfile | sed -e "s:UserID=oldid:UserID=newid:g" > newfile > > kronos# cat newfile > aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb > yea, the thinkg is oldid is always different, that is why I am asking for a regex to find everthing that is UserID to the & From john at jjdev.com Wed Apr 30 14:20:17 2003 From: john at jjdev.com (johnd) Date: Wed, 30 Apr 2003 14:20:17 -0700 Subject: [buug] more specific In-Reply-To: <20030430211553.GY12607@primate.net> References: <20030430210750.GA3243@stang.jjdev.com> <20030430211553.GY12607@primate.net> Message-ID: <20030430212017.GB3303@stang.jjdev.com> On Wed, Apr 30, 2003 at 02:15:53PM -0700, Aaron T Porter wrote: > On Wed, Apr 30, 2003 at 02:07:50PM -0700, johnd wrote: > > let me ask a more specific question > > if I have a file with lines that have UserID=somestuff& > > surrounded by other text > > how can I substitue the UserID=somestuff for say UserID=foo > > the file is like this > > aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb > > and I want to make it > > aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb > > the substring is UserID=text and ends at the & > > Where are you getting newid from? It will always be the same, I'lll provide it From atporter at primate.net Wed Apr 30 14:29:18 2003 From: atporter at primate.net (Aaron T Porter) Date: Wed, 30 Apr 2003 14:29:18 -0700 Subject: [buug] more specific In-Reply-To: <20030430211959.GA3303@stang.jjdev.com> References: <20030430210750.GA3243@stang.jjdev.com> <001601c30f5e$54b84210$0300a8c0@Romulus> <20030430211959.GA3303@stang.jjdev.com> Message-ID: <20030430212918.GZ12607@primate.net> On Wed, Apr 30, 2003 at 02:19:59PM -0700, johnd wrote: > > kronos# cat testfile | sed -e "s:UserID=oldid:UserID=newid:g" > newfile > > yea, the thinkg is oldid is always different, that is why I am asking > for a regex to find everthing that is UserID to the & Since you mentioned VI, this works in vim: :%s/UserID=.\{-}&/UserID=foo\&/ From john at jjdev.com Wed Apr 30 14:32:31 2003 From: john at jjdev.com (johnd) Date: Wed, 30 Apr 2003 14:32:31 -0700 Subject: [buug] more specific In-Reply-To: <20030430212918.GZ12607@primate.net> References: <20030430210750.GA3243@stang.jjdev.com> <001601c30f5e$54b84210$0300a8c0@Romulus> <20030430211959.GA3303@stang.jjdev.com> <20030430212918.GZ12607@primate.net> Message-ID: <20030430213231.GB3348@stang.jjdev.com> On Wed, Apr 30, 2003 at 02:29:18PM -0700, Aaron T Porter wrote: > On Wed, Apr 30, 2003 at 02:19:59PM -0700, johnd wrote: > > > kronos# cat testfile | sed -e "s:UserID=oldid:UserID=newid:g" > newfile > > > > yea, the thinkg is oldid is always different, that is why I am asking > > for a regex to find everthing that is UserID to the & > > Since you mentioned VI, this works in vim: > > :%s/UserID=.\{-}&/UserID=foo\&/ > _______________________________________________ thanks, that does it From atporter at primate.net Wed Apr 30 14:37:51 2003 From: atporter at primate.net (Aaron T Porter) Date: Wed, 30 Apr 2003 14:37:51 -0700 Subject: [buug] regex question In-Reply-To: <20030430205624.GF773@zork.net> References: <20030430204050.GB3110@stang.jjdev.com> <20030430205252.GW12607@primate.net> <20030430205624.GF773@zork.net> Message-ID: <20030430213750.GA12607@primate.net> On Wed, Apr 30, 2003 at 01:56:24PM -0700, Nick Moffitt wrote: > > ($id) = $_ =~ m"UserID=(.*)&"; > > That's nice, but it does a lot of backtracking from the end to > figure out which & is the terminating symbol. It's much more > efficient to use some variant of "[^&]+" instead of ".*". The match > then stops at the first & it sees instead of hoping for a later one in > the string. My perl code is rarely (if ever) described as efficient :) From jeremy at nirvani.net Wed Apr 30 15:02:58 2003 From: jeremy at nirvani.net (Jeremy Brand, B.S.) Date: Wed, 30 Apr 2003 15:02:58 -0700 Subject: [buug] Re: regex question Message-ID: Thus spake Nick Moffitt: > > ($id) = $_ =~ m"UserID=(.*)&"; > > That's nice, but it does a lot of backtracking from > the end to figure out which & is the terminating symbol. > It's much more efficient to use some variant of "[^&]+" > instead of ".*". The match then stops at the first & it > sees instead of hoping for a later one in the string. Lol. I agree with you, but after thinking about this, what's a regex in efficiency compared to starting up PERL. I would have to speculate (because I'm too lazy right now to time() it) that it is relatively negligible. (apologies, no referring Message-Ids - already deleted the email and had to refer to the archives) :) Cheers, Jeremy -- "Prediction is very difficult, especially of the future." Niels Bohr http://www.nirvani.net From nick at zork.net Wed Apr 30 15:56:24 2003 From: nick at zork.net (Nick Moffitt) Date: Wed, 30 Apr 2003 15:56:24 -0700 Subject: [buug] regex question In-Reply-To: <20030430213750.GA12607@primate.net> References: <20030430204050.GB3110@stang.jjdev.com> <20030430205252.GW12607@primate.net> <20030430205624.GF773@zork.net> <20030430213750.GA12607@primate.net> Message-ID: <20030430225624.GH773@zork.net> begin Aaron T Porter quotation: > On Wed, Apr 30, 2003 at 01:56:24PM -0700, Nick Moffitt wrote: > > > > ($id) = $_ =~ m"UserID=(.*)&"; > > > > That's nice, but it does a lot of backtracking from the end to > > figure out which & is the terminating symbol. It's much more > > efficient to use some variant of "[^&]+" instead of ".*". The match > > then stops at the first & it sees instead of hoping for a later one in > > the string. > > My perl code is rarely (if ever) described as efficient :) Well, consider also what your code would do in the event of: aaaaaaaaaaUserID=374743&bbbbbbbbbb&bbbbbbb You'd get "374743&bbbbbbbbbb" on account of the greediness of * -- end From nick at zork.net Wed Apr 30 16:06:12 2003 From: nick at zork.net (Nick Moffitt) Date: Wed, 30 Apr 2003 16:06:12 -0700 Subject: [buug] Re: regex question In-Reply-To: References: Message-ID: <20030430230612.GJ773@zork.net> begin Jeremy Brand, B.S. quotation: > Lol. I agree with you, but after thinking about this, > what's a regex in efficiency compared to starting up PERL. > I would have to speculate (because I'm too lazy right now > to time() it) that it is relatively negligible. Depends on your data set. Starting up Perl may be a long time, but it's constant. greedy grabs are going to be O(N*M) where M is the length of your string. Knocking down M speeds things up for large N. -- end From flarg at flarg.org Wed Apr 30 17:00:16 2003 From: flarg at flarg.org (Stefan Lasiewski) Date: Wed, 30 Apr 2003 17:00:16 -0700 Subject: [buug] Jermey Allison from Samba at Lawrence Berkeley Lab on Monday Message-ID: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> For those that are interested, Jeremy Allison from the Samba project is speaking at the Lawrence Berkeley Lab LUG this next Monday, May 6 at Noon. Samba 3 is in the alpha stages, and they are working alot on getting some Active Directory and Kerberos features, to work better with Win2k systems. See http://lug.lbl.gov for more information. I don't work there, but I try to go to the meetings. My advice on LBL security: Bring a picture ID and a printout of the RSVP list showing your name. Show this stuff to the guards or at the bus driver. -= Stefan From atporter at primate.net Wed Apr 30 19:07:10 2003 From: atporter at primate.net (Aaron T Porter) Date: Wed, 30 Apr 2003 19:07:10 -0700 Subject: [buug] Jermey Allison from Samba at Lawrence Berkeley Lab on Monday In-Reply-To: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> References: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> Message-ID: <20030501020710.GM12607@primate.net> On Wed, Apr 30, 2003 at 05:00:16PM -0700, Stefan Lasiewski wrote: > For those that are interested, Jeremy Allison from the Samba project is > speaking at the Lawrence Berkeley Lab LUG this next Monday, May 6 at Noon. > Samba 3 is in the alpha stages, and they are working alot on getting some > Active Directory and Kerberos features, to work better with Win2k systems. Jeremy's a fantasticly ammusing speaker. Last time I saw him at SVLUG he spent about 15 minutes on SAMBA and about 45 minutes on Microsoft horror stories and anecdotes. Lots of fun. From nick at zork.net Wed Apr 30 19:10:39 2003 From: nick at zork.net (Nick Moffitt) Date: Wed, 30 Apr 2003 19:10:39 -0700 Subject: [buug] Jermey Allison from Samba at Lawrence Berkeley Lab on Monday In-Reply-To: <20030501020710.GM12607@primate.net> References: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> <20030501020710.GM12607@primate.net> Message-ID: <20030501021039.GS773@zork.net> begin Aaron T Porter quotation: > Jeremy's a fantasticly ammusing speaker. Last time I saw him at > SVLUG he spent about 15 minutes on SAMBA and about 45 minutes on > Microsoft horror stories and anecdotes. Lots of fun. Agreed! Even if you don't care much for SMB networking, come for his anecdotes on project management, revision control systems, buggy distributions, and beligerent software companies. He's definitely a speaker in the vein of Kirk McKusick! -- end From dave at mikamyla.com Wed Apr 30 19:27:50 2003 From: dave at mikamyla.com (Dave Barry) Date: Wed, 30 Apr 2003 19:27:50 -0700 Subject: [buug] Jermey Allison from Samba at Lawrence Berkeley Lab on Monday In-Reply-To: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> References: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> Message-ID: <20030501022749.GA27387@mikamyla.com> Quothe Stefan Lasiewski , on Wed, Apr 30, 2003: > For those that are interested, Jeremy Allison from the Samba project is > speaking at the Lawrence Berkeley Lab LUG this next Monday, May 6 at Noon. May 6 is Tuesday, just to be clear. -- Bush War One Bush War Two They got a war for me, they got a war for you. --Michael Franti From nick at zork.net Wed Apr 30 21:22:36 2003 From: nick at zork.net (Nick Moffitt) Date: Wed, 30 Apr 2003 21:22:36 -0700 Subject: [buug] Jermey Allison from Samba at Lawrence Berkeley Lab on Monday In-Reply-To: <20030501022749.GA27387@mikamyla.com> References: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> <20030501022749.GA27387@mikamyla.com> Message-ID: <20030501042236.GV773@zork.net> begin Dave Barry quotation: > May 6 is Tuesday, just to be clear. STOP TRYING TO CONFUSE US WITH FACTS! -- end From wfhoney at pacbell.net Wed Apr 30 22:31:21 2003 From: wfhoney at pacbell.net (Wm. F. Honeycutt) Date: Wed, 30 Apr 2003 22:31:21 -0700 Subject: [buug] Jermey Allison from Samba at Lawrence Berkeley Lab on Monday References: <00cb01c30f74$a617b3a0$6401a8c0@attbi.com> <20030501020710.GM12607@primate.net> Message-ID: <3EB0B129.7070005@pacbell.net> Aaron T Porter wrote: > On Wed, Apr 30, 2003 at 05:00:16PM -0700, Stefan Lasiewski wrote: > >>For those that are interested, Jeremy Allison from the Samba project is >>speaking at the Lawrence Berkeley Lab LUG this next Monday, May 6 at Noon. >>Samba 3 is in the alpha stages, and they are working alot on getting some >>Active Directory and Kerberos features, to work better with Win2k systems. > > > Jeremy's a fantasticly ammusing speaker. Last time I saw him at > SVLUG he spent about 15 minutes on SAMBA and about 45 minutes on Microsoft > horror stories and anecdotes. Lots of fun. Can someone hit ? I'd like to go, but can't get there.