Updating the nvidia driver for Fedora Core5
Matt Domsch
Matt_Domsch at dell.com
Fri Apr 14 09:38:30 CDT 2006
On Fri, Apr 14, 2006 at 09:44:18AM +0100, Paul Howarth wrote:
> On Thu, 2006-04-13 at 16:50 -0600, Stephen J. Smoogen wrote:
> > I am trying to make an internal update to the Dell dkms Nvidia package
> > and realized that I might need to fuss with selinux policy items. Are
> > there special directive for doing this.. or is the recommended way to
> > put changes in the %pre/%post items.
>
> Presumably this was triggered by FC5's memory protection?
>
> I think what should really happen is that the distribution's upstream
> policy should include the correct context for the module in its final
> destination under /lib/modules/... (Dan Walsh at Red Hat has always been
> amenable to adding things to policy like this) and that all that should
> be necessary for a dkms package would be something like this in dkms's
> "install" section:
>
> [ -x /sbin/restorecon ] && /sbin/restorecon /path/to/installed/module
Agreed. Until DKMS includes this, individual modules can use a
POST_INSTALL script to do the same, yes?
Thanks,
Matt
--
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
More information about the DKMS-devel
mailing list