Hi!
In continuation of a problem described earlier...
We Have:
kernel: grsec: (:::kernel::::S:/) denied open of /var/run/openct/status for reading writing by /usr/local/sbin/ifdhandler[ifdhandler:32186] uid/euid:0/0 gid/egid:0/0, parent /usr/local/sbin/openct-control[openct-control:14450] uid/euid:0/0 gid/egid:0/0
kernel: grsec: (:::kernel::::S:/) denied create of /var/run/openct/status.30186 for reading writing by /usr/local/sbin/ifdhandler[ifdhandler:30186] uid/euid:0/0 gid/egid:0/0, parent /usr/local/sbin/openct-control[openct-control:21043] uid/euid:0/0 gid/egid:0/0
kernel: grsec: (:::kernel::::S:/) denied unlink of /var/run/openct/0 by /usr/local/sbin/ifdhandler[ifdhandler:15876] uid/euid:0/0 gid/egid:0/0, parent /usr/local/sbin/ifdhandler[ifdhandler:30186] uid/euid:0/0 gid/egid:0/0
kernel: grsec: (:::kernel::::S:/) denied mknod of /var/run/openct/0 by /usr/local/sbin/ifdhandler[ifdhandler:15876] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
Whether will be correct, by analogy with /proc/bus/usb, to make the following changes to an source code gradm_adm.c:
if (!add_proc_object_acl
(current_subject, "/var/run/openct", proc_object_mode_conv("rwcd"), GR_FEXIST))
exit(EXIT_FAILURE);
I have tried also it have worked, but is confident that you offer more correct and safe decision.
Thanks!
P.S. Excuse for bad language!