dist-upgrade to hardy complains because /tmp is noexec

Bug #197274 reported by Egon Willighagen
4
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

<snip>
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 ...
<snip>

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?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.