dfilter service | 1 Mar 16:10 2012
Picon

Re: bin/165515: commit references a PR

The following reply was made to PR bin/165515; it has been noted by GNATS.

From: dfilter@... (dfilter service)
To: bug-followup@...
Cc:  
Subject: Re: bin/165515: commit references a PR
Date: Thu,  1 Mar 2012 15:09:54 +0000 (UTC)

 Author: jamie
 Date: Thu Mar  1 15:09:41 2012
 New Revision: 232342
 URL: http://svn.freebsd.org/changeset/base/232342

 Log:
   Handle the case where a boolean parameter is also a node.

   PR:		bin/165515
   MFC after:	2 weeks

 Modified:
   head/lib/libjail/jail.c

 Modified: head/lib/libjail/jail.c
 ==============================================================================
 --- head/lib/libjail/jail.c	Thu Mar  1 15:08:58 2012	(r232341)
 +++ head/lib/libjail/jail.c	Thu Mar  1 15:09:41 2012	(r232342)
  <at>  <at>  -885,36 +885,20  <at>  <at>  jailparam_type(struct jailparam *jp)
  		 * the "no" counterpart to a boolean.
  		 */
  		nname = nononame(jp->jp_name);
(Continue reading)

jamie | 1 Mar 16:21 2012
Picon

Re: bin/165515: [jail][patch] "jail: unknown parameter: allow.nomount" when starting jail

Synopsis: [jail][patch] "jail: unknown parameter: allow.nomount" when starting jail

State-Changed-From-To: open->patched
State-Changed-By: jamie
State-Changed-When: Thu Mar 1 15:13:29 UTC 2012
State-Changed-Why: 
Fixed in r232342.

http://www.freebsd.org/cgi/query-pr.cgi?pr=165515
FreeBSD bugmaster | 5 Mar 12:07 2012
Picon

freebsd-jail@...

Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
p bin/165515   jail       [jail][patch] "jail: unknown parameter: allow.nomount"
p bin/161957   jail       jls(8): jls -v doesn't show anything if system compile
o kern/159918  jail       [jail] inter-jail communication failure
o kern/156111  jail       [jail] procstat -b not supported in jail
o misc/155765  jail       [patch] `buildworld' does not honors WITHOUT_JAIL
o conf/154246  jail       [jail] [patch] Bad symlink created if devfs mount poin
o conf/149050  jail       [jail] rcorder ``nojail'' too coarse for Jail+VNET
s conf/142972  jail       [jail] [patch] Support JAILv2 and vnet in rc.d/jail
o conf/141317  jail       [patch] uncorrect jail stop in /etc/rc.d/jail
o kern/133265  jail       [jail] is there a solution how to run nfs client in ja
o kern/119842  jail       [smbfs] [jail] "Bad address" with smbfs inside a jail
o bin/99566    jail       [jail] [patch] fstat(1) according to specified jid
o bin/32828    jail       [jail] w(1) incorrectly handles stale utmp slots with 

13 problems total.

Thomas Steen Rasmussen | 8 Mar 23:30 2012
Picon

Using jail name in rctl(8) doesn't work - jail id works

Hello,

When I specify an rctl(8) rule for a jail using
the jail name it doesn't work. Displaying
resource usage doesn't work either, when
using the jail name, like "rctl -hu jail:myjail"

On the other hand, if I run "rctl -hu jail:3"
where 3 is the jail id, it works as expected.

The manpage examples use the jail name so
it should work. Any idea why it doesn't ? I am
using 9.0-REL on this system.

Should I submit a PR with relevant examples ?

Thanks!

/Thomas Steen Rasmussen

dfilter service | 9 Mar 17:20 2012
Picon

Re: bin/165515: commit references a PR

The following reply was made to PR bin/165515; it has been noted by GNATS.

From: dfilter@... (dfilter service)
To: bug-followup@...
Cc:  
Subject: Re: bin/165515: commit references a PR
Date: Fri,  9 Mar 2012 16:18:03 +0000 (UTC)

 Author: mm
 Date: Fri Mar  9 16:17:46 2012
 New Revision: 232728
 URL: http://svn.freebsd.org/changeset/base/232728

 Log:
   Jail-mount MFC:	r231265,r231267,r231269,r232059,r232186,r232247,
   		r232278,r232307,r232342

   MFC r231265:
   Introduce the "ruleset=number" option for devfs(5) mounts.
   Add support for updating the devfs mount (currently only changing the
   ruleset number is supported).
   Check mnt_optnew with vfs_filteropt(9).

   This new option sets the specified ruleset number as the active ruleset
   of the new devfs mount and applies all its rules at mount time. If the
   specified ruleset doesn't exist, a new empty ruleset is created.

   MFC r231267 [1]:
   Add support for mounting devfs inside jails.

(Continue reading)

Thomas Steen Rasmussen | 9 Mar 21:45 2012
Picon

Re: Using jail name in rctl(8) doesn't work - jail id works

On 08-03-2012 23:30, Thomas Steen Rasmussen wrote:
> Hello,
>
> When I specify an rctl(8) rule for a jail using
> the jail name it doesn't work. Displaying
> resource usage doesn't work either, when
> using the jail name, like "rctl -hu jail:myjail"
>
> On the other hand, if I run "rctl -hu jail:3"
> where 3 is the jail id, it works as expected.
>
> The manpage examples use the jail name so
> it should work. Any idea why it doesn't ? I am
> using 9.0-REL on this system.
>
> Should I submit a PR with relevant examples ?
Hello,

I submitted the PR which has more information.
jexec(8) is also unable to convert the jail name to jail id on
this sýstem.
My jails are created and started using ezjail, if that matters.

Link to the PR:
http://www.freebsd.org/cgi/query-pr.cgi?pr=165886

Thanks,

Thomas Steen Rasmussen

(Continue reading)

Miroslav Lachman | 9 Mar 22:08 2012
Picon

Re: Using jail name in rctl(8) doesn't work - jail id works

Thomas Steen Rasmussen wrote:
> On 08-03-2012 23:30, Thomas Steen Rasmussen wrote:
>> Hello,
>>
>> When I specify an rctl(8) rule for a jail using
>> the jail name it doesn't work. Displaying
>> resource usage doesn't work either, when
>> using the jail name, like "rctl -hu jail:myjail"
>>
>> On the other hand, if I run "rctl -hu jail:3"
>> where 3 is the jail id, it works as expected.
>>
>> The manpage examples use the jail name so
>> it should work. Any idea why it doesn't ? I am
>> using 9.0-REL on this system.
>>
>> Should I submit a PR with relevant examples ?
> Hello,
>
> I submitted the PR which has more information.
> jexec(8) is also unable to convert the jail name to jail id on
> this sýstem.
> My jails are created and started using ezjail, if that matters.
>
> Link to the PR:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=165886

Can you post output of `jls -v` and/or `jls -qn`?

Miroslav Lachman
(Continue reading)

linimon | 10 Mar 07:07 2012
Picon

Re: bin/165886: Using jail name in rctl(8) doesn't work - jail id works

Synopsis: Using jail name in rctl(8) doesn't work - jail id works

Responsible-Changed-From-To: freebsd-bugs-≥freebsd-jail
Responsible-Changed-By: linimon
Responsible-Changed-When: Sat Mar 10 06:06:49 UTC 2012
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=165886
trasz | 10 Mar 08:44 2012
Picon

Re: bin/165886: Using jail name in rctl(8) doesn't work - jail id works

Synopsis: Using jail name in rctl(8) doesn't work - jail id works

Responsible-Changed-From-To: freebsd-jail-≥trasz
Responsible-Changed-By: trasz
Responsible-Changed-When: Sat Mar 10 07:44:24 UTC 2012
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=165886
Edward Tomasz Napierała | 10 Mar 08:49 2012
Picon

Re: Using jail name in rctl(8) doesn't work - jail id works

On Fri, Mar 09, 2012 at 09:45:02PM +0100, Thomas Steen Rasmussen wrote:
> On 08-03-2012 23:30, Thomas Steen Rasmussen wrote:
> > Hello,
> >
> > When I specify an rctl(8) rule for a jail using
> > the jail name it doesn't work. Displaying
> > resource usage doesn't work either, when
> > using the jail name, like "rctl -hu jail:myjail"
> >
> > On the other hand, if I run "rctl -hu jail:3"
> > where 3 is the jail id, it works as expected.
> >
> > The manpage examples use the jail name so
> > it should work. Any idea why it doesn't ? I am
> > using 9.0-REL on this system.
> >
> > Should I submit a PR with relevant examples ?
> Hello,
> 
> I submitted the PR which has more information.
> jexec(8) is also unable to convert the jail name to jail id on
> this sýstem.
> My jails are created and started using ezjail, if that matters.
> 
> Link to the PR:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=165886

Reason for this is that both rctl(8) and jexec(8) use jail names,
not jail hostnames, and jls(8) called without arguments displays
jail hostname, not jail name.
(Continue reading)


Gmane