Comment 0 for bug 245984

Revision history for this message
Rehan Khan (rasker) wrote :

Storing the rpm %pre and %post scripts in /tmp causes issues with systems secured by selinux. For example on Fedora useradd and groupadd are specifically constrained from running scripts in /tmp (selinux-targetted policy) so any rpm script which wants to add a user or group will *silently* fail. The only way to see the failure is in setroubleshooter.

Is there a better way/place to process rpm's? If this is an rpm problem how can smart handle this?