[Bug 283725] New: Problem in SquirrellMail's escapeshellcmd() with SafeMode after php/squirrel update
https://bugzilla.novell.com/show_bug.cgi?id=283725 Summary: Problem in SquirrellMail's escapeshellcmd() with SafeMode after php/squirrel update Product: SUSE LINUX 10.0 Version: Final Platform: i686 OS/Version: SuSE Linux 10.0 Status: NEW Severity: Critical Priority: P5 - None Component: Update Problems AssignedTo: yast2-maintainers@suse.de ReportedBy: alessandro@atpss.net QAContact: kkaempf@novell.com After lastest PHP/SquirellMail update the use of sendmail as localy delivery is broken if PHP's SafeMode is on. If SafeMode is on and safe_mode_exec_dir is empty escapeshellcmd() in SquirrellMail tries to exec "/sendmail" even if $sendmail_path is "/usr/sbin/sendmail". If safe_mode_exec_dir is correctly configured with more pats, f.e. "/usr/bin;/usr/sbin", it tries to exec "/usr/bin;/usr/sbin/sendmail" A temporary workaround is setting safe_mode_exec_dir to only "/usr/sbin/sendmail", but this my broke other php scripts with oter exec() paths. The error are reported in apache2's error.log: .. snip ... sh: /sendmail: No such file or directory sh: /sendmail: No such file or directory sh: /sendmail: No such file or directory [Wed Jun 13 12:25:31 2007] [notice] caught SIGTERM, shutting down [Wed Jun 13 12:25:31 2007] [notice] Apache configured -- resuming normal operations sh: /usr/bin;/usr/sbin/sendmail: No such file or directory [Wed Jun 13 12:32:28 2007] [notice] caught SIGTERM, shutting down [Wed Jun 13 12:32:29 2007] [notice] Apache configured -- resuming normal operations .. snip ... Thanks Alessandro Soraruf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=283725 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |ltinkl@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=283725
Lukas Tinkl
https://bugzilla.novell.com/show_bug.cgi?id=283725#c1
Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=283725#c2
Lukas Tinkl
https://bugzilla.novell.com/show_bug.cgi?id=283725#c3
--- Comment #3 from Cristian Rodriguez
participants (1)
-
bugzilla_noreply@novell.com