Re: [Fink-devel] Don't use /sw/fink/dists when symlinking debs from /sw/fink/debs

2006-02-02 Thread AIDA Shinra
> libbonobo2_2.10.1-2_darwin-powerpc.deb -> /sw/fink/dists/unstable/ > main/binary-darwin-powerpc/gnome/libbonobo2_2.10.1-2_darwin-powerpc.deb > > but uses the dists independent path: > > libbonobo2_2.10.1-2_darwin-powerpc.deb -> /sw/fink/10.4-transitional/ > unstable/main/binary-darwin-powerpc

[Fink-devel] Don't use /sw/fink/dists when symlinking debs from /sw/fink/debs

2006-02-02 Thread Remi Mommsen
Hi, I'm switching btw the 10.4-transitional and 10.4 tree by setting a symlink from /sw to the 2 fink directories having the 10.4- transitional and 10.4 distributions active, respectively. I also linked the /sw/fink/debs directory btw the 2 directories to avoid rebuilding debs already buil

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Neil Tiffin
Yes, I just tried it again and it worked as you stated. Only retains the first value set. I spent considerable time trying to figure this out and the only solution that worked was to edit /etc/rc and reboot. I even saw it change the settings the second time on the boot screen. That is ho

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Martin Costabel
Benjamin Reed wrote: [] as far as I'm aware, on OSX the only time that the values actually get set is the *first time*, after bootup, that you run, say: sysctl -w kern.sysv.shmmax=8388608 So if you have a sysctl.conf, it will have already set them. The line you've commented out can't change

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Costabel wrote: > As you noticed, on Tiger (and on recent Panthers) this won't work. No > matter what values for kern.sysv.shm* you write into /etc/sysctl.conf, > they will not stick, because they are reset in /etc/rc afterwards. Ah, so they c

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Tiffin wrote: > This is directly from my /etc/rc file > > if [ -f /etc/sysctl.conf ]; then > awk '{ if (!index($1, "#") && index($1, "=")) print $1 }' < > /etc/sysctl.conf | while read > do > sysctl -w ${REPLY} > done > fi >

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Neil Tiffin
This is directly from my /etc/rc file if [ -f /etc/sysctl.conf ]; then awk '{ if (!index($1, "#") && index($1, "=")) print $1 }' < /etc/ sysctl.conf | while read do sysctl -w ${REPLY} done fi #sysctl -w kern.sysv.shmmax=4194304 kern.sysv.shmmin=1 kern.sysv.sh

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Martin Costabel
Benjamin Reed wrote: [] Ah, so they changed the kernel so that settings *can* be changed later? It used to be once you set the shm* values, they were stuck, so it had to be in sysctl.conf so they got set first. No they didn't, and you are right. I should have tested myself instead of taking N

Re: [Fink-devel] postgresql80-unified.patch

2006-02-02 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Reed wrote: > Ah, so they changed the kernel so that settings *can* be changed later? > It used to be once you set the shm* values, they were stuck, so it had > to be in sysctl.conf so they got set first. ...and if that's the case, can't we