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: fedora-selinux-list Digest, Vol 20, Issue 18: msg#00142

Subject: Re: fedora-selinux-list Digest, Vol 20, Issue 18
Hi!

Just noticed more errors!

Here is the output:

audit(1130392269.590:0): avc: denied { append } for pid=3218 exe=/usr/sbin/squid path=/var/log/squid/squid.out dev=hda8 ino=755115 scontext=user_u:system_r:squid_t tcontext=system_u:object_r:bin_t tclass=file audit(1130392269.590:0): avc: denied { append } for pid=3218 exe=/usr/sbin/squid path=/var/log/squid/squid.out dev=hda8 ino=755115 scontext=user_u:system_r:squid_t tcontext=system_u:object_r:bin_t tclass=file audit(1130392270.019:0): avc: denied { getattr } for pid=3218 exe=/usr/sbin/squid path=/usr/local/squidclamav/bin/squidclamav dev=hda8 ino=185872 scontext=user_u:system_r:squid_t tcontext=system_u:object_r:bin_t tclass=file


Also:

[root@shiva jay]# ls -lZ /var/log/squid/
-rw-r--r--  squid    squid    system_u:object_r:bin_t          access.log
-rw-r--r--  squid    squid    system_u:object_r:bin_t          cache.log
-rw-r--r--  squid    squid    system_u:object_r:bin_t          squid.out
-rw-r--r--  squid    squid    system_u:object_r:bin_t          store.log

[root@shiva jay]# service squid restart

Stopping squid: /etc/init.d/squid: line 82: 5108 Aborted $SQUID -k check >>/var/log/squid/squid.out 2>&1
                                                          [FAILED]
Starting squid: /etc/init.d/squid: line 53: 5109 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
                                                          [FAILED]

Please note that i re-enabled SElinux for squid via system-config-security in FC3.

Any help will be appreciated.

God bless.


Daniel J Walsh wrote:

Jayendren Anand Maduray wrote:

Thanks for you help, again!

Here is the output:

[root@shiva jay]# chcon -t bin_t /usr/local/squidclamav/bin/*
You have mail in /var/spool/mail/jay
[root@shiva jay]#
[root@shiva jay]# ls -lZ /usr/local/squidclamav/bin
-rwxr-xr-x root root system_u:object_r:bin_t squidclamav


I will reboot, and check the system as it starts up.

Currently, i use system-config-securitylevel to re-enable squid.

Which file can i edit to do this from the command line?

setsebool and getsebool are command line tools for manipulating booleans

setsebool -P squid_disable_trans=1

Enables SELinux enforcement and writes this to the defaults file

/etc/selinux/SELINUXTYPE/booleans.local



--
Jayendren Anand Maduray
Microsoft Certified Professional
Network Plus
IT Administrator

Perinatal HIV Research Unit
Old Potch Road
Chris Hani Baragwanath Hospital
Soweto
South Africa

Tel: +27 11 989 9776
Tel: +27 11 989 9999
Fax: +27 11 938 3973
Cel: 082 22 774 94

Alternate email address: jayendren@xxxxxxxxxx



<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