Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Julien Laffaye
On 8/24/2012 3:57 AM, Eitan Adler wrote: On 23 August 2012 18:19, Steve Wills swi...@freebsd.org wrote: Hi, It seems to me that renaming the pkg binary in /usr/sbin/pkg to /usr/sbin/pkg-bootstrap would make sense. From a user standpoint, it is confusing that running the command gets

Re: build error at rpc code

2012-08-24 Thread Dimitry Andric
On 2012-08-24 05:55, Dima Panov wrote: Does anybody get same error at buildworld with recent -current? ... In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76: /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type name 'rpcblist' extern rpcblist

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Baptiste Daroussin
On Thu, Aug 23, 2012 at 06:19:57PM -0400, Steve Wills wrote: Hi, It seems to me that renaming the pkg binary in /usr/sbin/pkg to /usr/sbin/pkg-bootstrap would make sense. From a user standpoint, it is confusing that running the command gets different results the second time it is run vs.

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Sergey V. Dyatko
On Thu, 23 Aug 2012 23:00:25 -0400 Eitan Adler li...@eitanadler.com wrote: On 23 August 2012 22:55, Steve Wills swi...@freebsd.org wrote: As far as I understand it, POLA is about changing existing things: okay, so forget POLA. My point is that a user following a how to or even *our*

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Florian Smeets
On 08/24/2012 10:15, Baptiste Daroussin wrote: On Thu, Aug 23, 2012 at 06:19:57PM -0400, Steve Wills wrote: Hi, It seems to me that renaming the pkg binary in /usr/sbin/pkg to /usr/sbin/pkg-bootstrap would make sense. From a user standpoint, it is confusing that running the command gets

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-24 Thread Dag-Erling Smørgrav
John Baldwin j...@freebsd.org writes: Hmm, this is not true on i386 where the problem is not just the physical RAM required, but also address space. (The swap zone is all mapped into KVA even if it isn't used.) This is why Alan's e-mail specifically mentioned amd64, ia64, etc. but not i386

RE: pkgng default release schedule (contd...)

2012-08-24 Thread Jeffrey Bouquet
A few more reasons (unless I have not seen some relevant documentation to the contrary) to not mandate pkgng as the default... Nowadays, one can save time by installing two ports which officially or unofficially conflict, and have /var/db/pkg entries for both, and even local workarounds (for

RE: pkgng default release schedule (contd...)

2012-08-24 Thread Chris Rees
On 24 Aug 2012 11:08, Jeffrey Bouquet jeffreybouq...@yahoo.com wrote: A few more reasons (unless I have not seen some relevant documentation to the contrary) to not mandate pkgng as the default... Why don't you phrase this as How can one ... so you sound less negative? Nowadays, one can save

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Alex Dupre
Baptiste Daroussin ha scritto: On of the thing I forgot and kan@ has added is a prompt for the user in case it is going to bootstrap. So, removing the prompt will make everybody happy? :-) What about a prompt with timeout? This is the first time pkg is run, I'll start bootstrapping in 10

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-24 Thread John Baldwin
On Friday, August 24, 2012 5:44:48 am Dag-Erling Smørgrav wrote: John Baldwin j...@freebsd.org writes: Hmm, this is not true on i386 where the problem is not just the physical RAM required, but also address space. (The swap zone is all mapped into KVA even if it isn't used.) This is

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-24 Thread Dag-Erling Smørgrav
John Baldwin j...@freebsd.org writes: Note that on i386 you can't get more than 4GB of RAM without PAE, and if you have any modern x86 box with 4GB of RAM, you are most likely running amd64 on it, not i386. I think i386 would be fine to just keep the limit it had. The limit we had was

Re: build error at rpc code

2012-08-24 Thread Dima Panov
24.08.2012 19:12, Dimitry Andric пишет: On 2012-08-24 05:55, Dima Panov wrote: Does anybody get same error at buildworld with recent -current? ... In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76: /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type name

Re: build error at rpc code

2012-08-24 Thread Dimitry Andric
On 2012-08-24 15:07, Dima Panov wrote: 24.08.2012 19:12, Dimitry Andric пишет: ... You are most likely setting CPP as follows: CPP=clang -E Don't do that, use the following instead: CPP=clang-cpp If there is no clang-cpp symlink in /usr/bin yet, just make it manually for now. It

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-24 Thread John Baldwin
On Friday, August 24, 2012 8:45:43 am Dag-Erling Smørgrav wrote: John Baldwin j...@freebsd.org writes: Note that on i386 you can't get more than 4GB of RAM without PAE, and if you have any modern x86 box with 4GB of RAM, you are most likely running amd64 on it, not i386. I think i386

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Baptiste Daroussin
On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: Baptiste Daroussin ha scritto: On of the thing I forgot and kan@ has added is a prompt for the user in case it is going to bootstrap. So, removing the prompt will make everybody happy? :-) What about a prompt with timeout?

Re: less aggressive contigmalloc ?

2012-08-24 Thread Luigi Rizzo
On Fri, Aug 24, 2012 at 12:43:33AM -0500, Alan Cox wrote: On 08/23/2012 12:45, Luigi Rizzo wrote: On Thu, Aug 23, 2012 at 12:08:40PM -0500, Alan Cox wrote: ... yes i do see that. Maybe less aggressive with M_NOWAIT but still kills processes. Are you compiling world with MALLOC_PRODUCTION?

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Bryan Drewery
On 8/24/2012 9:31 AM, Baptiste Daroussin wrote: On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: Baptiste Daroussin ha scritto: On of the thing I forgot and kan@ has added is a prompt for the user in case it is going to bootstrap. So, removing the prompt will make everybody

Re: [HEADSUP] geli(4) weak master key generation on -CURRENT

2012-08-24 Thread Simon L. B. Nielsen
On Tue, Aug 21, 2012 at 1:05 PM, Ulrich Spörlein u...@freebsd.org wrote: On Mon, 2012-08-20 at 22:24:56 +0100, Simon L. B. Nielsen wrote: Hello, If you are not using geli(4) on -CURRENT (AKA FreeBSD 10) you can safely ignore this mail. If you are, please read on! -CURRENT users of geli(4)

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Baptiste Daroussin
On Fri, Aug 24, 2012 at 10:50:30AM -0500, Bryan Drewery wrote: On 8/24/2012 9:31 AM, Baptiste Daroussin wrote: On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: Baptiste Daroussin ha scritto: On of the thing I forgot and kan@ has added is a prompt for the user in case it is

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Bryan Drewery
On 8/24/2012 11:02 AM, Baptiste Daroussin wrote: On Fri, Aug 24, 2012 at 10:50:30AM -0500, Bryan Drewery wrote: On 8/24/2012 9:31 AM, Baptiste Daroussin wrote: On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: Baptiste Daroussin ha scritto: On of the thing I forgot and kan@ has

Re: less aggressive contigmalloc ?

2012-08-24 Thread Alan Cox
On 08/24/2012 09:57, Luigi Rizzo wrote: On Fri, Aug 24, 2012 at 12:43:33AM -0500, Alan Cox wrote: On 08/23/2012 12:45, Luigi Rizzo wrote: On Thu, Aug 23, 2012 at 12:08:40PM -0500, Alan Cox wrote: ... yes i do see that. Maybe less aggressive with M_NOWAIT but still kills processes. Are you

Re: less aggressive contigmalloc ?

2012-08-24 Thread Luigi Rizzo
On Fri, Aug 24, 2012 at 11:12:51AM -0500, Alan Cox wrote: On 08/24/2012 09:57, Luigi Rizzo wrote: On Fri, Aug 24, 2012 at 12:43:33AM -0500, Alan Cox wrote: On 08/23/2012 12:45, Luigi Rizzo wrote: On Thu, Aug 23, 2012 at 12:08:40PM -0500, Alan Cox wrote: ... yes i do see that. Maybe less

Re: less aggressive contigmalloc ?

2012-08-24 Thread Alan Cox
On 08/24/2012 11:54, Luigi Rizzo wrote: On Fri, Aug 24, 2012 at 11:12:51AM -0500, Alan Cox wrote: On 08/24/2012 09:57, Luigi Rizzo wrote: On Fri, Aug 24, 2012 at 12:43:33AM -0500, Alan Cox wrote: On 08/23/2012 12:45, Luigi Rizzo wrote: On Thu, Aug 23, 2012 at 12:08:40PM -0500, Alan Cox

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Doug Barton
On 8/23/2012 8:03 PM, Eitan Adler wrote: On 23 August 2012 22:59, Doug Barton do...@freebsd.org wrote: I tend to agree with Steve here ... we can't be responsible for other people's poorly written docs. This isn't about poorly written docs. This is the user expecting a tool to exist, which

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Doug Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/24/2012 1:15 AM, Baptiste Daroussin wrote: BTW for people who haven't tested and want to share their opinion, here is how work /usr/sbin/pkg: it first checks if ${LOCALBASE}/sbin/pkg is there - if yes it directly execute

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Baptiste Daroussin
On Fri, Aug 24, 2012 at 03:38:33PM -0700, Doug Barton wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/24/2012 1:15 AM, Baptiste Daroussin wrote: BTW for people who haven't tested and want to share their opinion, here is how work /usr/sbin/pkg: it first checks if

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-24 Thread Colin Percival
On 08/24/12 07:13, John Baldwin wrote: On Friday, August 24, 2012 8:45:43 am Dag-Erling Smørgrav wrote: John Baldwin j...@freebsd.org writes: Note that on i386 you can't get more than 4GB of RAM without PAE, and if you have any modern x86 box with 4GB of RAM, you are most likely running amd64

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Glen Barber
On Sat, Aug 25, 2012 at 01:25:15AM +0100, Jonathan Anderson wrote: On 24 Aug 2012, at 23:38, Doug Barton do...@freebsd.org wrote: Let me rephrase that more simply ... very few users are ever going to need the bootstrapping tool that will be in the base. So, then they won't use it. I fail

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Glen Barber
On Sat, Aug 25, 2012 at 01:47:26AM +0100, Jonathan Anderson wrote: On Saturday, 25 August 2012 at 01:33, Glen Barber wrote: On Sat, Aug 25, 2012 at 01:25:15AM +0100, Jonathan Anderson wrote: On 24 Aug 2012, at 23:38, Doug Barton do...@freebsd.org (mailto:do...@freebsd.org) wrote: Let

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Jonathan Anderson
On 24 Aug 2012, at 23:38, Doug Barton do...@freebsd.org wrote: Let me rephrase that more simply ... very few users are ever going to need the bootstrapping tool that will be in the base. But surely the whole point of pkgng is that people *will* use pkg as the default method of acquiring

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Doug Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/24/2012 5:33 PM, Glen Barber wrote: On Sat, Aug 25, 2012 at 01:25:15AM +0100, Jonathan Anderson wrote: On 24 Aug 2012, at 23:38, Doug Barton do...@freebsd.org wrote: Let me rephrase that more simply ... very few users are ever going to need

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-24 Thread Jonathan Anderson
On Saturday, 25 August 2012 at 01:33, Glen Barber wrote: On Sat, Aug 25, 2012 at 01:25:15AM +0100, Jonathan Anderson wrote: On 24 Aug 2012, at 23:38, Doug Barton do...@freebsd.org (mailto:do...@freebsd.org) wrote: Let me rephrase that more simply ... very few users are ever going to