Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: syslog-ng non-standard install generating AVC: msg#00281

Subject: Re: syslog-ng non-standard install generating AVC
On Thu, 2004-12-30 at 22:43 -0500, Daniel J Walsh wrote:
> You could add these lines to syslog.te

Will it work to add them to local.te?

> can_exec(syslog_t, { bin_t shell_exec_t } )
> allow syslogd_t etc_runtime_t:file { getattr read };
> allow syslogd_t proc_kmsg_t:file write;
> allow syslogd_t proc_t:file { getattr read };
> allow syslogd_t sbin_t:dir search;
> allow syslogd_t self:capability { chown fowner fsetid sys_admin };

I see these and a few more from using audit2allow.  How did you decide
which to use?  Does can_exec() replace some of the rules?  These ones,
at least:

allow syslogd_t bin_t:file { execute execute_no_trans getattr read };
allow syslogd_t shell_exec_t:file { execute execute_no_trans getattr
read };


> There is some directory in /usr that needs to be relabeled
> syslogd_var_run_t to eliminate the following
> 
> allow syslogd_t usr_t:dir { add_name remove_name write };
> allow syslogd_t usr_t:file { append create getattr read setattr unlink 
> write };

In other words, relabel the directory in /usr so that these rules are
not needed?

thx - Karsten
-- 
Karsten Wade, RHCE, Sr. Tech Writer
a lemon is just a melon in disguise
http://people.redhat.com/kwade/
gpg fingerprint: 2680 DBFD D968 3141 0115  5F1B D992 0E06 AD0E 0C41



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe