Page MenuHomeFreeBSD
Feed Advanced Search

Mar 30 2016

jamie committed rS297424: Use osd_reserve / osd_jail_set_reserved, which is known to succeed..
Use osd_reserve / osd_jail_set_reserved, which is known to succeed.
Mar 30 2016, 5:05 PM
jamie committed rS297422: Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocation.
Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocation
Mar 30 2016, 4:57 PM

Mar 28 2016

jamie committed rS297367: Move the various per-type arrays of OSD data into a single structure array..
Move the various per-type arrays of OSD data into a single structure array.
Mar 28 2016, 10:18 PM

Feb 22 2016

jamie accepted D5390: MFH request for 285685r..
Feb 22 2016, 2:09 PM

Feb 11 2016

jamie accepted D5243: Update rc.conf.5 for jail_list and jail_reverse_stop.
Feb 11 2016, 11:31 PM

Feb 10 2016

jamie accepted D5243: Update rc.conf.5 for jail_list and jail_reverse_stop.

I'm kind of late to the game, but it looks good to me (as do most of the inline suggestions)

Feb 10 2016, 10:07 PM
jamie committed rS295468: Remove man page references to rndassociates.com, which has been taken over.
Remove man page references to rndassociates.com, which has been taken over
Feb 10 2016, 2:49 PM

Feb 9 2016

jamie accepted D5233: Stop jails in reverse order.
Feb 9 2016, 6:12 PM
jamie added a comment to D5233: Stop jails in reverse order.

TIL rc.subr has reverse_list, so the old patch didn't need to to it by hand!

Feb 9 2016, 6:08 PM

Jan 28 2016

jamie committed rS294964: MFC r294749:.
MFC r294749:
Jan 28 2016, 12:41 AM

Jan 25 2016

jamie committed rS294749: Allow the (old rc-style) exec_afterstart jail parameters to start numbering.
Allow the (old rc-style) exec_afterstart jail parameters to start numbering
Jan 25 2016, 10:14 PM

Jan 21 2016

jamie committed rS294484: MFC r294183:.
MFC r294183:
Jan 21 2016, 4:37 AM

Jan 16 2016

jamie committed rS294196: Don't bother checking an ip[46].addr netmask/prefixlen. This is already.
Don't bother checking an ip[46].addr netmask/prefixlen. This is already
Jan 16 2016, 10:33 PM
jamie committed rS294183: Clear errno before calling getpw*..
Clear errno before calling getpw*.
Jan 16 2016, 6:13 PM

Dec 31 2015

jamie committed rS292968: MFC r287220:.
MFC r287220:
Dec 31 2015, 1:27 AM
jamie committed rS292967: MFC r292759:.
MFC r292759:
Dec 31 2015, 1:24 AM

Dec 26 2015

jamie committed rS292759: Let old-style (shell-based) jail configuration handle jail names that.
Let old-style (shell-based) jail configuration handle jail names that
Dec 26 2015, 11:02 PM

Dec 18 2015

jamie committed rS292416: MFC r292277:.
MFC r292277:
Dec 18 2015, 12:33 AM
jamie committed rS292415: MFC r292277:.
MFC r292277:
Dec 18 2015, 12:33 AM

Dec 15 2015

jamie committed rS292277: Fix jail name checking that disallowed anything that starts with '0'..
Fix jail name checking that disallowed anything that starts with '0'.
Dec 15 2015, 7:47 PM

Aug 29 2015

jamie committed rS287269: MFC r287012:.
MFC r287012:
Aug 29 2015, 2:42 AM

Aug 22 2015

jamie committed rS287012: Make pkill/pgrep -j ARG take jname, not just jid..
Make pkill/pgrep -j ARG take jname, not just jid.
Aug 22 2015, 5:04 AM

Jul 30 2015

jamie committed rS286064: MFC r285420:.
MFC r285420:
Jul 30 2015, 4:54 AM

Jul 17 2015

jamie accepted D2846: Add jail awareness to linprocfs and linsysfs.
Jul 17 2015, 3:48 AM

Jul 12 2015

jamie committed rS285420: Run a shell in the jail when no command is specified..
Run a shell in the jail when no command is specified.
Jul 12 2015, 5:04 PM

Jul 10 2015

jamie added a comment to D2088: Shutdown jails in reverse order if jail_list is specified.

There's a right way to do it, which is to use the natural ordering of the jail command (including the depend parameter). But that would require re-writing the rc script to run the jail command once for all the jails, instead of trying to get the ordering on its own. Unfortunately, backward compatibility (e.g. ez-jail wanting these pid files) makes the right way difficult.

Jul 10 2015, 5:24 PM

Jul 9 2015

jamie committed rS285345: MFC r241196:.
MFC r241196:
Jul 9 2015, 11:40 PM
jamie committed rS285344: MFC r279081:.
MFC r279081:
Jul 9 2015, 11:10 PM
jamie committed rS285343: MFC r241197:.
MFC r241197:
Jul 9 2015, 10:55 PM

Jul 8 2015

jamie accepted D3017: Add PF_IMMUTABLE for immutable parameters in jail.conf.
Jul 8 2015, 3:43 AM

Jul 7 2015

jamie added a comment to D3018: Fix recursive variable substitution in jail.conf.

Looks good to me :-)

Jul 7 2015, 8:47 PM
jamie added a comment to D3017: Add PF_IMMUTABLE for immutable parameters in jail.conf.

You may want to do the same with jid. You can give the jail.conf block a numeric tag, which will set the jid instead of the name, but will will still set j->name to that tag string. I would expect the same sort of problem from then setting jid=x inside the block.

Jul 7 2015, 8:38 PM

Jun 28 2015

jamie added a comment to D2846: Add jail awareness to linprocfs and linsysfs.

I'd prefer it do a little less: first, the old shell-based parameters for /etc/rc.d/jail are for backward compatibility, and anyone who's going to be using new parameters should also be using the "new" config file. Also, the mount.linprocfs/linsysfs parameters don't need to exist. They exist mostly to cover things that were already in the old rc.d system, and can as easily be covered by the more general "mount" parameter.

Jun 28 2015, 5:51 PM

Apr 23 2015

jamie added a comment to D2088: Shutdown jails in reverse order if jail_list is specified.

I'm not particularly invested in keeping the command line the same as rc.conf; if rc.conf reverses and the command line doesn't, that's fine by me.

Apr 23 2015, 12:37 AM

Mar 25 2015

jamie added a comment to D2130: Unmout devfs when killing a jail..
In D2130#16, @robak wrote:

I've made some more testing to figure out why you say it works, when I clearly see it doesnt, and I think I've found a problem: when jail -r jailname is used, then indeed, the jail command cleans up the mounts it created. However, when jail -r jid is used, the mounts are staying after killing the jail and cluttering the host by future mounts in the same place.

I'd suggest adding a functionality to jail -r jid which seems to be not reading the config when jailname is not used, to check the mounts in killed jail and remove them, in some similar way that the patch is doing it, to clean up after the jail. In addition to that, creating a jail -c could verify if there are any leftover mounts in the jail's target mountpoint to do something about them (cleanup? warning? error?).

Mar 25 2015, 1:20 PM

Mar 24 2015

jamie added a comment to D2130: Unmout devfs when killing a jail..
In D2130#11, @jilles wrote:

If you care just about devfs, IP_MOUNT_DEVFS appears to be capable of an umount command already.

Mar 24 2015, 10:01 PM

Mar 18 2015

jamie added a comment to D2088: Shutdown jails in reverse order if jail_list is specified.

We need to reverse a list that comes from rc.conf, since there's only the one list for both directions. I think it would be confusing to reverse it in one situation and not in the other.

Mar 18 2015, 1:54 AM

Mar 17 2015

jamie added a comment to D2088: Shutdown jails in reverse order if jail_list is specified.

It works just as expected:

Mar 17 2015, 10:38 PM
jamie accepted D2088: Shutdown jails in reverse order if jail_list is specified.
Mar 17 2015, 8:28 PM
jamie added a comment to D2088: Shutdown jails in reverse order if jail_list is specified.

It does the right thing in its place. I would change the "_ _j" loop variable should just be _j though - or if you really want the double underscore add it to the local declaration.

Mar 17 2015, 8:01 PM

Feb 25 2015

jamie accepted D1948: Allow kern.osrelease and kern.osreldate to be set in a jail at creation time..
Feb 25 2015, 6:37 PM
jamie added a comment to D1948: Allow kern.osrelease and kern.osreldate to be set in a jail at creation time..

Sounds good - thanks for looking into those. I had just kind of looked around at things, mostly because I wasn't all that familiar with osreldate (osrelease is a little easier to digest).

Feb 25 2015, 3:57 AM

Feb 23 2015

jamie added a comment to D1948: Allow kern.osrelease and kern.osreldate to be set in a jail at creation time..

I have a few little picky notes :-) ...

Feb 23 2015, 9:49 PM

Aug 4 2014

jamie accepted D528: Add support for extra parameters to jail ip4.addr and ip6.addr.
Aug 4 2014, 3:50 PM
jamie added a comment to D528: Add support for extra parameters to jail ip4.addr and ip6.addr.

One small change for the part in config.c that strips the extra parameters from KP_IP4_ADDR: if you put those two lines of code after line 591 (instead of after line 587) then you can reuse cs (as the current 592 does) instead of having to define the new ss. Or perhaps better after 603, to keep things in order.

Aug 4 2014, 12:45 PM