Return-Path: linux-nfs-owner@vger.kernel.org Received: from countercultured.net ([209.51.175.25]:33865 "HELO countercultured.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753950Ab2KUAhh (ORCPT ); Tue, 20 Nov 2012 19:37:37 -0500 Message-ID: <50AC224D.3080108@davequigley.com> Date: Tue, 20 Nov 2012 19:37:33 -0500 From: Dave Quigley MIME-Version: 1.0 To: Casey Schaufler CC: bfields@fieldses.org, trond.myklebust@netapp.com, sds@tycho.nsa.gov, linux-nfs@vger.kernel.org, selinux@tycho.nsa.gov, linux-security-module@vger.kernel.org Subject: Re: Labeled NFS [v5] References: <1352700947-3915-1-git-send-email-dpquigl@davequigley.com> <50ABF1A5.2010406@schaufler-ca.com> <50AC1A74.7080105@davequigley.com> <50AC2117.801@schaufler-ca.com> In-Reply-To: <50AC2117.801@schaufler-ca.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: On 11/20/2012 7:32 PM, Casey Schaufler wrote: > On 11/20/2012 4:04 PM, Dave Quigley wrote: >> On 11/20/2012 4:09 PM, Casey Schaufler wrote: >>> On 11/11/2012 10:15 PM, David Quigley wrote: >>>> The NFSv4 working group has finally accepted Labeled NFS as part of >>>> the NFSv4.2 >>>> specification and it has been decided that a reposting of the >>>> Labeled NFS code >>>> for inclusion into mainline was a good idea. The patches have been >>>> rebased onto >>>> v3.7-rc2 and have been tested against the SELinux testsuite with the >>>> only >>>> failures being for features not supported by NFS. >>> >>> I'm trying to get the user space tools built so that I can >>> do Smack testing. The instructions on selinuxproject.org >>> seen out of date with regard to the packages required to >>> build the NFS tools. I have failed to build on Fedora 17 >>> and Ubuntu 12.04. Any pointers beyond what's on the wiki? >>> >>> Thank you. >>> >>> >>> -- >>> 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. >>> >>> >> >> There are a bunch of libs that need to be installed for it to compile >> properly. > > Yes, indeed! > >> Unfortunately there are new dependencies which have been added since I >> updated the wiki last. > > I found that to be the case as well. > >> unfortunately don't remember what they are. > > And they're not obvious. > >> What I did to build it last time though was to apply the one patch >> onto the latest tag from the nfs-utils tree. > > Sound simple enough if you're building the nfs-util tree on a daily basis > I suppose. Not something that I do regularly, alas. > > >> Unfortunately I don't have a clean vm on hand at the moment so I can't >> manually go through and list all the packages for you. A heavy handed >> approach that should still work is that I can give you my rpm list >> from my VM and then you can just make sure you have all the devel >> packages installed. > > I'd be up for that. > > >> Another option would be to grab the nfs-utils srpm for fedora 17 and >> just add the patch into the spec file. > > Yeah. Or not. > >> That would work too and tell you the build dependencies you need. I >> could also just try to make that for you and put the RPM up but that >> wouldn't be for a few days at the earliest. > > That, or I could give you the instructions on how to enable and test > Smack. > > Thank you. > > >> >> Dave >> > Or I could just give you this link and you should be good to go ;) http://www.selinuxproject.org/~dpquigl/nfs-utils-rpms/ I haven't tried it but it should work. If it doesn't let me know and i'll try to fix it on my end. I'd imagine you might need to yum remove nfs-utils first before adding this new one or you could also try an rpm with the upgrade flag for this instead. Good luck. Dave