Description of problem: /sbin/udevstart segfaults on an ATIIXP chipset which is not supported well by the kernel yet. There, /proc/ide/hda/media can not be read (EIO error) and udevstart seems to give a null-pointer to an SELinux function checking the media-type. I do not have the logs available ATM, but can them provide when needed. Version-Release number of selected component (if applicable): udev-039-10.FC3.5 How reproducible: 100%
responsible code-sniplets are: ---- selinux.h ---- | static inline int selinux_get_media(char *path, int mode, char **media) | ... | *media = NULL; | ... | if (fgets(mediabuf,sizeof(mediabuf), fp)) { /// fails with EIO | ... | } | return 0 /// *media==NULL still holds | static inline void selinux_setfilecon(char *file, unsigned int mode) | ... | int ret=selinux_get_media(file, mode, &media); | if (ret == 0) { | ret = matchmediacon(media, &scontext); /// 'media' is NULL at this point
already have that patch ready :)
does this fix the problem? ftp://people.redhat.com/harald/udev-039-10.FC3.6.i386.rpm
This patch (udev-039-10.FC3.6.i386.rpm) fixed the problem for me. I was experiencing the same issues Enrico had on an Intel ICH6 controller. The actual model number is Intel 8201FR SATA AHCI Controller.
I will not see the machine before the weekend and can not provide feedback now. So when you have a good feeling about the patch, please push it out...