[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
OK, then this bug is fixed, on Ubuntu's side. Thank you! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
OK, then this bug is fixed, on Ubuntu's side. Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
Sorry for bumping so impolitely, but this is grave and still not completely solved, at least in Hardy. @James Thanks for pointing this out. I am kind of surprised that it works without the /etc/ path but i am fixing it now anyway. @others Can anyone at least confirm that this is *not* an issue and it is limited to my server? That would surprise me even more, but apparently no one else noticed... Unfortunately I don't know the code well enough to attempt to submit a patch myself. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
Sorry for bumping so impolitely, but this is grave and still not completely solved, at least in Hardy. @James Thanks for pointing this out. I am kind of surprised that it works without the /etc/ path but i am fixing it now anyway. @others Can anyone at least confirm that this is *not* an issue and it is limited to my server? That would surprise me even more, but apparently no one else noticed... Unfortunately I don't know the code well enough to attempt to submit a patch myself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
I am not completely confident that the bug is indeed fixed. The original problem is gone, but I think I see a similar issue in the updated package. On my Hardy server, paths *without* a trailing slash now seem to be blocked unexpectedly. [Fri Jan 14 15:48:37 2011] [error] [client 193.205.80.47] PHP Warning: Unknown: open_basedir restriction in effect. File(/var/www/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/:/usr/share/php:/var/lib/php:/var/lib/docman_docs/:/var/lib/moodledata/:/tmp/) in Unknown on line 0 On this box, /var/www/phpmyadmin is a symlink to /usr/share/phpmyadmin, which should be allowed per entry number 2 in open_basedir (/usr/share/php). I quote http://php.net/manual/en/ini.core.php: All symbolic links are resolved and The restriction specified with open_basedir is actually a prefix, not a directory name. As a side note, it had always worked perfectly so far. Can somebody else please test this case? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
Uhm. The open_basedir has /var/lib/php which is a valid prefix for /var/lib/phpmyadmin/, and it has always (for two years until wednesday when this bug appeared) worked with this open_basedir string. To further clarify: [...]:/usr/share/phpmyadmin/:/var/lib/phpmyadmin/:[...] works [...]:/usr/share/phpmyadmin:/var/lib/phpmyadmin:[...] works [...]:/usr/share/php:/var/lib/php:[...] does not work which seems to mean that it is now treating paths without a trailing slash as directory names instead of prefixes, which is what the specification says. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
I am not completely confident that the bug is indeed fixed. The original problem is gone, but I think I see a similar issue in the updated package. On my Hardy server, paths *without* a trailing slash now seem to be blocked unexpectedly. [Fri Jan 14 15:48:37 2011] [error] [client 193.205.80.47] PHP Warning: Unknown: open_basedir restriction in effect. File(/var/www/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/:/usr/share/php:/var/lib/php:/var/lib/docman_docs/:/var/lib/moodledata/:/tmp/) in Unknown on line 0 On this box, /var/www/phpmyadmin is a symlink to /usr/share/phpmyadmin, which should be allowed per entry number 2 in open_basedir (/usr/share/php). I quote http://php.net/manual/en/ini.core.php: All symbolic links are resolved and The restriction specified with open_basedir is actually a prefix, not a directory name. As a side note, it had always worked perfectly so far. Can somebody else please test this case? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 701765] Re: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
Uhm. The open_basedir has /var/lib/php which is a valid prefix for /var/lib/phpmyadmin/, and it has always (for two years until wednesday when this bug appeared) worked with this open_basedir string. To further clarify: [...]:/usr/share/phpmyadmin/:/var/lib/phpmyadmin/:[...] works [...]:/usr/share/phpmyadmin:/var/lib/phpmyadmin:[...] works [...]:/usr/share/php:/var/lib/php:[...] does not work which seems to mean that it is now treating paths without a trailing slash as directory names instead of prefixes, which is what the specification says. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/701765 Title: open_basedir breaks by restricting paths to files that should be allowed; Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs