Re: Permissions on crontab..

2001-01-17 Thread void
On Wed, Jan 17, 2001 at 10:45:57AM +, David Malone wrote: > > True - but I'd say it provides a false sense of security, which > might be more damaging than the extra security provided against > read-only exploits in crontab. That's silly. Group tty can be leveraged to provide more privilege

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

2001-01-23 Thread void
On Mon, Jan 22, 2001 at 01:11:15AM -0700, Warner Losh wrote: > > I've committed this change, as threatened late last week, since no one > said not to. Thank you. > buildworld is still required acorss major releases, when binutils > change, and when config's version changes. if buildkernel fai

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

2001-01-23 Thread void
On Tue, Jan 23, 2001 at 02:33:52PM -0700, Warner Losh wrote: > In message <[EMAIL PROTECTED]> void writes: > : Is it possible/desirable to have make print a message upon failure of > : the buildkernel target, suggesting that the user do a buildworld if > : they haven'

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

2001-01-23 Thread void
On Tue, Jan 23, 2001 at 02:52:54PM -0700, Warner Losh wrote: > > I don't know how to generate a warning that isn't a false positive in > most cases. Hmm ... how about something like, "make buildkernel failed, please check /usr/src/UPDATING for relevant information" ? -- Ben "I told Paddy

Re: soft updates performance

2001-02-13 Thread void
On Mon, Feb 12, 2001 at 10:36:40PM -0800, Jordan Hubbard wrote: > > With how many running processors? If you're running -j4 on a > uniprocessor system, you're only introducing competition for already > scarce CPU resources, though -j2 can be a speedup since this allows > one target build to run

Re: Is mkdir guaranteed to be 'atomic' ??

2001-03-01 Thread void
On Mon, Feb 26, 2001 at 02:10:47PM -0800, Mike Smith wrote: > > > > Well, imagine a hypothetical broken system in which two simultaneous calls > > to mkdir, on some hypothetical broken filesystem, can each think that it > > "succeeded". After all, at the end of the operation, the directory has >

Re: Shoutcast, high cpu, threads

2001-04-17 Thread void
On Tue, Apr 17, 2001 at 01:47:11AM -0400, Charles Sprickman wrote: > Hi, > > I'm running shoutcast on a 4.2R machine, and I'm finding that the > shoutcast server, when idle climbs up to around 90% cpu usage. Included > is a bit of back-and-forth with a shoutcast support person. > > I'm not too

Re: Anyone know of RFMEM vm/sysv_shm.c-related races?

2001-04-24 Thread void
On Tue, Apr 24, 2001 at 08:01:08PM -0400, Brian F. Feldman wrote: > > Has anyone else at least experienced this? I'm pretty sure I have, on 4.2-R or shortly later, but the fellow who was reporting it to me never bothered to pare his code down to a good test case, and I'm not at that job any more

Re: technical comparison

2001-05-22 Thread void
On Tue, May 22, 2001 at 12:40:11PM -0600, Matt Simerson wrote: > > When did that change? As of March which was the last time I had my grubby > little hands all over a F5 BigIP box in our lab, it was NOT running FreeBSD. > It runs a tweaked version of BSDI's kernel. I believe it is Terry's infor

Re: technical comparison

2001-05-23 Thread void
On Wed, May 23, 2001 at 09:20:51AM -0400, Andresen,Jason R. wrote: > > Why is knowing the file names cheating? It is almost certain > that the application will know the names of it's own files > (and won't be grepping the entire directory every time it > needs to find a file). With 60,000 files

Re: import NetBSD rc system

2001-06-11 Thread void
On Mon, Jun 11, 2001 at 11:54:33AM -0700, Matt Dillon wrote: > > I kinda like our scheme... at least I like the single monolithic > /etc/rc.conf file. It makes maintaining and installing machines > utterly trivial whereas having a billion little files each with > one or two opti

Re: import NetBSD rc system

2001-06-11 Thread void
On Mon, Jun 11, 2001 at 05:56:45PM -0600, Warner Losh wrote: > > With the netbsd approach, you remove the file, and all things taht > depend on it fail. as it should be :-) I'm pretty sure you turn it off in rc.conf, rather than removing it. -- Ben "An art scene of delight I created this t

Re: Patented algorithm in FreeBSD

2001-06-11 Thread void
On Mon, Jun 11, 2001 at 04:27:12PM -0700, Matt Dillon wrote: > > You need to get two. Start with both pointing at the same point, > let the cat follow it around a bit, then split them into two different > dots going opposite directions. > > If you have two cats get one followin

Re: Plan to import NetBSD rc system

2001-06-12 Thread void
On Tue, Jun 12, 2001 at 12:53:08PM -0700, Dave Hayes wrote: > > So you admit there's no real explanation of what this system is, or at > least something that would stave off a religious debate? Cool. The NetBSD man pages are not hard to find. This one looks particularly relevant: http://www.

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-19 Thread void
On Mon, Jun 18, 2001 at 10:55:06PM -0400, Sergey Babkin wrote: > Josef Karthauser wrote: > > > > On Sat, Jun 16, 2001 at 01:16:28PM -0400, [EMAIL PROTECTED] wrote: > > > is BSDI's stack so superior to any of the other BSDs that MS would pay BSDI > > > for it, particularly at a time when BSDI was

Re: max kernel memory

2001-06-20 Thread void
On Wed, Jun 20, 2001 at 12:04:22AM -0700, Matt Dillon wrote: > > A web proxy could be > round-robined fairly easily, but for a mail relay it is often a good > idea to split the incoming and outgoing mail into two separate round > robins (two separate groups of machines). Why's th

Re: Periodic scripts [Was: Re: /etc/security -> /etc/periodic/security ?]

2000-06-29 Thread void
On Thu, Jun 29, 2000 at 05:30:24PM +0100, Konstantin Chuguev wrote: > > IMO, introducing a sort of silent mode to these periodic scripts would help > sysadmins. [snip] > Your suggestions? As far as I'm concerned, this would greatly increase the utility of these scripts. I would love to see this

some "md" (memory disk) questions

2000-07-28 Thread void
1) Might I want to replace my MFS /tmp with an md-based one? 2) I looked at LINT and GENERIC, I read section 10.6.2 of the Handbook, and I looked for an md man page in vain. Where could I find additional documentation for md? I'm particularly interested in finding out what it's good fo

Re: 4.1-RELEASE problem writing to async mounted filesystem

2000-08-08 Thread void
On Tue, Aug 08, 2000 at 06:03:08PM +0200, Mitja Horvat wrote: > > Hi, > > I recently upgraded to FreeBSD 4.1-RELEASE(CD image). I noticed that while > writing > to an asynchronously mounted filesystem(mount -o async / ...) all other IO > operations to the FS are almost blocked. I have only one a

Re: 4.1-RELEASE problem writing to async mounted filesystem

2000-08-09 Thread void
On Wed, Aug 09, 2000 at 12:35:11PM +0200, Mitja Horvat wrote: > > As I understand SU, it's just a method to do metadata asynchronously in a > safe way, > so using noasync with SU does still have a point? "Using noasync" is a no-op; noasync is the default. -- Ben 220 go.ahead.make.my.day ES

Re: Shared Memory Issues

2000-09-08 Thread void
On Fri, Sep 08, 2000 at 02:56:10PM +0100, John Toon wrote: > > However, it seems strange that you're getting non-attached memory > segments. Surely it is the job of the kernel to clean up after processes > (if they're badly programmed and don't do it themselves)? Perhaps one > program is leaking?

Re: need a recommendation of NIC

2000-09-15 Thread void
On Fri, Sep 15, 2000 at 10:17:25AM -0400, Hao Zhang wrote: > Thanks for your info. > I'm using FreeBSD v3.3 which suppports The PRO/100B with chipset 82558. If I > want to use Intel Pro/100+ with the 82559 chipset, what driver should I use? > fxp? Yes. -- Ben 220 go.ahead.make.my.day ESMTP P

"find /proc"

2000-10-05 Thread void
Why does find(1) operate non-recursively in /proc? % uname -a FreeBSD example.com 4.1-STABLE FreeBSD 4.1-STABLE #0: Thu Aug 31 22:31:20 EDT 2000 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EXAMPLE i386 % find /proc /proc /proc/curproc /proc/48643 /proc/48576 /proc/48511 /proc/48510 /proc/48467 /pr

Re: "find /proc"

2000-10-05 Thread void
On Thu, Oct 05, 2000 at 04:57:50PM -0500, Chris Costello wrote: > On Thursday, October 05, 2000, void wrote: > > Why does find(1) operate non-recursively in /proc? > >Because the procfs_readdir() code does not report directories > as the correct type (DT_REG as opposed to

Solaris 8's split cache

2000-10-24 Thread void
http://sunsolve.Sun.COM/pub-cgi/show.pl?target=content/content8#cyclical BSD doesn't do anything like this (distinguishing between instructions and data in the VM cache), does it? Should it? -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to [EMAIL PROTECTED] with "

"iowait" CPU state

2000-11-06 Thread void
I've been using Solaris a lot lately, and I've noticed that in e.g. top's output, it has a distinct CPU state called "iowait", which seems to be a pretty good indicator of how I/O-bound a system is. Is there any reason that FreeBSD doesn't have such a state? "iostat" also seems a lot less inform

Re: "iowait" CPU state

2000-11-09 Thread void
On Tue, Nov 07, 2000 at 12:00:22AM -0800, Brian O'Shea wrote: > > What information are you looking for specifically? %busy figures for disks, %iowait figures for processors. > $ systat -io > > Hope that helps, Like iostat, this tells me how much data is being transferred, but not how busy th

Re: "iowait" CPU state

2000-11-09 Thread void
On Tue, Nov 07, 2000 at 04:13:30PM +0100, Dag-Erling Smorgrav wrote: > void <[EMAIL PROTECTED]> writes: > > I've been using Solaris a lot lately, and I've noticed that in e.g. > > top's output, it has a distinct CPU state called "iowait", which seem

Re: "iowait" CPU state

2000-11-09 Thread void
On Fri, Nov 10, 2000 at 12:33:31PM +1000, [EMAIL PROTECTED] wrote: > On Thu, 9 Nov 2000, void wrote: > > > not how busy the disks are. I want relative data, not absolute. > > systat -vmstat? Thank you! This gets the me disk %busy, which is one of the things I was looking for

Re: What is the cost of a simlink?

2000-11-14 Thread void
On Tue, Nov 14, 2000 at 02:34:54PM -0700, Nicole wrote: > > Greetings > I have a disk load problem I was hoping to solve by using an added disk and > simlinking a number of directories over to the new disk. > > These are directories to be accessed by apache and there may be as many as > 40-6

Re: changing a running process's credentials

2000-11-16 Thread void
Does anyone remember the article in Phrack, issue 53 I think, about speaking Forth to a Sun's boot-prom in order to write a '0' into the UID member of one's shell's struct proc? -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fre

"device not configured" from sa driver

2000-11-18 Thread void
I have set up a tape drive, correctly I believe, yet I keep getting "device not configured" errors from it. See: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=2849646+2851949+/usr/local/www/db/text/2000/freebsd-questions/20001029.freebsd-questions Some have said that this error indicates no tapes

Re: Shell script

2000-11-22 Thread void
On Thu, Nov 23, 2000 at 02:30:54AM +0200, petro wrote: > I have such script. > > PATH=/usr/local/bin [...] > if [ $# = 0 ]; then [...] > if [ -f $PID_FILE ]; then [...] > if [ $? = 0 ]; then [...] >echo error: $PID_FILE not found | tee -a $LOG_FILE

Re: Couple of config questions...

2000-11-28 Thread void
On Tue, Nov 28, 2000 at 11:54:29AM +0100, Dag-Erling Smorgrav wrote: > "Chuck Rock" <[EMAIL PROTECTED]> writes: > > Is there a way to get syslog to put time and date into the dmesg file? > > What dmesg file? Maybe /var/log/dmesg.boot? But the filesystem timestamp on this should be sufficient, I

Re: cp and cpio using boot disk

2000-12-15 Thread void
On Thu, Dec 14, 2000 at 12:13:16PM -0500, Dennis wrote: > > It seems that cp fails badly when used on a system booted by a boot floppy > (such as the install floppy). cpio seems to work ok. > > What is the reason for this? What's the failure mode? -- Ben 220 go.ahead.make.my.day ESMTP Post

Re: processing incoming mail messages (FreshPorts 2)

2000-12-18 Thread void
On Mon, Dec 18, 2000 at 11:22:58AM -0800, Joseph Scott wrote: > > If the problem is load then another approach would be to heavily > nice(1) the perl script the is launched when a commit mail comes in. I could be wrong, but I think there's a potential problem with this strategy -- namely

LINT vs. ipcs

2000-12-20 Thread void
LINT and the ipcs command seem to disagree on some points, like the meaning of shmall (bytes vs. pages). In all examples, I've put the quote from LINT followed by the excerpted output from ipcs -M or -S. options SHMALL=1025 # max amount of shared memory (bytes) vs. shmall:10

Re: ssh - are you nuts?!?

2000-12-24 Thread void
On Sat, Dec 23, 2000 at 02:00:54AM -0800, [EMAIL PROTECTED] wrote: > > On 23 Dec, Dan Langille wrote: > > > > It is possible. It is not trivial. > > > What leads you to believe that it's not trival? Eliza, is that you? -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send m

Re: crunched binary oddity

2001-07-26 Thread void
On Thu, Jul 26, 2001 at 12:09:46PM +0100, Ian Dowse wrote: > > When mount(8) invokes a mount_xxx program, it sets argv[0] to the > name of the filesystem (ufs, mfs, nfs etc). Why? -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to

Re: Allocate a page at interrupt time

2001-08-07 Thread void
On Tue, Aug 07, 2001 at 02:11:10AM -0700, Terry Lambert wrote: > > Can you name one SMP OS implementation that uses an > "interrupt threads" approach that doesn't hit a scaling > wall at 4 (or fewer) CPUs, due to heavier weight thread > context switch overhead? Solaris, if I remember my Vahalia

Re: TCSH bug...

2001-08-28 Thread void
On Tue, Aug 28, 2001 at 12:16:02PM -0400, Andrew Gallatin wrote: > > Actually, it is a tcsh bug. Try playing with the MALLOC_OPTIONS > env. variable in -stable. Specifically, set it to 'AJ' & I bet it will > drop core in -stable. You would win that bet. % uname -sr FreeBSD 4.4-PRERELEASE % exp

Re: Should URL's be pervasive.

2001-08-31 Thread void
On Fri, Aug 31, 2001 at 09:28:22AM -0400, Leo Bicknell wrote: > > In any case if all the info needed wasn't there, the command would fail, > a-la mutt http://www.ufp.org (no user portion). I believe that is a valid local email address. -- Ben "An art scene of delight I

Re: Permissions on /root directory and /etc/mtree/BSD.root.dist

2001-09-06 Thread void
On Thu, Sep 06, 2001 at 10:30:08AM +0400, Andrey Simonenko wrote: > > 0700 mode restricts other users from reading /root directory. > When root wants to upgrade system he/she run "make buildworld", > "make installworld". But installworld calls mtree, which changes > /root permissions to default v

Re: ALT- (Was: how to make 'for' understand two words as a single argumen)

2001-10-02 Thread void
On Tue, Oct 02, 2001 at 07:19:37AM -0700, Greg Shenaut wrote: > > Is there any reason why the "unbreakable space" (0xa0) shouldn't be > the only kind of space character used/allowed in filenames? Any character except for '/' is allowed in filenames, and I believe it's been that way since the daw

syslogd and kqueue

2001-10-26 Thread void
If syslogd used the kqueue interface, I believe it could open a new log file as soon as it was created, rather than waiting to receive a signal. Would this be worth doing, or would it be too big a divergence from the traditional behavior? -- Ben "An art scene of delight I created this to be .

Re: syslogd and kqueue

2001-10-26 Thread void
On Fri, Oct 26, 2001 at 08:04:36PM -0700, Kris Kennaway wrote: > On Fri, Oct 26, 2001 at 11:39:57PM +0100, void wrote: > > If syslogd used the kqueue interface, I believe it could open a new log > > file as soon as it was created, rather than waiting to receive a signal. > >

Re: more on jail - suitable for multi user system ?

2001-12-05 Thread void
Make sure that these users can't send outgoing mail and can't ping-flood from your machine, if they are really random users off the street. I did a very similar project years ago and abuse was a big issue. -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To U

send-prs are being harvested for spam

2001-12-10 Thread void
I created an address to use with send-pr, and it's been getting spam. Perhaps mail sent with send-pr can have the addresses slightly munged before they're placed on a web page? Is there a more appropriate list for discussing this? -- Ben "An art scene of delight I created this to be ..."

Re: Nat through two DSL

2001-12-10 Thread void
On Fri, Dec 07, 2001 at 02:38:04PM -0600, Nick Rogness wrote: > > Damn it, fat fingered it...corrections to firewall: > > > ipfw add 500 divert natd1 ip from $NET to 0.0.0.0/1 out via $DSL_INT#1 > ipfw add 550 divert natd1 ip from 0.0.0.0/1 to any in via $DSL_INT#1 > ipfw add 560 fwd $

Re: Mac iBook OS10 + BSD

2003-01-14 Thread void
On Thursday, December 26, 2002, at 09:59 AM, Andrew Gallatin wrote: I think he means text-only syscons like vtys. MacOSX does not have them. I don't know about *multiple* text-only vtys, but it's easy enough to get the system into a no-graphics mode. I suppose you can simulate virtual term

Re: boot without user and password

2003-03-20 Thread void
On Thu, Mar 20, 2003 at 11:40:12AM -0500, Anthony Schneider wrote: > if you are trying to do what i think you're trying to do, you can put > something like the following in /etc/rc.local or in a script in > /usr/local/etc/rc.d: > > su username -c xinit > > where username is the name of the user

Re: NFS: How to make FreeBSD fall on its face in one easy step

2001-12-13 Thread void
nt truncbdy = 1; /* -t flag */ > int writebdy = 1; /* -w flag */ > long monitorstart = -1; /* -m flag */ > long monitorend = -1;/* -m flag */ > int lite = 0; /* -L flag */ > long nu

Re: Processing IP options reveals IPSTEALH router

2001-12-19 Thread void
On Thu, Dec 20, 2001 at 12:50:39AM +0300, Yar Tikhiy wrote: > > Source routing itself is a Bad Thing, as is TELNET or rlogin. Telnet with Kerberos or other security options can be a fine thing. -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe:

Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-09 Thread void
On Wed, Jan 09, 2002 at 09:51:09AM -0500, [EMAIL PROTECTED] wrote: > > Uh oh. I just realized that THIS thread will be in google for the next 20 > years. and we sound like a bunch of geeks good thing Im on an alias! Right, and we know from experience how difficult it is to figure out that y

incorrect information in ata(4)?

2002-03-27 Thread void
% uname -a narcissus% uname -a FreeBSD example.com 4.5-STABLE FreeBSD 4.5-STABLE #6: Mon Mar 18 12:08:59 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EXAMPLE i386 % man ata | grep -C atamodes To see the devices' current access modes, use the command line: sysctl hw.atamodes

Re: incorrect information in ata(4)?

2002-03-27 Thread void
On Wed, Mar 27, 2002 at 07:32:26PM -0500, Shu-yu Guo wrote: > On Wed, 2002-03-27 at 19:24, void wrote: > > % sysctl hw.atamodes > > sysctl: unknown oid 'hw.atamodes' > > > Interesting, perhaps you should submit a PR and post this to the -doc &

Re: sendfile() in tftpd?

2002-04-23 Thread void
On Tue, Apr 23, 2002 at 12:29:03PM +0200, Attila Nagy wrote: > Hello, > > Would it be possible to use sendfile in tftpd? > With an Athlon XP 1600+ I could only get ~40 Mbps out from the machine > with 0% idle CPU time (large file transfers from many machines, getting > the same file). Performanc

Re: Difference between RELENG_* and RELENG_*_BP

2002-05-13 Thread void
On Sat, May 11, 2002 at 01:23:33AM -0700, David Schultz wrote: > > I think you're on to something here. Just imagine: > > A: ``I'll give you $200 to add $foo to the base system.'' > B: ``No, *I* bid $300 to get someone to work on $bar.'' > ... This has been mooted before, and I think peo

Re: postfix

2002-05-16 Thread void
On Wed, May 15, 2002 at 03:08:17PM -0300, O Senhor wrote: >Do you know about performance in postfix? I have on FreeBSD (4.5) box > running postfix and delivering mail in 65.000 mailboxes... I know about > maildirs... but, how maildir would help me??? The postfix delivery agent > simply can't d

Re: find(1) - peculiar behaviour

2002-05-30 Thread void
On Fri, May 31, 2002 at 03:33:18AM +0100, Robin Breathe wrote: > > I've just realised this is mentioned under BUGS in man 1 find, so my > query changes to: "anyone fancy fixing it and/or giving me some > pointers on how to fix it", or maybe suggest a better way for me to do > this? > "find -L .

security bug in /etc/rc in -STABLE?

2002-06-13 Thread void
I cvsupped -STABLE yesterday, and I was just running mergemaster when I saw: # Remove X lock files, since they will prevent you from restarting X11 # after a system crash. # -rm -f /tmp/.X*-lock /tmp/.X11-unix/* +rm -f /tmp/.X*-lock +rm -fr /tmp/.X11-unix Aren't both the old and new versions

Re: security problem in sysctl?

2002-07-12 Thread void
On Wed, Jul 10, 2002 at 02:30:19PM +0200, Bogdan TARU wrote: > > Hi guys, > > I have just rebooted my machine, and immediately after boot I have run > 'sysctl -a' as an usual user. Well, in 'kern.msgbuf' I have found the > whole master.passwd file, with combinations of usernames/passwords

Re: Onboard Intel NIC

2000-03-28 Thread void
On Tue, Mar 28, 2000 at 07:18:57AM -0800, Ron Rosson wrote: > > It is the go fix it yourself attitude I guess that gets me sometimes in > both the mailing lists and IRC. There is some people in the user base > that can not code but are able to find issues on there systems and would > like to shar

Re: icmp-response error

2000-05-11 Thread void
On Thu, May 11, 2000 at 08:33:45AM +0200, [EMAIL PROTECTED] wrote: > > A while back, I wrote a simplistic, but effect script to print out > > information about who has a particular port open. > > There is already a nice program to do this as part of the standard > FreeBSD distribution: sockstat.

Re: kerneld for FreeBSD

2000-06-06 Thread void
On Tue, Jun 06, 2000 at 04:08:42PM -0700, Kris Kennaway wrote: > > You weren't listening..no-one debates the utility of auto-loading modules, > and that is the direction FreeBSD is already heading. The debate is over > the utility of automatically UNLOADING modules when they're "no longer in > us

Re: kerneld for FreeBSD

2000-06-07 Thread void
On Wed, Jun 07, 2000 at 01:01:41AM -0400, Bosko Milekic wrote: > > An Operating System should only do that when the administrator is so > stupid that he/she actually loads "unused" drivers. I'm talking about for example a tape driver that was loaded to deal with a tape drive which is cur

Re: Anybody working on FreeBSD BIOS?

2000-06-17 Thread void
On Thu, Jun 15, 2000 at 07:29:53PM -0700, Mike Smith wrote: > > If your customer's not _desperate_ for a super-low-cost solution, I'd > suggest any of the Intel boards that offer EMP (most of these also offer > BIOS-over-serial support, actually - as do a number of other vendors, > IIRC AMI do