[opensuse] SubDomain REJECTING ... messages
I'm getting the following messages in /var/log/messages, and I notice that phpinfo() now cannot recognise any of the installed extensions (like MySql). Is it something to do with AppArmor again? Either way, can anyone advise on what I should do? Many thanks. Messages follow: Feb 14 18:32:19 linux kernel: SubDomain: REJECTING m access to /usr/local/Zend/lib/ZendExtensionManager.so (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/bcmath (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/bz2 (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/calendar (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/ctype (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/curl (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/dbase (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/dbx (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/dio (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/dom (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/exif (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/fam (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/filepro (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/ftp (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/gd (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/gettext (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/gmp (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/iconv (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/imap (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/ldap (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/mbstring (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/mcrypt (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/mhash (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/mysql (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/mysqli (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/ncurses (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/odbc (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:19 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/openssl (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/pcntl (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/pgsql (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/posix (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/pspell (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/shmop (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/snmp (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/soap (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/sockets (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/sqlite (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/sysvmsg (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/sysvsem (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/sysvshm (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/tokenizer (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/wddx (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/xmlrpc (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/xsl (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/yp (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Feb 14 18:32:20 linux kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/zlib (httpd2-prefork(7236) profile /usr/sbin/httpd2-prefork active /usr/sbin/httpd2-prefork) Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Peter Bradley:
I'm getting the following messages in /var/log/messages, and I notice that phpinfo() now cannot recognise any of the installed extensions (like MySql). Is it something to do with AppArmor again? Either way, can anyone advise on what I should do? Many thanks. Sorry. Should have said SUSE 10.0 AMD 64 4200 x 2
Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
You should update your AppArmor profiles. Run logprof (command line) or the yast version of logprof: YaST -> Novell AppArmor -> Update Profile Wizard Either way, the tools will ask questions and walk you through the process. If you're not sure what the wizard's questions mean, try: http://www.novell.com/documentation/apparmor/ -David Peter Bradley wrote:
Ysgrifennodd Peter Bradley:
I'm getting the following messages in /var/log/messages, and I notice that phpinfo() now cannot recognise any of the installed extensions (like MySql). Is it something to do with AppArmor again? Either way, can anyone advise on what I should do? Many thanks. Sorry. Should have said SUSE 10.0 AMD 64 4200 x 2
Peter
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd David Drewelow:
You should update your AppArmor profiles.
Run logprof (command line) or the yast version of logprof: YaST -> Novell AppArmor -> Update Profile Wizard
Either way, the tools will ask questions and walk you through the process.
If you're not sure what the wizard's questions mean, try: http://www.novell.com/documentation/apparmor/
-David Thanks David,
That's much cleaner now. phpinfo() still can't see mysql for some reason, but that looks to be another problem, I guess. Cheers Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Peter Bradley:
Thanks David,
That's much cleaner now.
phpinfo() still can't see mysql for some reason, but that looks to be another problem, I guess.
Cheers
Peter
Sorry to reply to myself. I spoke too soon. It was AppArmor. For some reason I had to go through the procedure for a second time: but once I did that and restarted apache, all was well. I'm very much indebted to you. Thanks Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Feb 15, 2007 at 07:42:34PM +0000, Peter Bradley wrote:
phpinfo() still can't see mysql for some reason, but that looks to be another problem, I guess. I spoke too soon. It was AppArmor. For some reason I had to go through the procedure for a second time: but once I did that and restarted apache, all was well.
Doubtless something you allowed the first time allowed phpinfo() to fail on something a little different the next time through.. which finally allowed it to work. :) Sometimes it is easier to place the profile into learning mode and go all the way through once. (The aa-complain tool will make this easy. :) Thanks
participants (3)
-
David Drewelow
-
Peter Bradley
-
Seth Arnold