dist-upgrade to hardy complains because /tmp is noexec
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.
open2: exec of /tmp/libc6.
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-
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?
Thanks for your report. This is also bug 90085.