dist-upgrade to hardy complains because /tmp is noexec

Bug #197274 reported by Egon Willighagen on 2008-03-01
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)

Bug Description

When doing a aptitude dist-upgrade from gutsy to hardy (2008-03-01) I get this error:

Need to get 0B/41.2MB of archives. After unpacking 144MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Preconfiguring packages ...
Can't exec "/tmp/libc6.config.89921": Permission denied at /usr/share/perl/5.8/IPC/Open3.pm line 168.
open2: exec of /tmp/libc6.config.89921 configure 2.6.1-1ubuntu10 failed at /usr/share/perl5/Debconf/ConfModule.pm line 58
libc6 failed to preconfigure, with exit status 9
(Reading database ... 240392 files and directories currently installed.)
Preparing to replace libc6-dev 2.6.1-1ubuntu10 (using .../libc6-dev_2.7-5ubuntu2_i386.deb) ...
Unpacking replacement libc6-dev ...

Caused by /tmp being mounted as noexec... removing that solves the problem. Mounting /tmp as noexec is often reported as good security measure, and was using it as such. No idea how much is now not configured, maybe even some important things. The problem is that the packages for which the configure fail do not fail in itself, possibly making some upgrade packages not working?

Colin Watson (cjwatson) wrote :

Thanks for your report. This is also bug 90085.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers