Description of problem: When you boot an F18 box the content under /run/udev/ has lots of default_t labeled files instead of udev_var_run_t. I believe these files are being created during early boot and not having their labels corrected, this works correctly in F17. systemd-183-1.fc18.x86_64 This could be happening if the prefix is just being set to /dev and not to /var/run
The problem is caused by label_init("/dev") We should either eliminate this since systemd-udev is creating content under /var/run also. (/run) It really needs label_init("/dev", "/var/run")
Another option would be to only use the SELinux labeling rules in systemd-udev when creating content in /dev and rely on SELinux to label stuff created in other directories.
Oh, I see. Yeah, that needs fixing. How would "rely on SELinux to label stuff created in other directories" look like? We do not have any explicit selinux context settings in other paths than /dev.
Fixed in git.
New release submitted for f18.
This one works for me.