Activity log for bug #348283

Date Who What changed Old value New value Message
2009-03-25 04:35:42 Night Eagle bug added bug
2009-03-25 04:35:42 Night Eagle bug added attachment 'Dependencies.txt' (Dependencies.txt)
2009-03-25 04:35:42 Night Eagle bug added attachment 'DpkgTerminalLog.gz' (DpkgTerminalLog.gz)
2009-03-25 04:37:46 Night Eagle description mysql-server-5.0 (5.0.67-0ubuntu6) failed to install/upgrade when /tmp mounted 'noexec' My /tmp directory is mounted noexec & nosuid as countermeasure against common php exploits. Install for this package attempts to create and execute python scripts under /tmp, but the OS does not allow. Install fails and gives up.: Can't exec "/tmp/mysql-server-5.0.config.236481": Permission denied at /usr/share/perl/5.10/IPC/Open3.pm line 168. open2: exec of /tmp/mysql-server-5.0.config.236481 configure failed at /usr/share/perl5/Debconf/ConfModule.pm line 59 mysql-server-5.0 failed to preconfigure, with exit status 255 mysql-server seems to be one of a very small number of packages in ubuntu that attempt to run scripts out of tmp. I suggest solving by catching error that script is not executable, and prompt user for an alternate folder. My workaround is to remount /tmp without noexec, install, then mount the old way. ProblemType: Package Architecture: amd64 DistroRelease: Ubuntu 8.10 ErrorMessage: subprocess post-installation script killed by signal (Interrupt) NonfreeKernelModules: nvidia Package: mysql-server-5.0 5.0.67-0ubuntu6 SourcePackage: mysql-dfsg-5.0 Title: package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: subprocess post-installation script killed by signal (Interrupt) Uname: Linux 2.6.27-11-generic x86_64 mysql-server-5.0 (5.0.67-0ubuntu6) failed to install/upgrade when /tmp mounted 'noexec' My /tmp directory is mounted noexec & nosuid as countermeasure against common php exploits. Install for this package attempts to create and execute perl scripts under /tmp, but the OS does not allow. Install fails and hangs: Can't exec "/tmp/mysql-server-5.0.config.236481": Permission denied at /usr/share/perl/5.10/IPC/Open3.pm line 168. open2: exec of /tmp/mysql-server-5.0.config.236481 configure failed at /usr/share/perl5/Debconf/ConfModule.pm line 59 mysql-server-5.0 failed to preconfigure, with exit status 255 mysql-server seems to be one of a very small number of packages in ubuntu that attempt to run scripts out of tmp. I suggest solving by catching error that script is not executable, and prompt user for an alternate folder. My workaround is to remount /tmp without noexec, install, then mount the old way. ProblemType: Package Architecture: amd64 DistroRelease: Ubuntu 8.10 ErrorMessage: subprocess post-installation script killed by signal (Interrupt) NonfreeKernelModules: nvidia Package: mysql-server-5.0 5.0.67-0ubuntu6 SourcePackage: mysql-dfsg-5.0 Title: package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: subprocess post-installation script killed by signal (Interrupt) Uname: Linux 2.6.27-11-generic x86_64
2009-03-25 04:38:06 Night Eagle title package mysql-server-5.0 won't nstall when /tmp mounted 'noexec' package mysql-server-5.0 won't install when /tmp mounted 'noexec'
2009-03-25 07:41:40 Andreas Olsson mysql-dfsg-5.0: status New Confirmed
2009-03-25 07:41:40 Andreas Olsson mysql-dfsg-5.0: statusexplanation I can confirm this problem in Intrepid (mysql 5.0.67-0ubuntu6) as well as in Jaunty (5.1.30really5.0.75-0ubuntu8).
2009-03-25 09:03:28 Andreas Olsson marked as duplicate 90085