All of lore.kernel.org
 help / color / mirror / Atom feed
* policy version jumped to 18
@ 2004-07-31 12:06 Luke Kenneth Casson Leighton
  2004-07-31 14:18 ` Luke Kenneth Casson Leighton
  2004-08-02 12:34 ` Stephen Smalley
  0 siblings, 2 replies; 5+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-07-31 12:06 UTC (permalink / raw)
  To: SE-Linux

arg, wot a pain.

i am doing an install on another machine, just for fun
(and prior to doing an upgrade on another).

this is with my lovely 2.6.6-selinux1 kernel.

policy version being reported by the kernel i am using is 17.

checkpolicy is being a pain and reporting that it does version 18.

therefore, a make install does this:

creates a policy.conf file, and creates a .17 file (somewhere) because
that's what the kernel supports.

checkpolicy is then used to find what to check, which says "i do version 18".

consequently, i don't get anywhere.

hack-time...

-- 
-- 
Information I post is with honesty, integrity, and the expectation that
you will take full responsibility if acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />


--
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] 5+ messages in thread

* Re: policy version jumped to 18
  2004-07-31 12:06 policy version jumped to 18 Luke Kenneth Casson Leighton
@ 2004-07-31 14:18 ` Luke Kenneth Casson Leighton
  2004-07-31 16:11   ` Erich Schubert
  2004-08-02 12:34 ` Stephen Smalley
  1 sibling, 1 reply; 5+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-07-31 14:18 UTC (permalink / raw)
  To: SE-Linux

On Sat, Jul 31, 2004 at 01:06:34PM +0100, Luke Kenneth Casson Leighton wrote:

> arg, wot a pain.
> 
> i am doing an install on another machine, just for fun
> (and prior to doing an upgrade on another).
> 
> this is with my lovely 2.6.6-selinux1 kernel.
> 
> policy version being reported by the kernel i am using is 17.
> 
> checkpolicy is being a pain and reporting that it does version 18.
> 
> therefore, a make install does this:
> 
> creates a policy.conf file, and creates a .17 file (somewhere) because
> that's what the kernel supports.
> 
> checkpolicy is then used to find what to check, which says "i do version 18".
> 
> consequently, i don't get anywhere.
> 
> hack-time...

 nope, didn't work.  boot-up of the 2.6.6 kernel went "eek, i
 only support versions 15-17".

 oh well.


--
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] 5+ messages in thread

* Re: policy version jumped to 18
  2004-07-31 14:18 ` Luke Kenneth Casson Leighton
@ 2004-07-31 16:11   ` Erich Schubert
  2004-07-31 17:12     ` Luke Kenneth Casson Leighton
  0 siblings, 1 reply; 5+ messages in thread
From: Erich Schubert @ 2004-07-31 16:11 UTC (permalink / raw)
  To: Luke Kenneth Casson Leighton; +Cc: SE-Linux

Hi Luke,
when you use policy utilities and policy files for version 18 you
probably should upgrade your kernel to support verison 18, too.
I had the same problem; i hacked the makefile so the tools explicitely
generate a version 17 policy, but the better way to get the kernel patch
from the selinux homepage and just build a kernel with version 18.

Greetings,
Erich


--
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] 5+ messages in thread

* Re: policy version jumped to 18
  2004-07-31 16:11   ` Erich Schubert
@ 2004-07-31 17:12     ` Luke Kenneth Casson Leighton
  0 siblings, 0 replies; 5+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-07-31 17:12 UTC (permalink / raw)
  To: Erich Schubert; +Cc: SE-Linux

On Sat, Jul 31, 2004 at 06:11:29PM +0200, Erich Schubert wrote:
> Hi Luke,
> when you use policy utilities and policy files for version 18 you
> probably should upgrade your kernel to support verison 18, too.
 
 ha :)

> I had the same problem; i hacked the makefile so the tools explicitely
> generate a version 17 policy, but the better way to get the kernel patch
> from the selinux homepage and just build a kernel with version 18.

 well, i grabbed the source code from sf.net instead, along with
 apt-get source kernel-image-2.6.7-k7, copied /usr/src/k..../config/k7
 and enabled the selinux stuff.

 so far so bad... :)

 l.


--
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] 5+ messages in thread

* Re: policy version jumped to 18
  2004-07-31 12:06 policy version jumped to 18 Luke Kenneth Casson Leighton
  2004-07-31 14:18 ` Luke Kenneth Casson Leighton
@ 2004-08-02 12:34 ` Stephen Smalley
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Smalley @ 2004-08-02 12:34 UTC (permalink / raw)
  To: Luke Kenneth Casson Leighton; +Cc: SE-Linux

On Sat, 2004-07-31 at 08:06, Luke Kenneth Casson Leighton wrote:
> policy version being reported by the kernel i am using is 17.
> 
> checkpolicy is being a pain and reporting that it does version 18.
> 
> therefore, a make install does this:
> 
> creates a policy.conf file, and creates a .17 file (somewhere) because
> that's what the kernel supports.
> 
> checkpolicy is then used to find what to check, which says "i do version 18".
> 
> consequently, i don't get anywhere.

checkpolicy -c n will generate policy version n (-c for compatibility).

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
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.

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

end of thread, other threads:[~2004-08-02 12:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-31 12:06 policy version jumped to 18 Luke Kenneth Casson Leighton
2004-07-31 14:18 ` Luke Kenneth Casson Leighton
2004-07-31 16:11   ` Erich Schubert
2004-07-31 17:12     ` Luke Kenneth Casson Leighton
2004-08-02 12:34 ` Stephen Smalley

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.