All of lore.kernel.org
 help / color / mirror / Atom feed
* Error while installing:
@ 2003-07-31 18:38 Hariharan Gopalan
  2003-07-31 18:43 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Hariharan Gopalan @ 2003-07-31 18:38 UTC (permalink / raw)
  To: selinux

Hello

I am getting this error while making quickinstall:

It looks like the policy for inetd. My system uses xinetd, and so I did
notmove the inetd.te from unused, but I could not find a xinted.te...

Any pointers?

thanks
Hari



/usr/local/selinux/bin/checkpolicy:  loading policy configuration from
/etc/security/selinux/src/policy.conf
ERROR 'unknown type inetd_t' at token ';' on line 30882:
allow ftpd_t inetd_t:fd use;
#line 6070
/usr/local/selinux/bin/checkpolicy:  error(s) encountered while parsing
configuration
make[1]: *** [/etc/security/selinux/policy.12] Error 1
make[1]: Leaving directory `/usr/src/down/secure/selinux/policy'
make: *** [quickinstall] Error 2


--
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: Error while installing:
  2003-07-31 18:38 Error while installing: Hariharan Gopalan
@ 2003-07-31 18:43 ` Stephen Smalley
  2003-07-31 18:55   ` Hariharan Gopalan
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Smalley @ 2003-07-31 18:43 UTC (permalink / raw)
  To: Hariharan Gopalan; +Cc: selinux

On Thu, 2003-07-31 at 14:38, Hariharan Gopalan wrote:
> I am getting this error while making quickinstall:
> 
> It looks like the policy for inetd. My system uses xinetd, and so I did
> notmove the inetd.te from unused, but I could not find a xinted.te...

You still want to move up inetd.te when using xinetd.

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

* RE: Error while installing:
  2003-07-31 18:43 ` Stephen Smalley
@ 2003-07-31 18:55   ` Hariharan Gopalan
  2003-07-31 23:14     ` Russell Coker
  2003-08-01  0:09     ` Kerry Thompson
  0 siblings, 2 replies; 5+ messages in thread
From: Hariharan Gopalan @ 2003-07-31 18:55 UTC (permalink / raw)
  To: selinux

Thanks Stephen

I did not get the same error when I moved inetd.te, but got another error
for xserver.te, and that also went away when I removed xserver.

But this is the new error I am getting:

In file included from fstat_secure.c:5:
xstat_conv.h: In function `xstat_conv':
xstat_conv.h:59: structure has no member named `st_atim'
xstat_conv.h:60: structure has no member named `st_atim'
xstat_conv.h:61: structure has no member named `st_mtim'
xstat_conv.h:62: structure has no member named `st_mtim'
xstat_conv.h:63: structure has no member named `st_ctim'
xstat_conv.h:64: structure has no member named `st_ctim'
make[2]: *** [fstat_secure.o] Error 1
make[2]: Leaving directory `/usr/src/down/secure/selinux/libsecure/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/down/secure/selinux/libsecure'
make: *** [quickinstall] Error 2

What could this be due to?

thanks

Hari

||-----Original Message-----
||From: Stephen Smalley [mailto:sds@epoch.ncsc.mil]
||Sent: Thursday, July 31, 2003 2:43 PM
||To: Hariharan Gopalan
||Cc: selinux@tycho.nsa.gov
||Subject: Re: Error while installing:
||
||
||On Thu, 2003-07-31 at 14:38, Hariharan Gopalan wrote:
||> I am getting this error while making quickinstall:
||>
||> It looks like the policy for inetd. My system uses xinetd, and so I did
||> notmove the inetd.te from unused, but I could not find a xinted.te...
||
||You still want to move up inetd.te when using xinetd.
||
||--
||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

* Re: Error while installing:
  2003-07-31 18:55   ` Hariharan Gopalan
@ 2003-07-31 23:14     ` Russell Coker
  2003-08-01  0:09     ` Kerry Thompson
  1 sibling, 0 replies; 5+ messages in thread
From: Russell Coker @ 2003-07-31 23:14 UTC (permalink / raw)
  To: Hariharan Gopalan, selinux

On Fri, 1 Aug 2003 04:55, Hariharan Gopalan wrote:
> I did not get the same error when I moved inetd.te,

That was due to a bug in ftpd.te which I have fixed in my tree.

> but got another error
> for xserver.te, and that also went away when I removed xserver.

Please tell me what the error was and I'll fix it too.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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: Error while installing:
  2003-07-31 18:55   ` Hariharan Gopalan
  2003-07-31 23:14     ` Russell Coker
@ 2003-08-01  0:09     ` Kerry Thompson
  1 sibling, 0 replies; 5+ messages in thread
From: Kerry Thompson @ 2003-08-01  0:09 UTC (permalink / raw)
  To: Hariharan Gopalan; +Cc: selinux

Hariharan Gopalan said:
> Thanks Stephen
>
> I did not get the same error when I moved inetd.te, but got another error
> for xserver.te, and that also went away when I removed xserver.
>
> But this is the new error I am getting:
>
> In file included from fstat_secure.c:5:
> xstat_conv.h: In function `xstat_conv':
> xstat_conv.h:59: structure has no member named `st_atim'
> xstat_conv.h:60: structure has no member named `st_atim'
> xstat_conv.h:61: structure has no member named `st_mtim'
> xstat_conv.h:62: structure has no member named `st_mtim'

Seems like a common thread :-)
I've added it to my FAQ at http://www.crypt.gen.nz/selinux/faq.html#I.4

I got a couple of failed hunks applying Stephen's oldstat.patch on my
2003071106 release, but I'm guessing that reversing newstat.patch does the
same thing.

-- 
Kerry Thompson, CCNA CISSP
Information Systems Security Consultant
http://www.crypt.gen.nz  kerry@crypt.gen.nz


--
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:[~2003-08-01  0:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31 18:38 Error while installing: Hariharan Gopalan
2003-07-31 18:43 ` Stephen Smalley
2003-07-31 18:55   ` Hariharan Gopalan
2003-07-31 23:14     ` Russell Coker
2003-08-01  0:09     ` Kerry Thompson

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.