← Back to team overview

touch-packages team mailing list archive

[Bug 90085] Re: When /tmp is mounted noexec, preconfigure fails

 

I found this discussion / bug thread while looking for a solution to an
inability to install packages on a VPS in my Dreamhost account.

Dreamhost has /tmp mounted with noexec and there's some kind of
permission preventing me from remounting it to turn off noexec.

I don't know the ins and outs of whether it's a good idea or not to make
/tmp noexec, whether it adds more security or not.  Fact is that
Dreamhost chose to set up their VPS's so /tmp is noexec and to prevent
us from changing that setting.

This same configuration choice already tripped me up yesterday while
trying to install PECL packages ... and there's a workaround in PECL to
configure a different tempdir.

Thankfully the configuration setting in #19 does the trick.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to debconf in Ubuntu.
https://bugs.launchpad.net/bugs/90085

Title:
  When /tmp is mounted noexec, preconfigure fails

Status in debconf package in Ubuntu:
  Triaged
Status in debconf package in Debian:
  Confirmed

Bug description:
  Binary package hint: mysql-server

  
  /tmp mounted noexec, this ensues:

  
  Preconfiguring packages ...
  Can't exec "/tmp/mysql-server-5.0.config.89611": Permission denied at /usr/share/perl/5.8/IPC/Open3.pm line 168.
  open2: exec of /tmp/mysql-server-5.0.config.89611 configure  failed at /usr/share/perl5/Debconf/ConfModule.pm line 57
  mysql-server-5.0 failed to preconfigure, with exit status 2

  ace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/90085/+subscriptions