Re: Temp files in /etc

2008-09-05 Thread Joshua Piccari
On Fri, Sep 5, 2008 at 11:31 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > On Fri, Sep 05, 2008 at 07:40:13PM -0700, Joshua Piccari wrote: > > Hi all, > > I am setting up a few jails and I want them all to use the same /etc > files > > (with the exception of the files related to the password fi

Re: Temp files in /etc

2008-09-05 Thread Jeremy Chadwick
On Fri, Sep 05, 2008 at 07:40:13PM -0700, Joshua Piccari wrote: > Hi all, > I am setting up a few jails and I want them all to use the same /etc files > (with the exception of the files related to the password files and > databases), so I mounted a shared /etc folder as a nullfs with read-only > pe

Re: Temp files in /etc

2008-09-05 Thread Jeremy Chadwick
On Fri, Sep 05, 2008 at 08:31:35PM -0700, Jeremy Chadwick wrote: > ... > If they still attempt to use /tmp, said programs could probably be > modified to support TMPDIR. This should have read /etc, not /tmp. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Net

Re: Temp files in /etc

2008-09-05 Thread Jeremy Chadwick
On Fri, Sep 05, 2008 at 07:40:13PM -0700, Joshua Piccari wrote: > Hi all, > I am setting up a few jails and I want them all to use the same /etc files > (with the exception of the files related to the password files and > databases), so I mounted a shared /etc folder as a nullfs with read-only > pe

Temp files in /etc

2008-09-05 Thread Joshua Piccari
Hi all, I am setting up a few jails and I want them all to use the same /etc files (with the exception of the files related to the password files and databases), so I mounted a shared /etc folder as a nullfs with read-only permissions. The problem is that using utilities like pw or chpass create te

Re: opendir()/closedir()

2008-09-05 Thread Kostik Belousov
On Sat, Sep 06, 2008 at 12:40:14AM +0400, Igor Sysoev wrote: > On Fri, Sep 05, 2008 at 10:48:45PM +0300, Kostik Belousov wrote: > > > On Fri, Sep 05, 2008 at 10:40:32PM +0400, Igor Sysoev wrote: > > > Looking at opendir()/readdir()/closedir() sequence via ktrace, > > > I've seen supposedly useless

Re: opendir()/closedir()

2008-09-05 Thread Igor Sysoev
On Fri, Sep 05, 2008 at 10:48:45PM +0300, Kostik Belousov wrote: > On Fri, Sep 05, 2008 at 10:40:32PM +0400, Igor Sysoev wrote: > > Looking at opendir()/readdir()/closedir() sequence via ktrace, > > I've seen supposedly useless lseek() syscall just before close(). > > It's called from closedir():

Re: opendir()/closedir()

2008-09-05 Thread Kostik Belousov
On Fri, Sep 05, 2008 at 10:40:32PM +0400, Igor Sysoev wrote: > Looking at opendir()/readdir()/closedir() sequence via ktrace, > I've seen supposedly useless lseek() syscall just before close(). > It's called from closedir(): > > _seekdir(dirp, dirp->dd_rewind);/* free seekdir stora

opendir()/closedir()

2008-09-05 Thread Igor Sysoev
Looking at opendir()/readdir()/closedir() sequence via ktrace, I've seen supposedly useless lseek() syscall just before close(). It's called from closedir(): _seekdir(dirp, dirp->dd_rewind);/* free seekdir storage */ It seems that free()ing libc seekdir storage should be done with

Re: Creation of the NO_SSP build knob

2008-09-05 Thread Jeremie Le Hen
Hi Ruslan, On Fri, Sep 05, 2008 at 06:02:04PM +0400, Ruslan Ermilov wrote: > This is not the way the things were designed to work. > > http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html > > WITH_*/WITHOUT_* are for users, and MK_* are for makefiles. > > NO_*'s are mainly

Re: Extending find(1) to support -printf

2008-09-05 Thread Jonathan McKeown
On Friday 05 September 2008 16:39, Jeremy Chadwick wrote: > Equally as frustrating, mutt's backtick support will only honour the > first line of input. If a backticked command returns multiple lines, > only the first is read; the rest are ignored. This makes using BSD find > annoying, since find

Re: Extending find(1) to support -printf

2008-09-05 Thread Jeremy Chadwick
On Fri, Sep 05, 2008 at 03:12:53AM -0700, Jeremy Chadwick wrote: > Also, some folks on #bsdports asked why I was bothering with this in the > first place: mutt supports backticks to run shell commands inside of > a muttrc file. See "Building a list of mailboxes on the fly" below: > > http://wiki.

Re: Creation of the NO_SSP build knob

2008-09-05 Thread Ruslan Ermilov
On Fri, Sep 05, 2008 at 09:00:28AM +0200, Jeremie Le Hen wrote: > Dag-Erling, > > On Thu, Sep 04, 2008 at 09:26:28PM +0200, Dag-Erling Sm?rgrav wrote: > > Jeremie Le Hen <[EMAIL PROTECTED]> writes: > > > If SSP belongs to this list, then NO_SSP is an alias for WITHOUT_SSP. > > > But it will still

Re: Obytes counter in netstat not incrementing

2008-09-05 Thread Bernd Walter
On Tue, Sep 02, 2008 at 05:22:10PM -0700, Charles Beckham wrote: > i've already made the changes to rc.conf, but since its a shared > machine and almost all addresses are in use, i'll have to schedule a > reboot before i can make changes effective, i will post a follwup > after i've made these chan

Re: upgrade GDB-6.1.1 on the base System

2008-09-05 Thread xorquewasp
On 20080904 00:28:40, Manolo Valdes wrote: > Hi Hackers > > reading a thread from this very list i solve my problem trying to debug user- > land programs. > > the problem was gdb-6.1.1 , and the thread point me to use gdb-6.6 > and all my pains went away. > > so my question is: > > will be GDB

Extending find(1) to support -printf

2008-09-05 Thread Jeremy Chadwick
I've been working on $SUBJECT for the past few hours, and have managed to implement a very crude subset of GNU find's features: http://www.gnu.org/software/findutils/manual/html_node/find_html/Format-Directives.html#Format-Directives I've implemented %f and %p (which appear identical to GNU find)

WITHOUT_CXX but with libstdc++

2008-09-05 Thread Attila Nagy
Hello, I have some netbooted servers, which work off an NFS (master) server. Everything is built and installed on the master, so the netbooted "images" contain only what's really needed, so for example gcc is ripped out by WITHOUT_CPP=yes and WITHOUT_CXX=yes in the installworld phase. Unfortun

Re: Creation of the NO_SSP build knob

2008-09-05 Thread Jeremie Le Hen
Dag-Erling, On Thu, Sep 04, 2008 at 09:26:28PM +0200, Dag-Erling Smørgrav wrote: > Jeremie Le Hen <[EMAIL PROTECTED]> writes: > > If SSP belongs to this list, then NO_SSP is an alias for WITHOUT_SSP. > > But it will still not be possible to use WITH_SSP in src.conf or > > command-line. > > [...] >