OpenVZ kernel: non-POSIX behavior in mmap functions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Hardy |
Fix Released
|
Medium
|
Tim Gardner | ||
Intrepid |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
I had upstart crashes in an OpenVZ container, when upstart was reading new/changed event files.
(This caused the whole container to crash!)
Scott has debugged this to be caused by non-POSIX behavior in mmap related functions in the kernel.
There are two patches in the OpenVZ patchset, which cause this:
1. "Return addr from mmap(2) when len is zero"
http://
2. "IA64: mmap returns EINVAL if len==0"
http://
I've added a patch to debian/
This is with 2.6.24-18-openvz (from Git) on Ubuntu Hardy. The host system is amd64, the containers x86.
Changed in openvz-kernel: | |
status: | Unknown → Confirmed |
Changed in openvz-kernel: | |
status: | Confirmed → Fix Released |
Changed in linux: | |
assignee: | nobody → timg-tpi |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
milestone: | ubuntu-8.04.1 → none |
Subscribing ubuntu-sru.
This has been included now in the upstream patchset (ovz005.1): download. openvz. org/kernel/ branches/ 2.6.24/ 2.6.24- ovz005. 1/patches/
http://
See also upstream git at: http:// git.openvz. org/?p= ubuntu- hardy-openvz; a=blob; f=debian/ binary- custom. d/openvz/ patchset/ 0074-mmap- 0-einval. patch;h= a2a4c8a03308507 87334465ebf211c 66a4cbda43; hb=a625c1cb036f 635124c67d4745d a52516805b225
More information is available in the upstream bug report.