File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,19 @@ and this project adheres to
46
46
This fixes a bug where a microVM with incompatible balloon and guest memory
47
47
size could be booted, due to the check for this condition happening after
48
48
Firecracker's configuration was updated.
49
+ - [ #4259 ] ( https://github.com/firecracker-microvm/firecracker/pull/4259 ) : Added a
50
+ double fork mechanism in the Jailer to avoid setsid() failures occurred while
51
+ running Jailer as the process group leader. However, this changed the
52
+ behaviour of Jailer and now the Firecracker process will always have a
53
+ different PID than the Jailer process.
54
+ [ #4436 ] ( https://github.com/firecracker-microvm/firecracker/pull/4436 ) : Added a
55
+ "Known Limitations" section in the Jailer docs to highlight the above change
56
+ in behaviour introduced in PR #4259 .
57
+ [ #4442 ] ( https://github.com/firecracker-microvm/firecracker/pull/4442 ) : As a
58
+ solution to the change in behaviour introduced in PR #4259 , provided a
59
+ mechanism to reliably fetch Firecracker PID. With this change, Firecracker
60
+ process's PID will always be available in the Jailer's root directory
61
+ regardless of whether new_pid_ns was set.
49
62
50
63
## \[ 1.6.0\]
51
64
Original file line number Diff line number Diff line change @@ -280,10 +280,13 @@ Note: default value for `<api-sock>` is `/run/firecracker.socket`.
280
280
### Known limitations
281
281
282
282
- When passing the --daemonize option to Firecracker without the --new-ns-pid
283
- option, the Firecracker process will have a different pid than the Jailer
284
- process. The suggested workaround to get Firecracker process's pid in this
285
- case is using ` --new-pid-ns ` flag and read Firecracker's pid from the
286
- ` firecracker.pid ` file present in the jailer's root directory.
283
+ option, the Firecracker process will have a different PID than the Jailer
284
+ process and killing the Jailer will not kill the Firecracker process. As a
285
+ workaround to get Firecracker PID, the Jailer stores the PID of the child
286
+ process in the jail root directory inside ` <exec_file_name>.pid ` for all cases
287
+ regardless of whether ` --new-pid-ns ` was provided. The suggested way to fetch
288
+ Firecracker's PID when using the Jailer is to read the ` firecracker.pid ` file
289
+ present in the Jailer's root directory.
287
290
288
291
## Caveats
289
292
You can’t perform that action at this time.
0 commit comments