Installer try to exec scripts under /tmp

Bug #1048123 reported by EricDHH
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)

Bug Description

Ubuntu 12.04, i386 on thinkpad x41

Got the new resolvconf package by update today, but the update did not install cleanly.

Vorkonfiguration der Pakete ...
Can't exec "/tmp/resolvconf.config.31971": Keine Berechtigung at /usr/share/perl/5.14/IPC/ line 186.
open2: exec of /tmp/resolvconf.config.31971 configure 1.63ubuntu15 failed at /usr/share/perl5/Debconf/ line 59

The /tmp is mounted as nonexec like described in linux security guides, so the way to exec programs there is a bit ugly.

tmpfs /var/tmp tmpfs noexec,defaults,noatime 0 0

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: resolvconf 1.63ubuntu16
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Sun Sep 9 08:18:58 2012
EcryptfsInUse: Yes
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: resolvconf
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
EricDHH (ericdhh) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

> The /tmp is mounted as nonexec like described in linux security
> guides,

This is not a supported configuration in Ubuntu. You might want to find a better security guide.

The exec is being done as part of pre-configuration of debconf. You can change this behavior by editing /etc/apt/apt.conf.d/70debconf, but it's not advisable.

Changed in resolvconf (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers