Page MenuHomeFreeBSD

D32934.id98340.diff
No OneTemporary

D32934.id98340.diff

Index: usr.sbin/jail/jail.c
===================================================================
--- usr.sbin/jail/jail.c
+++ usr.sbin/jail/jail.c
@@ -451,6 +451,16 @@
if (next_command(j))
continue;
jail_create_done:
+ /* Stop the jail when not in failure and not persisting. */
+ if ((j->flags & JF_PERSIST) && !(j->flags & JF_FAILED)) {
+ j->flags = JF_STOP;
+ j->comparam = stopcommands;
+ j->comstring = NULL;
+ dep_reset(j);
+
+ if (!dep_check(j))
+ requeue(j, &ready);
+ }
clear_persist(j);
if (jfp != NULL)
print_jail(jfp, j, oldcl, 1);

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 10, 3:49 PM (9 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38655267
Default Alt Text
D32934.id98340.diff (593 B)

Event Timeline