Skip to contentSkip to conversation

Error while installing:

DISCUSSION Hariharan Gopalan 4 participants 5 messages Jul 31, 2003 – Aug 1, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 4 lines · Hariharan Gopalan

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.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw

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:[email protected]]
||Sent: Thursday, July 31, 2003 2:43 PM
||To: Hariharan Gopalan
||Cc: [email protected]
||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 <[email protected]>
||National Security Agency
||
||

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
Quoted 1 line · Hariharan Gopalan

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.

Quoted 2 lines

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.

Signature · 10 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#4 lore raw
In reply to Hariharan Gopalan
Quoted 5 lines · Hariharan Gopalan

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.

Quoted 8 lines

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.

Signature · 9 lines
Kerry Thompson, CCNA CISSP
Information Systems Security Consultant
http://www.crypt.gen.nz  [email protected]


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.