Subject: Re: su problems again From: Jeremiah Jahn To: Stephen Smalley Cc: selinux In-Reply-To: <1202155858.3070.127.camel@moss-spartans.epoch.ncsc.mil> References: <1202151733.2801.116.camel@bluejay.goodinassociates.com> <1202152318.3070.121.camel@moss-spartans.epoch.ncsc.mil> <1202154013.2801.119.camel@bluejay.goodinassociates.com> <1202155858.3070.127.camel@moss-spartans.epoch.ncsc.mil> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-osHGPcJINdiGJkhb6E98" Date: Mon, 04 Feb 2008 14:21:45 -0600 Message-Id: <1202156505.2801.122.camel@bluejay.goodinassociates.com> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --=-osHGPcJINdiGJkhb6E98 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable that generally resorts to errors like: make: *** No rule to make target `usbbases.if', needed by `tmp/all_interfac= es.conf'. Stop. or when I just changed the build.conf to monolithic=3Dy mono.te throws errors. At least the modules actually compile. -jj- On Mon, 2008-02-04 at 15:10 -0500, Stephen Smalley wrote: > On Mon, 2008-02-04 at 13:40 -0600, Jeremiah Jahn wrote: > > Apparently I'm not. I'm using 1.33 on a pretty clean RHEL5 box. Any ide= a > > of how difficult it will be to jump to the devel version? Or is there > > another way to disable the dontaudits? >=20 > Since you said you are building policy from source, you can always just > sed -i "s/module/base" policy/modules.conf and then make enableaudit to > build everything into base with all dontaudits removed. > =20 > >=20 > >=20 > > On Mon, 2008-02-04 at 14:11 -0500, Stephen Smalley wrote: > > > On Mon, 2008-02-04 at 13:02 -0600, Jeremiah Jahn wrote: > > > > Is there some way to turn of the dontaudit w/ the refpolicy and a > > > > module policy build. make enableaudit seems to only change the base > > > > policy, and not any of the policies that actually do anything.=20 > > > >=20 > > > > This is with the refpolicy selinux-refpolicy-sources-20071214-1 run= ning > > > > on RHEL5.=20 > > > >=20 > > > > For some reason, when the policy is enforced, I can't su from a st= aff_r > > > > user, yet when I try with enforcing=3D0 I don't get any audit messa= ges, > > > > and I'm not really comfortable modifying every user oriented admin > > > > modules to remove the dontaudit rules. doing so in su.te helped fin= d a > > > > few things, but I'm not sure what's blocking it now.=20 > > >=20 > > > If using a recent semodule, you can do semodule -DB to strip the enti= re > > > policy of dontaudit rules and load the result, then semodule -B to > > > revert to the original policy. > > >=20 > > In 1880 the French captured Detroit but gave it back ... they couldn't > > get parts. Parkinson's Fifth Law: If there is a way to delay in important decision, the good bureaucracy, public or private, will find it. --=-osHGPcJINdiGJkhb6E98 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHp3PZ6caZY8jbHDkRAr4SAKCXcBu0PNPVvTVkJb/OhTms1AQBrACgvaTa Exa0V2Hv/MhLBYmh1vxL5jY= =rY8o -----END PGP SIGNATURE----- --=-osHGPcJINdiGJkhb6E98-- -- 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.