Displaying 20 results from an estimated 246 matches for "tclass".
Did you mean:
class
2009 Aug 03
3
if confusion
Simple question:
Why doesn't the following work? Or what 'R' rule am I missing?
tclass <- "Testing 1 2 3"
if(tclass == "Testing 1 2 3")
{
cat("Testing", tclass, "\n")
}
else
{
cat(tclass, "\n")
}
I get an error 'else' is unexpected.
Thank you.
Kevin
2014 Apr 23
1
SELInux and POSTFIX
...| audit2why
type=AVC msg=audit(1398199187.646:29332): avc: denied { getattr } for
pid=23387 comm="smtp" path="/var/spool/postfix/active/546AA6099F" dev=dm-0
ino=395679 scontext=unconfined_u:system_r:postfix_smtp_t:s0
tcontext=unconfined_u:object_r:postfix_spool_maildrop_t:s0 tclass=file
Was caused by:
Missing type enforcement (TE) allow rule.
You can use audit2allow to generate a loadable module to allow this access.
type=AVC msg=audit(1398199187.646:29333): avc: denied { read write } for
pid=23387 comm="smtp" name="546AA6099F" dev=dm-0 ino=39567...
2019 May 01
1
Brasero/cdrecord/growisofs with selinux users confined to staff_u
...og/audit/audit.log contains the following:
type=AVC msg=audit(1556724762.446:1133340): avc: denied { read } for
pid=8296 comm="growisofs" name="devices" dev="proc" ino=4026532225
scontext=staff_u:staff_r:cdrecord_t:s0-s0:c0.c1023
tcontext=system_u:object_r:proc_t:s0 tclass=file permissive=0
type=AVC msg=audit(1556724762.446:1133341): avc: denied { read } for
pid=8296 comm="growisofs" name="meminfo" dev="proc" ino=4026532040
scontext=staff_u:staff_r:cdrecord_t:s0-s0:c0.c1023
tcontext=system_u:object_r:proc_t:s0 tclass=file permissive=0...
2006 Jun 07
1
Apache php and exim
Hello,
I'm using the targeted policy.
PHP's mail() function fails because of selinux.
audit(1149662369.454:2): avc: denied { setgid } for pid=18085
comm="sendmail" capability=6 scontext=root:system_r:httpd_sys_script_t
tcontext=root:system_r:httpd_sys_script_t tclass=capability
When i turn to permisive mode:
audit(1149668677.105:12): avc: denied { setuid } for pid=29159
comm="sendmail" capability=7 scontext=root:system_r:ht
tpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=capability
audit(1149668677.157:13): avc: denied { dac_ov...
2013 Jan 12
2
selinux + kvm virtualization + smartd problem
...-F /var/log/audit/audit.log | grep type=AVC
type=AVC msg=audit(1357993548.964:8529): avc: denied { getattr } for
pid=21321 comm="smartd" path="/dev/sdc" dev=devtmpfs ino=6327
scontext=unconfined_u:system_r:fsdaemon_t:s0
tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
type=AVC msg=audit(1357993548.965:8530): avc: denied { getattr } for
pid=21321 comm="smartd" path="/dev/sdd" dev=devtmpfs ino=6321
scontext=unconfined_u:system_r:fsdaemon_t:s0
tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
type=AVC msg=audit(13...
2007 May 30
2
Centos 5 OpenVPN / SElinux
...messages from /var/log/messages that are SElinux related:
May 28 21:39:15 srsblnfw01 kernel: audit(1180381151.395:10): avc:
denied { use } for pid=3012 comm="openvpn" name="null" dev=tmpfs
ino=1396 scontext=system_u:system_r:openvpn_t:s0
tcontext=system_u:system_r:pppd_t:s0 tclass=fd
May 28 21:39:15 srsblnfw01 kernel: audit(1180381151.395:11): avc:
denied { use } for pid=3012 comm="openvpn" name="null" dev=tmpfs
ino=1396 scontext=system_u:system_r:openvpn_t:s0
tcontext=system_u:system_r:pppd_t:s0 tclass=fd
May 28 21:39:15 srsblnfw01 kernel: audit(118038...
2017 Apr 28
0
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
...s that is causing dovecot
> to crash and log a backtrace.
Here are the messages I got:
type=AVC msg=audit(1493361695.041:49205): avc: denied { rlimitinh }
for pid=3047 comm="cleanup"
scontext=system_u:system_r:postfix_master_t:s0
tcontext=system_u:system_r:postfix_cleanup_t:s0 tclass=process permissive=1
type=AVC msg=audit(1493361695.041:49205): avc: denied { siginh } for
pid=3047 comm="cleanup" scontext=system_u:system_r:postfix_master_t:s0
tcontext=system_u:system_r:postfix_cleanup_t:s0 tclass=process permissive=1
type=AVC msg=audit(1493361695.041:49205): avc:...
2006 Aug 25
1
SELinux targeted - named, portmap and syslogd errors
...vices initialization:
======================================================================
audit(1156518721.252:2): avc: denied { read } for pid=2223 comm="syslogd"
name="libc-2.3.4.so" dev=dm-0 ino=50441 scontext=user_u:system_r:syslogd_t
tcontext=system_u:object_r:file_t tclass=file
audit(1156518721.280:5): avc: denied { append } for pid=2224 comm="
syslogd" name="messages" dev=dm-3 ino=38 scontext=user_u:system_r:syslogd_t
tcontext=system_u:object_r:file_t tclass=file
audit(1156518721.757:7): avc: denied { read } for pid=2246 comm="portma...
2012 Oct 23
1
Understanding lattice barchart() display
I've a data frame with this structure:
'data.frame': 1987 obs. of 11 variables:
$ site : Factor w/ 24 levels "B(W)","BC-1",..: 1 1 2 2 2 1 1 1 ...
$ sampdate : Date, format: "2000-07-18" "2000-07-18" ...
$ tclass : Factor w/ 8 levels "Annelida","Arachnida",..: 1 5 5 5 5 ...
$ torder : Factor w/ 18 levels "Achtinedida",..: 13 5 5 10 13 5 7 ...
$ tfamily : Factor w/ 81 levels "","Ameletidae",..: 79 46 46 14 42 ...
$ tgenus : Factor...
2017 Mar 15
2
Having problem getting Asterisk to work on CentOS 7
On Tue, Mar 14, 2017 at 02:46:19PM -0400, Ron Wheeler wrote:
> https://docs.fedoraproject.org/en-US/Fedora/11/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Working_with_SELinux-Enabling_and_Disabling_SELinux.html
>
> If disabling Selinux solves your problem, then your problem may be related
> to Selinux.
> If it does not change yout problem, you may want to look
2017 Mar 15
2
Having problem getting Asterisk to work on CentOS 7
...t ~]# tail -f /var/log/audit/audit.log
> type=AVC msg=audit(1489588773.253:1171): avc: denied { read } for pid=3838 comm="asterisk" name="astdb.sqlite3" dev="dm-0" ino=100884225 scontext=system_u:system_r:asterisk_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file
> type=SYSCALL msg=audit(1489588773.253:1171): arch=c000003e syscall=2 success=no exit=-13 a0=aa5080 a1=80000 a2=1a4 a3=aa5080 items=0 ppid=1485 pid=3838 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="asterisk" exe="/us...
2017 Apr 26
3
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
On 04/26/2017 12:29 AM, Robert Moskowitz wrote:
> But the policy generates errors. I will have to submit a bug report,
> it seems
A bug report would probably be helpful.
I'm looking back at the message you wrote describing errors in
ld-2.17.so. I think what's happening is that the policy on your system
includes a silent rule that somehow breaks your system. You'll need
2008 Feb 29
1
error creating Centos 5.1 x32 dum_U instance on CentOS 5.1 x64
...libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: Boot loader didn't return any data!")
error: Failed to start domain vm03
/var/log/messages got filled with the following messages:
stem_r:xenstored_t:s0 tcontext=system_u:system_r:xenstored_t:s0
tclass=capability
Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2139): avc: denied
{ sys_resource } for pid=2445 comm="xenstored" capability=24
scontext=system_u:system_r:xenstored_t:s0
tcontext=system_u:system_r:xenstored_t:s0 tclass=capability
Feb 29 10:36:59 gimbli kernel: audit(1...
2013 Apr 08
1
libvirt, selinux, moving images to ~/images does not work
..._CFG msg=audit(1365403596.177:4508): table=nat family=2
entries=61
type=AVC msg=audit(1365403606.017:4509): avc: denied { dac_override } for
pid=8944 comm="qemu-system-ppc" capability=1
scontext=system_u:system_r:svirt_t:s0:c574,c809
tcontext=system_u:system_r:svirt_t:s0:c574,c809 tclass=capability
type=AVC msg=audit(1365403606.017:4510): avc: denied { dac_read_search }
for pid=8944 comm="qemu-system-ppc" capability=2
scontext=system_u:system_r:svirt_t:s0:c574,c809
tcontext=system_u:system_r:svirt_t:s0:c574,c809 tclass=capability
type=AVC msg=audit(1365403606.017:45...
2006 Nov 17
1
Problem with SeLinux and syslogd
...kernel logger: [ OK ]
and in dmesg centos report me that:
audit(1163775960.711:5): avc: denied { read } for pid=4325
comm="syslogd" name="libc.so.6" dev=dm-0 ino=4562290
scontext=root:system_r:syslogd_t tcontext=system_u:object_r:file_t
tclass=lnk_file
audit(1163775960.711:6): avc: denied { read } for pid=4325
comm="syslogd" name="libc.so.6" dev=dm-0 ino=4562290
scontext=root:system_r:syslogd_t tcontext=system_u:object_r:file_t
tclass=lnk_file
audit(1163775960.711:7): avc: denied { read } for pid=4325
comm="...
2009 Aug 15
1
Confused about named, chroot, and tmp files.
...Aug 15 14:09:46 devserver21 named: named reload succeeded
Aug 15 14:09:46 devserver21 kernel: audit(1250359786.568:31): avc: denied {
write } for pid=5103 comm="named" name="named" dev=dm-0 ino=28148843
scontext=user_u:system_r:named_t tcontext=system_u:object_r:named_zone_t
tclass=dir
Aug 15 14:09:46 devserver21 kernel: audit(1250359786.568:32): avc: denied {
add_name } for pid=5103 comm="named" name="tmp-XXXXtGN8y7"
scontext=user_u:system_r:named_t tcontext=system_u:object_r:named_zone_t
tclass=dir
Aug 15 14:09:46 devserver21 kernel: audit(1250359786....
2007 Mar 12
2
selinux disable but still working
...x protection.
SELINUXTYPE=targeted
But during the boot i see selinux warnings and some software wan't start
correctly:
audit(1173699978.909:2): avc: denied { name_bind } for pid=2407
comm="piranha_gui" src=3636 scontext=user_u:system_r:httpd_t
tcontext=system_u:object_r:port_t tclass=tcp_socket
audit(1173699978.943:3): avc: denied { append } for pid=2407
comm="piranha_gui" name="piranha-gui" dev=dm-0 ino=2338608
scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:var_log_t
tclass=file
audit(1173699979.918:4): avc: denied { write } for pid=24...
2008 Apr 02
0
medians on data frame with duplicated rows
...23 22 24
6 Ram C 25 25 25 25 25
7 Rhea D 21 12 12 21 23
8 Jack E 12 15 16 18 19
9 Smita F 13 18 19 19 20
I want to write a small loop program that would give me back a data frame.
>tclass <- c('A','B','C')
> tclass
[1] "A" "B" "C"
> for(i in 1:length(tclass)){
+ k = rtest[rtest$Class==tclass[i],]
+ if(nrow(k)>1){
+ x <- k[,c(-1,-2)]
+ rownames(x) <- k[,1]
+ k2 = apply(x,1,median)
+ fin_dat <- c(rtest$Name==...
2012 Sep 15
1
Question about copying arguments in C.
...object (or to a
return value more generally for that matter), or whether I have to
copy them. If it is the latter, then how may I do this. The question
is phrased in the following (simplified) code.
int constructThingy(int thingysInteger);
SEXP constructThingy(SEXP thingysInteger) {
SEXP ans, TClass, ti;
if(!isInteger(thingysInteger)) error("thingysIntegermust be an integer.");
if(constructThingy(INTEGER(thingysInteger)[0])) error("error in
getting a thingy");
TClass = MAKE_CLASS("thingy");
PROTECT(ans = NEW_OBJECT(TClass));
// *****QUESTION...
2020 Jul 25
3
tmpfs / selinux issue
....e Fri Jul 24 01:20 - 13:33 (12:13)
# ausearch -m avc --start today
----
time->Fri Jul 24 01:20:08 2020
type=AVC msg=audit(1595546408.754:28): avc: denied { remount } for
pid=952 comm="(ostnamed)" scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:httpd_var_run_t:s0 tclass=filesystem permissive=0
----
time->Fri Jul 24 13:34:04 2020
type=AVC msg=audit(1595590444.080:29): avc: denied { remount } for
pid=1020 comm="(ostnamed)" scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:httpd_var_run_t:s0 tclass=filesystem permissive=0
----
time->...