Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with SMTP id l79CEl7S024837 for ; Thu, 9 Aug 2007 08:14:47 -0400 Received: from fk-out-0910.google.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id l79CEjc5002880 for ; Thu, 9 Aug 2007 12:14:46 GMT Received: by fk-out-0910.google.com with SMTP id 19so730678fkr for ; Thu, 09 Aug 2007 05:14:28 -0700 (PDT) Message-ID: Date: Thu, 9 Aug 2007 21:14:27 +0900 From: "Shintaro Fujiwara" To: selinux Subject: Re: libsepol.print_missing_requirements In-Reply-To: <1186410281.17889.35.camel@moss-spartans.epoch.ncsc.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1186170119.2434.313.camel@moss-spartans.epoch.ncsc.mil> <1186410281.17889.35.camel@moss-spartans.epoch.ncsc.mil> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov I solved the problem, only upgrading selinux-related rpm packages, to default packages with --oldpackage option. #rpm -Uvh --oldpackage selinux-policy-such... I upgraded to old packages, libselinux or checkpolicy policycoreutils and everything. I could install my module in default F7 packages all right. I'm calm now... I will maintain my server under default module for a while. In a sense, SELinux is good when you do not update. Even if packages have security flaws, system itself is intact. 2007/8/6, Stephen Smalley : > On Sat, 2007-08-04 at 05:52 +0900, Shintaro Fujiwara wrote: > > Today I updated policies to 2.6.4.30 but couldn't make it either. > > And I eliminated older versions of policycoreutils. > > > > I generated by policygentool a policy for noip dynamic-dns updater. > > .te file has nothing special execpt I added _etc_ type which I think > > should has configuration file. > > I don' think there's something to do with the tool. > > .te file has proper declarations I think... > > > > Here's the message. > > > > #semodule -i noip.pp > > libsepol.print_missing_requirements: noip's global requirements were > > not met: type/attribute httpd_sysadm_script_exec_t > > libsemanage.semanage_link_sandbox: Link packages failed > > semodule: Failed! > > > > So, I added this type and on and on... > > such like, > > munin_t, resmgrd_t, openca_ca_t, razor_t, dcc_client_t, siggen_t, aide_t........ > > All I noticed not installed in strict policy. > > > > I'm at a loss... > > I don't understand. I can build and install the .te file you attached > without any difficulty on a F7 system with strict policy. And I don't > see where the requirements you listed are relevant to this module. > > Try rebuilding the .pp file: > make -f /usr/share/selinux/devel/Makefile clean > make -f /usr/share/selinux/devel/Makefile noip.pp > > -- > Stephen Smalley > National Security Agency > > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.