zfsonlinux/zfs — Issue #569: zvol_id failing on gentoo (probably other distributions who build with stack protection)
Author: Peitolm
Created: 2012-02-12 21:40:20+00:00
State: open

# /lib/udev/zvol_id /dev/zd0
*** stack smashing detected ***: zvol_id - terminated
zvol_id: stack smashing attack in function - terminated
Report to http://bugs.gentoo.org/
Killed

added -fno-stack-protector to the compile line for zvol_id and it compiles and works,

# /lib/udev/zvol_id /dev/zd0
tank/volume