How to understand what `swi5' kernel thread does?

2012-08-26 Thread Lev Serebryakov
Hello, Freebsd-current. It is shown at top -SH output as `intr{swi5: +}' and I could not find way to understand, what is it... -- // Black Lion AKA Lev Serebryakov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

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

2012-08-26 Thread Garrett Cooper
On Sun, 26 Aug 2012, Doug Barton wrote: ... There really is no need to be so clever here. The bootstrapping issue is going to be a minor annoyance that affects a small percentage of our users. I think Doug's correct in this case about it being a "one-time problem" as installing via bsdinsta

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

2012-08-26 Thread Peter Jeremy
On 2012-Aug-26 12:27:41 -0700, Doug Barton wrote: >On 08/26/2012 12:08, Ian Lepore wrote: >> Maybe it could rename itself to /usr/local/sbin/pkg-bootstrap as part of >> replacing itself, so that you could re-bootstrap your way out of a >> problem later. > >That's certainly creative thinking, but I

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

2012-08-26 Thread Doug Barton
On 08/26/2012 13:35, Warren Block wrote: > On Sun, 26 Aug 2012, Ian Lepore wrote: > >> On Sun, 2012-08-26 at 20:58 +0200, Baptiste Daroussin wrote: >>> On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: On 08/26/2012 05:58, Baptiste Daroussin wrote: This isn't the security issu

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

2012-08-26 Thread Warren Block
On Sun, 26 Aug 2012, Ian Lepore wrote: On Sun, 2012-08-26 at 20:58 +0200, Baptiste Daroussin wrote: On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: On 08/26/2012 05:58, Baptiste Daroussin wrote: This isn't the security issue I was talking about by having sbin/pkg pass every comman

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

2012-08-26 Thread Doug Barton
On 08/26/2012 13:02, namor wrote: > On Thu, Aug 23, 2012 at 03:28:27PM -0700, Doug Barton wrote: >> On 8/23/2012 3:19 PM, 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

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

2012-08-26 Thread namor
On Thu, Aug 23, 2012 at 03:28:27PM -0700, Doug Barton wrote: > On 8/23/2012 3:19 PM, 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 comma

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

2012-08-26 Thread Doug Barton
On 08/26/2012 12:08, Ian Lepore wrote: > Would this get better if the bootstrap tool were named pkg and were > installed on a fresh system at /usr/local/sbin, so that it in effect > replaces itself with the real thing, and has no need to leave a > forwarding stub in /usr/sbin ? > > Maybe it could

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

2012-08-26 Thread Ian Lepore
On Sun, 2012-08-26 at 20:58 +0200, Baptiste Daroussin wrote: > On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: > > On 08/26/2012 05:58, Baptiste Daroussin wrote: > > This isn't the security issue I was talking about by having sbin/pkg > > pass every command line to local/sbin/pkg. > >

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

2012-08-26 Thread Doug Barton
On 08/26/2012 11:58, Baptiste Daroussin wrote: > On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: >> On 08/26/2012 05:58, Baptiste Daroussin wrote: >> >>> The is the longer plan but this with also true with pkg_add -r, and the pkg >>> bootstrap may it be pkg-bootstrap or /usr/sbin/pkg.

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

2012-08-26 Thread Baptiste Daroussin
On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: > On 08/26/2012 05:58, Baptiste Daroussin wrote: > > > The is the longer plan but this with also true with pkg_add -r, and the pkg > > bootstrap may it be pkg-bootstrap or /usr/sbin/pkg. We have been discussing > > with > > Security off

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

2012-08-26 Thread Doug Barton
On 08/26/2012 05:58, Baptiste Daroussin wrote: > The is the longer plan but this with also true with pkg_add -r, and the pkg > bootstrap may it be pkg-bootstrap or /usr/sbin/pkg. We have been discussing > with > Security officers and we are waiting for the plan being written and setup by > them,

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

2012-08-26 Thread Doug Barton
On 08/26/2012 11:37, Baptiste Daroussin wrote: > On Sun, Aug 26, 2012 at 11:34:08AM -0700, Doug Barton wrote: >> On 08/25/2012 02:49, Julien Laffaye wrote: >>> True. But when you create jails without the installer, you have >>> to install pkgng by hand. >> >> Just like all the other ports you have

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

2012-08-26 Thread Baptiste Daroussin
On Sun, Aug 26, 2012 at 11:34:08AM -0700, Doug Barton wrote: > On 08/25/2012 02:49, Julien Laffaye wrote: > > True. But when you create jails without the installer, you have to > > install pkgng by hand. > > Just like all the other ports you have to install in a jail. > > > -- > > I am on

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

2012-08-26 Thread Doug Barton
On 08/25/2012 02:49, Julien Laffaye wrote: > True. But when you create jails without the installer, you have to > install pkgng by hand. Just like all the other ports you have to install in a jail. -- I am only one, but I am one. I cannot do everything, but I can do something. And I

Re: less aggressive contigmalloc ?

2012-08-26 Thread Luigi Rizzo
On Fri, Aug 24, 2012 at 11:56:06AM -0500, Alan Cox wrote: > 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, Luig

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

2012-08-26 Thread Baptiste Daroussin
On Sun, Aug 26, 2012 at 02:26:50PM +0200, Jilles Tjoelker wrote: > On Sat, Aug 25, 2012 at 06:34:43PM -0500, CyberLeo Kitsana wrote: > > On 08/24/2012 07:01 PM, Baptiste Daroussin wrote: > > > Can anyone give me he details on the security related problem? > > > Off the top of my head, it seems to

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

2012-08-26 Thread Jilles Tjoelker
On Sat, Aug 25, 2012 at 06:34:43PM -0500, CyberLeo Kitsana wrote: > On 08/24/2012 07:01 PM, Baptiste Daroussin wrote: > > Can anyone give me he details on the security related problem? > Off the top of my head, it seems to represent a break in the chain of > trust: how does the bootstrapper verify