Displaying 3 results from an estimated 3 matches for "domain_auto_trans".
2005 Dec 15
1
RE: ssh in rc.local stalls xenU [SOLVED]
...o it puts ssh into sshd_t (which
allows networking). But it only puts ssh into sshd_t when started by root;
there was no transition specified in my policy that ssh should go into
sshd_t when started by initrc_t. A couple of lines in my
domains/program/ssh.te fixed it:
role initrc_t types sshd_t;
domain_auto_trans(initrc_t, sshd_exec_t, sshd_t)
So, the network was in fact up but I was shooting myself in the foot. This
is definitely not a Xen-related issue. Thanks for your responses; I
appreciate the help.
- Steve
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen...
2008 Mar 03
1
Unable open raw socket in CentOS 5 - SE Linux and kernel capability interaction?
...}
else
{
printf("Socket opened successfully\n");
close(fd);
}
return 0;
}
SElinux .te file
policy_module(rawsox,1.0.0)
########################################
# Declarations
type rawsox_t;
type rawsox_exec_t;
domain_type(rawsox_t)
domain_entry_file(rawsox_t, rawsox_exec_t)
domain_auto_trans(unconfined_t,rawsox_exec_t,rawsox_t)
########################################
# Rawsox local policy
# these two didn't help
#corenet_raw_sendrecv_all_if( rawsox_t );
#corenet_raw_sendrecv_all_nodes( rawsox_t );
require {
type lib_t;
type ld_so_t;
type ld_so_cache_t;...
2008 Mar 07
1
Unable open raw socket in CentOS 5 - SE Linux and kernelcapability interaction?
...SElinux .te file
>>
>> policy_module(rawsox,1.0.0)
>>
>> ########################################
>> # Declarations
>>
>> type rawsox_t;
>> type rawsox_exec_t;
>> domain_type(rawsox_t)
>> domain_entry_file(rawsox_t, rawsox_exec_t)
>> domain_auto_trans(unconfined_t,rawsox_exec_t,rawsox_t)
>>
>> ########################################
>> # Rawsox local policy
>>
>> # these two didn't help
>> #corenet_raw_sendrecv_all_if( rawsox_t );
>> #corenet_raw_sendrecv_all_nodes( rawsox_t );
>>
>> req...