Affected package: php5-5.2.10 Type of problem: php5 -- Multiple security issues. Reference: <http://portaudit.FreeBSD.org/437a68cf-b752-11de-b6eb-00e0815b8da8.html> 1 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately.
k222# portupgrade php5-5.2.9 k222# apachectl restat [Tue Oct 13 05:39:48 2009] [notice] SIGHUP received. Attempting to restart [Tue Oct 13 05:39:49 2009] [error] python_init: Python version mismatch, expected '2.5.2', found '2.5.4'. [Tue Oct 13 05:39:49 2009] [error] python_init: Python executable found '/'. [Tue Oct 13 05:39:49 2009] [error] python_init: Python path being used '/usr/local/lib/python25.zip:/usr/local/lib/python2.5/:/usr/local/lib/python2.5/plat-freebsd7:/usr/local/lib/python2.5/lib-tk:/usr/local/lib/python2.5/lib-dynload'. [Tue Oct 13 05:39:49 2009] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads. [Tue Oct 13 05:39:49 2009] [notice] mod_python: using mutex_directory /tmp [Tue Oct 13 05:39:49 2009] [notice] Digest: generating secret for digest authentication ... [Tue Oct 13 05:39:49 2009] [notice] Digest: done [Tue Oct 13 05:39:50 2009] [notice] Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 with Suhosin-Patch mod_python/3.3.1 Python/2.5.4 SVN/1.6.4 configured -- resuming normal operations
k222# portupgrade subversion-1.6.4
k222# apachectl restart [Wed Oct 14 04:15:08 2009] [warn] module dav_module is already loaded, skipping
で、エラーの内容は変わらない
k222# portupgrade ja-trac-0.11.3
Downloading fresh database. auditfile.tbz 57 kB 82 kBps New database installed. Database created: Thu Oct 15 03:10:01 JST 2009 Checking for packages with security vulnerabilities: Affected package: phpMyAdmin-3.2.0.1 Type of problem: phpmyadmin -- XSS and SQL injection vulnerabilities. Reference: <http://www.FreeBSD.org/ports/portaudit/4769914e-b844-11de-b159-0030843d3802.html> Affected package: php5-5.2.9 Type of problem: php5 -- Multiple security issues. Reference: <http://www.FreeBSD.org/ports/portaudit/437a68cf-b752-11de-b6eb-00e0815b8da8.html> 2 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. -- End of security output --
ということで、
portupgrade php5-5.2.9
したら、PHPが、こけました。
94 14:33 reboot 95 14:35 screen 96 5:17 apachectl restart 97 5:19 apachectl restart 98 5:26 apachectl restart 99 14:37 screen -r 100 11:09 screen 101 11:53 top 102 11:54 cat /var/log/all.log 103 5:06 portaudit -Fda 104 5:06 portupgrade php5-5.2.9 105 5:13 portaudit -Fda 106 5:13 apachectl restart 107 5:13 cat /var/log/httpd-error.log 108 5:14 portaudit -Fda 109 5:14 portupgrade phpMyAdmin-3.2.0.1 110 5:19 locate jpeg 111 5:20 portupgrade jpeg-6b_7 112 5:21 apachectl restart 113 5:21 cat /var/log/httpd-error.log 114 5:25 locate php 115 8:10 cat /var/log/httpd-error.log 116 8:10 pwd 117 8:11 php -v 118 8:11 locate phpMyAdmin 119 8:12 locate phpmyadmin 120 8:12 cd /usr/ports/databases/phpmyadmin 121 8:12 make install 122 8:32 cd /usr/local/etc/php 123 8:32 ll 124 8:32 cp extensions.ini extensions.ini-double 125 10:16 history
blackcube# history
111 5:44 cp *.* ../20060613 112 5:44 ll 113 5:44 apachectl restart 114 5:45 cat /var/log/httpd-error 115 5:45 cat /var/log/httpd-error.log 116 5:45 apachectl restart 117 5:45 cat /var/log/httpd-error.log 118 5:47 ll 119 5:47 cd ../ 120 5:47 ll 121 5:47 mv 20060613 20060613-NG 122 5:47 apachectl restart 123 5:47 cat /var/log/httpd-error.log 124 5:49 apachectl restart 125 5:49 cat /var/log/httpd-error.log 126 5:57 apachectl restart 127 5:57 cat /var/log/httpd-error.log 128 5:59 pnp -v 129 5:59 php -v 130 5:59 php -v 131 6:01 php -v 132 6:01 php -v 133 6:01 apachectl restart 134 6:01 apachectl restart 135 6:01 php -v 136 6:13 pwd 137 6:13 ll 138 6:14 mv 20060613 20060613_dist 139 6:14 mv 20060613-NG 20060613 140 6:14 php -v 141 6:15 locate php5 142 6:16 cd /usr/ports/lang/php5 143 6:16 ll 144 6:16 make install 145 6:19 make deinstall 146 6:19 make reinstall 147 6:19 php -v 148 6:20 apachectl restart 149 6:20 locate php5-extensions 150 6:21 portinstall lang/php5-extensions 151 6:21 portinstall lang/php5-extensions 152 6:21 portupgrade php5-extensions-1.3 153 6:21 pwd 154 6:22 ../php5-extensions 155 6:22 ll 156 6:22 make install 157 6:22 make reinstall 158 6:22 make deisntall 159 6:22 make deinstall 160 6:22 make reinstall 161 6:22 php -v 162 6:22 apa 163 6:23 apachectl restart 164 6:25 php -v 165 6:25 pwd 166 6:26 make showconfig 167 6:26 cd ../php-extensios 168 6:26 cd ../ 169 6:26 ll 170 6:26 cd php5-extensions 171 6:26 ll 172 6:26 make showconfig 173 6:27 make reinstall 174 6:28 make deinstall 175 6:28 makereinstall 176 6:28 maek reinstall 177 6:28 make reinstall 178 6:29 make reinstall 179 6:30 make reinstall 180 6:31 make reinstall 181 6:32 make reinstall 182 6:33 make reinstall 183 6:33 make reinstall 184 6:34 make reinstall 185 6:38 make reinstall 186 6:40 php -v 187 6:40 apachectl restart 188 6:43 portinstall converters/php5-mbstring 189 6:44 c
100 11:53 screen 101 5:50 cd /usr/ports/lang/php5 102 5:50 ll 103 5:51 show config 104 5:51 make showconfig 105 5:52 pwd 106 5:55 locate pdre 107 5:55 locate pcre 108 5:56 portupgrade php5-pcre-5.2.9 109 6:00 cd /usr/ports/devel/php5-pcre 110 6:00 ll 111 6:00 make deinstall 112 6:00 make reinstall 113 6:06 cd /usr/local/etc/php 114 6:06 ll 115 6:06 cp extensions.ini extensions.ini-dist 116 6:24 pwd 117 6:24 ll 118 6:24 cd /usr/local/lib/php/20060613 119 6:24 ll 120 6:24 cd .,. 121 6:24 cd ../ 122 6:24 ll 123 6:25 mv 20060613 20060613_NP 124 6:29 cd /usr/ports/archivers/php5-bz2 125 6:29 make deinstall 126 6:29 cd /usr/ports/textproc/php5-ctype 127 6:30 make deinstall 128 6:31 cd /usr/ports/devel/php5-pcre 129 6:31 make deinstall 130 6:32 cd /usr/ports/textproc/php5-simplexml 131 6:32 make deinstall 132 6:32 cd /usr/ports/devel/php5-spl 133 6:33 make deinstall 134 6:33 cd /usr/ports/sysutils/pecl-fileinfo 135 6:33 make deinstall 136 6:34 cd /usr/ports/security/php5-filter 137 6:34 make deinstall 138 6:37 cd /usr/ports/www/php5-session 139 6:38 make deinstall 140 6:43 cd /usr/ports/converters/php5-mbstring 141 6:43 make reinstall 142 6:45 locate mcrypt 143 6:46 portinstall security/mcrypt 144 6:46 portinstall security/php5-mcrypt 145 6:47 cd /usr/ports/security/php5-mcrypt 146 6:47 make deinstall 147 6:47 make reinstall 148 6:48 make reinstall 149 6:48 locate 150 6:49 locate mysql 151 6:50 cd /usr/ports/databases/php5-mysqli 152 6:50 make install 153 6:51 locate pdf 154 6:52 locate mcrypt 155 6:52 cd /usr/ports/security/php5-mcrypt 156 6:52 make insta 157 6:53 make install 158 6:53 pwd 159 6:53 make install 160 6:53 make reinstall 161 6:53 make deinstall 162 6:53 make reinstall 163 6:53 locate openssl 164 6:54 locate php5-openssl 165 6:54 cd /usr/ports/security/php5-openssl 166 6:54 make install 167 6:54 php -v 168 6:55 locate php-5 mysqli 169 6:55 cd /usr/ports/databases/php5-mysqli 170 6:55 make install 171 6:55 make deinstall 172 6:55 make reinstall 173 6:55 php -v 174 6:56 locate php5-sqlite 175 6:56 cd /usr/ports/databases/php5-sqlite 176 6:56 make deinstall 177 6:56 make reinstall 178 6:57 locate php5-mysql 179 6:57 cd /usr/ports/databases/php5-mysql 180 6:57 make deinstall 181 6:57 make reinstall 182 6:58 php -v 183 6:58 locate php5-pdf 184 6:59 php -v 185 7:00 locate pdf.so 186 7:02 cd /usr/ports/databases/ 187 7:02 ll 188 7:03 locate php5- 189 10:29 history