From mboxrd@z Thu Jan 1 00:00:00 1970 From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Fri, 19 Oct 2012 08:08:45 -0400 Subject: [refpolicy] [PATCH v1] Changes to the miscfiles policy module In-Reply-To: <1349794664.30521.31.camel@d30.localdomain> References: <1349441808-23943-1-git-send-email-dominick.grift@gmail.com> <5074312A.70907@tresys.com> <1349794664.30521.31.camel@d30.localdomain> Message-ID: <508142CD.5040706@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 10/09/12 10:57, Dominick Grift wrote: > On Tue, 2012-10-09 at 10:14 -0400, Christopher J. PeBenito wrote: >> On 10/05/12 08:56, Dominick Grift wrote: >>> The file context for /var/cache/man will be handled by mandb >>> >>> Change various miscfiles man interfaces to include relevant mandb >>> interface calls >> >> I'm not sure that this is the right way to do. If you have miscfiles and not mandb, then you have a mislabeled /var/cache/man. I looked at your mandb.fc, and the entrypoint looks like a script; what is actually running? makewhatis? > > Ok how about we require mandb module by the miscfiles module instead? > > I can remove the optional(`') > > That way one cannot have the misfiles module without the mandb module No, modules can't unconditionally depend on modules at higher layers. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com