Message127450
How to reproduce:
# mkdir /mnt/readonly
# mount --bind / /mnt/readonly
# mount -o remount,ro /mnt/readonly
# mount -t proc proc /mnt/readonly/proc
# chroot /mnt/readonly python3.2 -c "import ctypes"
Segmentation fault
If your python build expected to have this bug, you'll see something like this (the -1 EROFS lines):
# chroot /mnt/readonly strace -f -e trace=open python3.2 -c "import ctypes" 2>&1 | grep ffi
open("/usr/lib/libffi.so.5", O_RDONLY) = 5
open("/tmp/.private/root/ffiicoh8G", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory)
open("/tmp/ffiFjqUa9", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system)
open("/var/tmp/ffidTdydB", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system)
open("/dev/shm/ffiemIcg3", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system)
open("/root/ffiXfWRiv", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system) |
|
Date |
User |
Action |
Args |
2011-01-29 17:41:03 | Arach | set | recipients:
+ Arach, theller, Arfrever, daniel.urban |
2011-01-29 17:41:03 | Arach | set | messageid: <1296322863.33.0.627796347149.issue11048@psf.upfronthosting.co.za> |
2011-01-29 17:41:02 | Arach | link | issue11048 messages |
2011-01-29 17:41:02 | Arach | create | |
|