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: Problem upgrading FC2 -> FC3: msg#00049

Subject: Re: Problem upgrading FC2 -> FC3
> 4)  Most of my web pages do not work (most of these are PHP based
> pages):

As a followup to my own post:

I was able to get most of my web pages running:  I was able to make
mysql work with following instructions
http://www.redhat.com/archives/fedora-selinux-list/2004-
November/msg00022.html and with following changes:

(name mysqld.te has to be with lower case letters)

rpm -q -l mysql-server | restorecon -R -f - 
#(note -server above)
restorecon -R -v /var/log

Also I had to place following to local.te

# connect to mysql
ifdef(`mysqld.te', `
allow httpd_t mysqld_var_run_t:dir { search };
allow httpd_t mysqld_var_run_t:sock_file { write };
can_unix_connect(httpd_t, mysqld_t)
')

since I was not able to run my php pages with httpd_php_t context as
specified in current apache.te for mysqld.  How should I do this?


One problem still remains:  I have an php-based photo gallery program
which generates a lot of:

kernel: audit(1100441228.517:0): avc:  denied  { search } for  pid=2467
exe=/usr/sbin/httpd dev=dm-1 ino=2 scontext=root:system_r:httpd_t
tcontext=system_u:object_r:default_t tclass=dir

I am unable to find what causes these.  There exists an symbolic link to
my data directories (which is in another disk).  Could this cause
problems?  All my related files are httpd_sys_content_t as far as I can
tell.

BR,

Jouni



<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

Navigation