Re: how to test out cron.c changes? (was: cvs commit: src/etccrontab)

2001-01-21 Thread Dan Langille
Sergy wrote: As far as I've watched this thread nobody had explained it. So could you please elaborate ? Nobody explained it to your satisfaction but you still committed it? Nobody explained it to my satisfaction why I should not commit it. Ummm, well, that's a good reason to

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-22 Thread Dan Langille
Please have a read of this URL for me and give me some suggestions as to how you think it should be updated: http://www.freebsd.org/handbook/kernelconfig-building.html ...and I'll submit a PR. cheers. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Un

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-23 Thread Dan Langille
PR is can still be found. Look for submitter = my name. Otherwise, it'll be the weekend before I have time. In message [EMAIL PROTECTED] "Dan Langille" writes: : http://www.freebsd.org/handbook/kernelconfig-building.html This change should do the trick if I'm reading things right.

Re: IP Address Overtaking

2001-01-23 Thread Dan Langille
DZ wrote: I could not find any non-commercial IP Address overtaking solution for FreeBSD so I wrote this simple shell script. If you find it useful you can use it. What is "IP Address overtaking"? - This message was sent using Endymion MailMan.

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-24 Thread Dan Langille
Warner Losh wrote: In message [EMAIL PROTECTED] "Dan Langille" writes: : http://www.freebsd.org/handbook/kernelconfig-building.html This change should do the trick if I'm reading things right. It's still KERNEL= in -stable though I think. I think I'll just add a note

gzip and cvsweb.cgi

2001-01-29 Thread Dan Langille
I've noticed that cvsweb.cgi sometimes gives me GZIP and sometimes not. I tracked down a fix for my needs, but would like some feedback please. The problem arose when FreshPorts old me it couldn't do anything with a Makefile it had just obtained (via fetch), so I went to look. What I found was

Re: gzip and cvsweb.cgi

2001-01-29 Thread Dan Langille
nt, FreshPorts seems to be happy with /~checkout~/. But I would like to know more. thanks. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Snowhite and the Seven Dwarfs - The REAL story!

2001-01-30 Thread Dan Langille
it on our lists. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Where is ftp.FreeBSD.org?

2001-01-30 Thread Dan Langille
/ -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: gzip and cvsweb.cg

2001-01-31 Thread Dan Langille
On 30 Jan 2001, at 14:35, Akinori MUSHA wrote: At Tue, 30 Jan 2001 14:26:01 +1300 (NZDT), Dan Langille wrote: I've noticed that cvsweb.cgi sometimes gives me GZIP and sometimes not. I tracked down a fix for my needs, but would like some feedback please. The problem arose when

Re: gzip and cvsweb.cg

2001-01-31 Thread Dan Langille
oGo Search-current/Makefile?rev=HEAD Not the ideal situation. fetch *should* work. Surely fetch doesn't claim to be gzip compatible. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: panic: ufs_dirbad: bad dir

2001-02-01 Thread Dan Langille
After a suggestion offlist, here's the additional information from a boot -v: Mounting root from ufs:/dev/ad0s1a ad0s1: type 0xa5, start 63, end = 2503871, size 2503809 : OK /: bad dir ino 2 at offset 0: mangled entry panic: ufs_dirbad: bad dir syncing disks 1 1 1 1 1 1 1 1..etc giving up

Re: panic: ufs_dirbad: bad dir

2001-02-01 Thread Dan Langille
ve the drive mounted on another box. There is no /kernel.old any more. I have installed the new 4.2 kernel when the drive was mounted in another box. Its that kernel which produce the messages below. Thanks. Dan Langille writes: I recently upgraded a box from 4.1-stable to 4.2-

panic: ufs_dirbad: bad dir

2001-02-01 Thread Dan Langille
at offset 0: mangled entry panic: ufs_dirbad: bad dir syncing disks 1 1 1 1 1 1 1 1..etc giving up on 1 buffers I did an fsck on the disk by moving it to another box. The above messages appeared both before and after the fsck. Clues please! -- Dan Langille - novice in training [my thanks

Re: panic: ufs_dirbad: bad dir

2001-02-02 Thread Dan Langille
James writes: You might also wanna try installing the same /kernel and /modules that you were when it panic'd, while you have the drive mounted on another box. That's a point. I'll try that now. BTW: Someone sent me this:

Re: Trailing slashes and rmdir - POLA broken

2001-02-03 Thread Dan Langille
On 4 Feb 2001, at 6:46, Greg Black wrote: Observe the following: $ uname -rs FreeBSD 4.1-RELEASE $ ls -l $ mkdir foo $ ln -s foo bar $ rmdir bar rmdir: bar: Not a directory I'm quite sure that rm bar will work. Have you tried rmdir ./bar? -- Dan Langille

Re: Trailing slashes and rmdir - POLA broken

2001-02-03 Thread Dan Langille
er 4 hours of sleep.... -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: panic: ufs_dirbad: bad dir

2001-02-03 Thread Dan Langille
I had to give up on that disk. I bought a new 10GB IDE to replace it (it's going to be vastly under-filled). I still have the disk, so if anyone wants to follow this up, it is still intact. On 2 Feb 2001, at 5:21, Dan Langille wrote: I recently upgraded a box from 4.1-stable to 4.2-stable

An example script for creating a bootable floppy

2001-02-03 Thread Dan Langille
n_sig.c: In function `osigsuspend': ../../kern/kern_sig.c:729: dereferencing pointer to incomplete type *** Error code 1 -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: An example script for creating a bootable floppy

2001-02-03 Thread Dan Langille
reference to `vidsw' scvidctl.o(.text+0x7a3): undefined reference to `vidsw' scvidctl.o(.text+0x7bc): undefined reference to `vid_get_adapter' scvidctl.o(.text+0x822): undefined reference to `vid_get_adapter' ..etc. thanks -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org

Re: An example script for creating a bootable floppy

2001-02-03 Thread Dan Langille
mount failed, then a panic, but at least it's a kernel. If I make any more progress, I'll le you know. Thanks. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i

ping over IPSEC works in only one direction

2001-02-05 Thread Dan Langille
pass in quick proto esp from any to any clues please! thanks -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: ping over IPSEC works in only one direction

2001-02-05 Thread Dan Langille
oming ping request and outgoing ping replies. Quite odd. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: syscall kernel modules on 3.0-release

2001-02-07 Thread Dan Langille
e upgraded) is when it breaks and requires a complete reinstall to become operational. It might pay to send an email to your boss, cc'd to yourself explaining this. I've seen some managers who make decisions such as that and then blame others when the crap hits. -- Dan Langille pgpkey - fin

Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2

2001-03-13 Thread Dan Langille
c/UPDATING: No such file or directory Perhaps the documentation should be installed more thoroughly. Perhaps you should install the documentation. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail

Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2

2001-03-13 Thread Dan Langille
On 14 Mar 2001, at 12:05, Greg Black wrote: "Dan Langille" writes: | On 14 Mar 2001, at 11:57, Greg Black wrote: | | "David O'Brien" writes: | | | Perhaps you should read the documentation we supplied on this issue. | | | | bash$ cat /usr/src/UP

Re: Intel driver doc's Take 2.

2001-03-24 Thread Dan Langille
On 24 Mar 2001, at 16:12, Dennis wrote: And why does all of your email have that stupid attachment? Whats the matter, cant figure out how to use an open-source mailer? :-) It's called a PGP signature. Could you two kids please take this pissing contest off -hackers? Thanks. -- Dan

Re: Intel driver doc's Take 2.

2001-03-24 Thread Dan Langille
to this list. Please take it elsewhere. -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

processing incoming mail messages (FreshPorts 2)

2000-12-16 Thread Dan Langille
. As opposed to starting a separate perl script for each message (which is the the existing strategy and is usually fine, except when large numbers of messages turn up in a short period of time). -- Dan Langille The FreeBSD Diary - http://www.freebsddiary.org/ NZ ADSL - http://www.unixathome.org

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 11:22, Joseph Scott wrote: On Sun, 17 Dec 2000, Dan Langille wrote: # Which list would be more appropriate for asking advice on designing a # mail processing strategy for FreshPorts 2 (i.e. processing all of # cvs-all, not just the ports)? # # I'm looking

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
ed for any additional file locking as well. Thanks. Offline, someone also suggested exim, which contains a perl interpreter. But I would rather develop an MTA independent solution. -- Dan Langille The FreeBSD Diary - http://www.freebsddiary.org/ NZ ADSL - http://www.unixathome.org/ads

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
ppreciated. -- Dan Langille The FreeBSD Diary - http://www.freebsddiary.org/ NZ ADSL - http://www.unixathome.org/adsl/ NZ Broadband - http://www.unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
On 18 Dec 2000, at 12:11, Joseph Scott wrote: On Tue, 19 Dec 2000, Dan Langille wrote: # On 18 Dec 2000, at 12:03, Joseph Scott wrote: # #Let's say, at a minimum you want the queue to run every 30 # minutes. However, if there are a large number of commits in the queue, # you

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread Dan Langille
for years; the bad news is that this binary seems to be missing from elm-2.5. No such feature in mutt Thanks. Always interesting to know. BTW folks, the thread has moved to freebsd-ports, unless someone can suggest a more appropriate list. -- Dan Langille The FreeBSD Diary

anyone want to learn XML / work on FreshPorts2?

2000-12-22 Thread Dan Langille
? -- Dan Langille The FreeBSD Diary - http://www.freebsddiary.org/ NZ ADSL - http://www.unixathome.org/adsl/ NZ Broadband - http://www.unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: ssh - are you nuts?!?

2000-12-23 Thread Dan Langille
On 23 Dec 2000, at 2:00, [EMAIL PROTECTED] wrote: On 23 Dec, Dan Langille wrote: On 23 Dec 2000, at 13:25, David Preece wrote: At 15:37 22/12/00 -0800, you wrote: The question asked is: why you believe ssh is beter than say telnet. Or what advantages SSH has in general. Sorry

Re: anyone want to learn XML / work on FreshPorts2?

2000-12-24 Thread Dan Langille
these discussions, I suggest they join the mailing list [EMAIL PROTECTED] On that list, we discuss the design in a bit more detail than here. Send a message to [EMAIL PROTECTED] with "subscribe develop" in the body of the message. -- Dan Langille The FreeBSD Diary - http://freebs

waiting for new files in a directory

2000-12-26 Thread Dan Langille
start another one. Any ideas on how to do this? Any suggestions on the process? -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED

Re: waiting for new files in a directory

2000-12-27 Thread Dan Langille
. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: waiting for new files in a directory

2000-12-27 Thread Dan Langille
, and you can use the rename() syscall. At present the files are created through procmail like this: |/usr/bin/perl $HOME/process_cvs_mail.pl ~/msgs/$FILE I guess I could add a rename. cheers -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org

Re: waiting for new files in a directory

2000-12-27 Thread Dan Langille
Mark. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: waiting for new files in a directory

2000-12-27 Thread Dan Langille
/perl $HOME/process_cvs_mail.pl ~/msgs/$FILE chmod o+r ~/msgs/$FILE Works great. Cheers. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED

Re: waiting for new files in a directory

2000-12-27 Thread Dan Langille
On 27 Dec 2000, at 19:56, Peter Pentchev wrote: On Wed, Dec 27, 2000 at 09:16:34AM -0800, Alfred Perlstein wrote: * Dan Langille [EMAIL PROTECTED] [001226 23:50] wrote: My idea is to have a daemon, or something resembling one, sitting on the box watching the directory. When a new

Re: waiting for new files in a directory

2000-12-27 Thread Dan Langille
sconnected from the net. The mail builds up and then arrives all at once. That's the reason for freeing up the MTA quickly. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubsc

Re: Silent FreeBSD

2000-12-27 Thread Dan Langille
. I can't hear those fans :-) I'm impressed. No loss of signal I presume? Special cables? or just long? -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail

Re: A couple of Junior Hacker tasks...

2000-12-28 Thread Dan Langille
On 28 Dec 2000, at 9:36, Poul-Henning Kamp wrote: which are good candidates for people looking for a good and simple task to do for FreeBSD. How do we know which are the "good and simple" ones? -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPo

Re: waiting for new files in a directory

2000-12-28 Thread Dan Langille
processing? Could a signal be missed? thank you. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: waiting for new files in a directory

2000-12-28 Thread Dan Langille
On 28 Dec 2000, at 11:29, Volker Stolz wrote: Am 28. Dec 2000 um 10:33 MET schrieb Dan Langille: What about a daemon signalling a waiting perl script? Is it an issue if the daemon signals the perl script when it's already processing? Could a signal be missed? How about using a FIFO

Re: OT: silence as an answer? (was: how to test out cron.c changes?)

2001-01-02 Thread Dan Langille
an interest in what you're doing. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: KVM switch vs. FreeBSD psm driver (Solved!)

2001-01-06 Thread Dan Langille
f enabling no-keyboard booting, but there is no setting in the BIOS. It's on the motherboard I'm told and I've yet to open the box and find it. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-10 Thread Dan Langille
s positive, consider changing it to the default behaviour. Such a radical change to cron cannot be implemented without sufficient field testing. That will take years. It cannot be simulated. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.or

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-10 Thread Dan Langille
erhaps offer them back a patch to ignore what "ultra leet sysadmins who rely on broken behaviour because people who don't are simply stupid and shouldn't be running FreeBSD anyway!" with an option. Maybe I'm stupid. I couldn't parse that. But I get the drift. -- Dan Langille The

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-11 Thread Dan Langille
. If the changes are modular, and I sure hope they are, it would almost be a matter of: if newcode then call new stutt end if But I'm guessing it's going to be a *bit* more complicated than that. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org

Re: Software Patents

2001-01-11 Thread Dan Langille
someone sign it in the name of the FreeBSD project? Speaking of patents, I hope you've all read: http://www.idg.co.nz/computerworld/cw.nsf/ArchiveAuthor/C9CB523B4 A3818EBCC2569B20071EFC3?OpenDocument -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http

Re: Overview of CVS changes

2001-01-17 Thread Dan Langille
are a 4-6 weeks from having a beta website ready to go. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-17 Thread Dan Langille
handle DST). Therein I suggest to - not touch current cron at all but switch to a different executable by means of the newly introduced rc.conf variables or to This is the safest route IMHO. No risk for that that choose not to use it. -- Dan Langille The FreeBSD Diary - http://freebs

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Dan Langille
or we fix buildkernel so it works as advertised in the handbook. I don't mind either solution. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=24148 -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Dan Langille
. It is. ;) -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-21 Thread Dan Langille
d the code to find out] -- Dan Langille pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

F1+Konsole+bash = bash.core

2004-03-16 Thread Dan Langille
: [kde-freebsd] F1+Konsole+bash = bash.core Date sent: Tue, 16 Mar 2004 09:15:39 +0200 Copies to: Dan Langille [EMAIL PROTECTED] On Tuesday 16 March 2004 02:23, Dan Langille wrote: Hi, Would this be considered a Konsole issue? Press F1 while in a bash shell in Konsole

Re: F1+Konsole+bash = bash.core

2004-03-17 Thread Dan Langille
On Wed, 17 Mar 2004, Allan Fields wrote: Ultimately this bug might be best directed to [EMAIL PROTECTED] or [EMAIL PROTECTED] if patching the system libreadline doesn't help. I was trying to do that last night, but they were having DNS problems. I will try again later today. -- Dan

Re: F1+Konsole+bash = bash.core

2004-03-17 Thread Dan Langille
/61297 Then I'll try sumbmitting that bashbug report again. -- Dan Langille - BSDCan: http://www.bsdcan.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: F1+Konsole+bash = bash.core

2004-03-17 Thread Dan Langille
On Wed, 17 Mar 2004, Dan Langille wrote: On Wed, 17 Mar 2004, Allan Fields wrote: Ultimately this bug might be best directed to [EMAIL PROTECTED] or [EMAIL PROTECTED] if patching the system libreadline doesn't help. I was trying to do that last night, but they were having DNS problems

fsck fails - mark sectors as bad?

2004-03-28 Thread Dan Langille
(ad2s1 bn 40829900; cn 2541 tn 138 sn 41) status=59 error=40 -- Dan Langille : http://www.langille.org/ BSDCan - http://www.bsdcan.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: fsck fails - mark sectors as bad?

2004-03-29 Thread Dan Langille
=40 Mar 28 19:48:40 tmp /kernel: ad2: READ command timeout tag=0 serv=0 - resetting Mar 28 19:48:40 tmp /kernel: ata1: resetting devices .. ata1-slave: ATA identify retries exceeded Mar 28 19:48:40 tmp /kernel: done -- Dan Langille : http://www.langille.org/ BSDCan - http://www.bsdcan.org

Re: Loosing STDOUT after file rotation

2004-04-02 Thread Dan Langille
to the file. I can not stop and restart the program. I can accept a signal. But what do I need to do in program_name to allow the data to be written after the rotation of the file. When the signal is received, close the file, and reopen it. -- Dan Langille - BSDCan: http://www.bsdcan.org

Re: Loosing STDOUT after file rotation

2004-04-02 Thread Dan Langille
to the file. I can not stop and restart the program. I can accept a signal. But what do I need to do in program_name to allow the data to be written after the rotation of the file. Sorry, I missed the above I thought you were writing directly. -- Dan Langille - BSDCan: http

Re: Fundraising for FreeBSD development.

2004-04-08 Thread Dan Langille
On Thu, 8 Apr 2004, Poul-Henning Kamp wrote: http://people.freebsd.org/~phk/funding.html typo :(An before any of you get an Should be And, not An. -- Dan Langille - BSDCan: http://www.bsdcan.org/ ___ [EMAIL PROTECTED] mailing list http

Re: Fundraising for FreeBSD development.

2004-04-08 Thread Dan Langille
those that contribute. -- Dan Langille - BSDCan: http://www.bsdcan.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: testing for substrings in perl

2004-06-07 Thread Dan Langille
On 7 Jun 2004 at 16:31, Chris Costello wrote: On Sun, 2003-10-05 at 10:32, Dan Langille wrote: I think it might just be easier to do a straight comparison of the first N characters of the two strings where N = length of the directory name. Any suggestions? You can do

Re: Kernel GENERIC config file

2004-07-27 Thread Dan Langille
from CVS via the cvsweb interface: see http://www.freebsd.org/ -- Dan Langille - http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Raid problems

2004-09-21 Thread Dan Langille
computer). You are asking on the wrong list. Ask on [EMAIL PROTECTED] -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo

Re: Above the law? (was: You gotta be kidding .... Re: cvs commit: src/sys/miscfs/specfs spec_vnops.c)

2005-01-16 Thread Dan Langille
On 16 Jan 2005 at 17:30, Linus Caldwell wrote: [Although this is formally a reply to Matt, I'm addressing the committers community here] Then please address to to the committers mailing list. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http

Is tar doing the right thing here?

2003-08-17 Thread Dan Langille
Why is this message not being suppressed? $ tar -czf test.tgz / 21 /dev/null tar: Removing leading `/' from member names And I don't really want to use the -P option. [Please cc me on all replies; thanks] -- Dan Langille : http://www.langille.org

comments on proposed uthread_write.c changes

2003-09-07 Thread Dan Langille
A problem with pthreads and EOT has been identified. See PR 56274. It was suggested the solution was probably just a matter of changing one of the 0 tests to =0 in uthread_write.c Any comments on that? Here's a diff I came up with after looking at src/lib/libc_r/uthreaduthread_write.c. Any

Re: comments on proposed uthread_write.c changes

2003-09-07 Thread Dan Langille
On 7 Sep 2003 at 12:32, Daniel Eischen wrote: On Sun, 7 Sep 2003, Dan Langille wrote: A problem with pthreads and EOT has been identified. See PR 56274. It was suggested the solution was probably just a matter of changing one of the 0 tests to =0 in uthread_write.c Any comments

Re: comments on proposed uthread_write.c changes

2003-09-08 Thread Dan Langille
On 7 Sep 2003 at 19:40, Dan Langille wrote: On 7 Sep 2003 at 12:32, Daniel Eischen wrote: On Sun, 7 Sep 2003, Dan Langille wrote: A problem with pthreads and EOT has been identified. See PR 56274. It was suggested the solution was probably just a matter of changing one of the 0

Re: Any workarounds for Verisign .com/.net highjacking?

2003-09-16 Thread Dan Langille
of the zone before loading it. Any ideas, either under djbdns or Bind 9? Sorry, only for bind8, as was posted to my local LUG list: http://achurch.org/bind-verisign-patch.html -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list

[PATCH] : libc_r/uthread/uthread_write.c

2003-09-16 Thread Dan Langille
); + } + break; /* Check if the write has completed: */ } else if (num = nbytes) -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-17 Thread Dan Langille
On 16 Sep 2003 at 20:49, Daniel Eischen wrote: On Tue, 16 Sep 2003, Dan Langille wrote: I've had preliminary success with this patch. More testing needs to be done, but in the meantime, I would appreciate reviews and comments. The patched code is available from http

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-19 Thread Dan Langille
of not correctly signalled. See http://www.freebsd.org/cgi/query- pr.cgi?pr=56274. But if I've missed the point, could someone please provide a Terry- English translation? I tried http://babelfish.altavista.com/ but had no succeess. -- Dan Langille : http://www.langille.org

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-29 Thread Dan Langille
On 18 Sep 2003 at 7:50, Daniel Eischen wrote: On Wed, 17 Sep 2003, Dan Langille wrote: On 16 Sep 2003 at 20:49, Daniel Eischen wrote: On Tue, 16 Sep 2003, Dan Langille wrote: I've had preliminary success with this patch. More testing needs to be done, but in the meantime

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-29 Thread Dan Langille
On 29 Sep 2003 at 9:02, Daniel Eischen wrote: On Mon, 29 Sep 2003, Dan Langille wrote: On 18 Sep 2003 at 7:50, Daniel Eischen wrote: Right, this seems correct to me. All our testing on this patch has been successful. I'm going to do a few more tests on different hardware

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-10-04 Thread Dan Langille
On 4 Oct 2003 at 10:17, Daniel Eischen wrote: On Mon, 29 Sep 2003, Dan Langille wrote: All our testing on this patch has been successful. I'm going to do a few more tests on different hardware under 4.8-stable. What's the next step? Commit it? Get others to test with it first

testing for substrings in perl

2003-10-05 Thread Dan Langille
Hi, I have a perl regex to test if a file resides under a particular directory. The test looks like this: if ($filename =~ $directory) { # yes, this filename resides under directory } This is working for most cases. However, it fails is the directory contains a +. For example: $filename

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-10-06 Thread Dan Langille
On 6 Oct 2003 at 19:10, Daniel Eischen wrote: Is your mailer screwed up? We're getting duplicates (a few days later). I don't think so. Could they have been moderated? What do the headers say? -- Dan Langille : http://www.langille.org/ ___ [EMAIL

non-root process and PID files

2003-10-27 Thread Dan Langille
Of the two, I think #1 is cleaner as it does not require another directory with special permissions. Any suggestions? -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: non-root process and PID files

2003-10-27 Thread Dan Langille
On 27 Oct 2003 at 17:39, Oliver Eikemeier wrote: Dan Langille wrote: If a process starts up and does a setuid, should it be writing the PID file before or after the setuid? Two methods exists AFAIK: 1 - write your PID immediately, and the file is chown root:wheel 2 - write

Re: non-root process and PID files

2003-10-27 Thread Dan Langille
On Mon, 27 Oct 2003, Wes Peters wrote: On Monday 27 October 2003 07:31 am, Dan Langille wrote: If a process starts up and does a setuid, should it be writing the PID file before or after the setuid? Two methods exists AFAIK: 1 - write your PID immediately, and the file is chown

hosts_access(3) - correct usage?

2003-10-29 Thread Dan Langille
(cli_addr.sin_port)); close(newsockfd); continue; } V(mutex); #endif -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: hosts_access(3) - correct usage?

2003-10-29 Thread Dan Langille
On 29 Oct 2003 at 17:10, Guido van Rooij wrote: On Wed, Oct 29, 2003 at 09:38:50AM -0500, Dan Langille wrote: Is this the right way to use hosts_access? The code blows up during the hosts_access call. I'm told it runs OK on Linux/Solaris. I'm wonderding if there's something different

Re: hosts_access(3) - correct usage?

2003-10-29 Thread Dan Langille
On 29 Oct 2003 at 18:26, Dan Langille wrote: On 29 Oct 2003 at 17:10, Guido van Rooij wrote: On Wed, Oct 29, 2003 at 09:38:50AM -0500, Dan Langille wrote: Is this the right way to use hosts_access? The code blows up during the hosts_access call. I'm told it runs OK on Linux/Solaris

libwrap crash

2003-10-30 Thread Dan Langille
: Bad address. (gdb -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: libwrap crash

2003-10-30 Thread Dan Langille
On 30 Oct 2003 at 9:42, Dan Langille wrote: I've been tracking down a libwrap call which crashes the application. The crash occurs on line 395 of contrib/tcp_wrappers/options.c, but I have no idea. I've been given some help in this offline. Apparently, the bacula code is incorrectly

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-11-14 Thread Dan Langille
) { + break; + } + Oops. On 17 Sep 2003 at 10:32, Dan Langille wrote: On 16 Sep 2003 at 20:49, Daniel Eischen wrote: On Tue, 16 Sep 2003, Dan Langille wrote: I've had preliminary success with this patch. More testing needs

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-11-14 Thread Dan Langille
On 14 Nov 2003 at 10:08, Dan Langille wrote: Daniel: It appears the patch which was comitted didn't include everything it should. I blame myself because the patch below contains both debugging code and is reversed. I will submit a PR with a patch. In brief, what is missing

using devel/libusb to access USB

2003-11-24 Thread Dan Langille
devices, and therefore the while loop is never entered. We tracked the problem down to usb_os_find_devices() (within bsd.c) and found that various things were preventing the list from being created. We're wondering if anyone has had success with devel/libusb for similar things. -- Dan Langille

Re: Subscription to n lists

2003-12-18 Thread Dan Langille
On 18 Dec 2003 at 12:28, Aniruddha Bohra wrote: Is there any way to stop this ? Ignore it. It's being handled. -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

optionally include file within a Makefile

2003-12-18 Thread Dan Langille
: $ make setup Makefile, line 8: Need an operator where line 8 is the fi. Ideas? -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

Re: optionally include file within a Makefile

2003-12-18 Thread Dan Langille
On 18 Dec 2003 at 19:02, Dan Langille wrote: My goal is provide a way to override values in a Makefile with values from a local config file. I'm getting further. What's the proper way to do an include? [EMAIL PROTECTED]:~] $ cat Makefile A?=things all: @echo A is $A if [ -r

  1   2   >