On Thu, Apr 08, 2010 at 09:52:32AM +0900, KaiGai Kohei wrote: > It seems to me the latest selinux-policy package forgot to build > dbadm package, although its interface file is distributed. > > [kaigai@saba ~]$ rpm -q selinux-policy > selinux-policy-3.7.15-4.fc13.noarch > [kaigai@saba ~]$ rpm -ql selinux-policy | grep dbadm > /usr/share/selinux/devel/include/roles/dbadm.if > > However, > > [kaigai@saba ~]$ rpm -ql selinux-policy-targeted | grep dbadm > > Perhaps, modules-targeted.conf of the selinux-policy spec was not > updated when it upgraded to the upstream policy which containts > dbadm.*. > > Could you fix it? > > Thanks, dbadm.if is what was previously considered a devel file (selinux-policy-devel) However since a while now, the selinux-policy-devel package migrated to the selinux-policy package the selinux-policy package is always installed ( it is an dependency for any selinux policy model package ) Conclusion: This is proper and as expected. development files are packaged into selinux-policy and not selinux-policy-%{model} But it does not matter because: if you have selinux-policy-%{model} installed, then you also have selinux-policy installed (dependency) This brings me to another issue: [root@localhost sysconfig]# repoquery -ql mod_selinux /etc/httpd/conf.d/mod_selinux.conf /usr/lib64/httpd/modules/mod_selinux.so /usr/share/doc/mod_selinux-2.2.2454 /usr/share/doc/mod_selinux-2.2.2454/LICENSE /usr/share/doc/mod_selinux-2.2.2454/README /usr/share/selinux/mls/mod_selinux.pp /usr/share/selinux/targeted/mod_selinux.pp [root@localhost sysconfig]# yum whatprovides *\mod_selinux.if No Matches found People have been wanting to develop some modification/extension to you mod_selinux packages but they encountered a missing /usr/share/selinux/devel/include/.../mod_selinux.if development file. They had to resort to extracting the mod_selinux source rpm to retrieve mod_selinux.if and put that manually in /usr/share/selinux/devel/include/../ Please consider the following: 1. Either create a mod_selinux-devel package and include mod_selinux.if 2. or alternatively add it to the mod_selinux package So that people can develop/modify/extend it. Thank! > -- > KaiGai Kohei <kaigai@xxxxxxxxxxxxx> > -- > selinux mailing list > selinux@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/selinux
Attachment:
pgpJmMOOuBYOs.pgp
Description: PGP signature
-- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux