All of lore.kernel.org
 help / color / mirror / Atom feed
* Boolean change of names.
@ 2012-06-11 16:12 Daniel J Walsh
  2012-06-11 16:51 ` Stephen Smalley
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel J Walsh @ 2012-06-11 16:12 UTC (permalink / raw)
  To: Stephen Smalley, Eric Paris; +Cc: SELinux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

We have started pushing a boolean change into Fedora 18.

https://fedoraproject.org/wiki/Features/SELinuxBooleansRename

The problem we are seeing is that boolean names used within an interface are
causing the install to fail on rebuild of policy.

IE If I installed a custom policy with a boolean used in it, and the boolean
changed then the module will blow up the policy compile.


interface(`kerberos_manage_host_rcache',`
	gen_require(`
		type krb5_host_rcache_t;
	')

...

	tunable_policy(`allow_kerberos',`
		allow $1 self:process setfscreate;
...
	')

...
')

And change the allow_kerberos to kerberos_enabled.

One idea would be to pull the translations into the semanage, or would I need
to do this at a lower level.  Or are we stuck with these bad names forever...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/WGQEACgkQrlYvE4MpobOHYQCdEg6dag1f3ucskDiXohzcMITB
pPQAoM21wP+O5Cgsiu2dmFGR+UcRaFne
=1UKe
-----END PGP SIGNATURE-----

--
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-11 17:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 16:12 Boolean change of names Daniel J Walsh
2012-06-11 16:51 ` Stephen Smalley
2012-06-11 17:21   ` Eric Paris
2012-06-11 17:34     ` Stephen Smalley
2012-06-11 17:38       ` Daniel J Walsh
2012-06-11 17:45         ` Stephen Smalley
2012-06-11 17:49           ` Eric Paris
2012-06-11 17:49       ` Daniel J Walsh
2012-06-11 17:49       ` Christopher J. PeBenito
2012-06-11 17:36   ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.