[Debconf-devel] Bug#593800: Install error (failed to preconfigure) with /tmp mounted noexec

Alexander Nagel alexander at acwn.de
Sat Dec 4 16:15:14 UTC 2010


Hi,

this happens everytime I update any package. It doesn't depend on any 
package as far as i can see. This should be avoided because someone can 
mount /tmp with noexec for security reasons. My system is a current 
squeeze system.

Vorkonfiguration der Pakete ...
Can't exec "/tmp/console-data.config.35021": Keine Berechtigung at 
/usr/share/perl/5.10/IPC/Open3.pm line 168.
open2: exec of /tmp/console-data.config.35021 configure 2:1.10-6 failed 
at /usr/share/perl5/Debconf/ConfModule.pm line 59
console-data konnte nicht vorkonfiguriert werden, Exit-Status 255
Can't exec "/tmp/keyboard-configuration.config.35023": Keine 
Berechtigung at /usr/share/perl/5.10/IPC/Open3.pm line 168.
open2: exec of /tmp/keyboard-configuration.config.35023 configure 1.59 
failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
keyboard-configuration konnte nicht vorkonfiguriert werden, Exit-Status 255
(Lese Datenbank ... 129625 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereiten zum Ersetzen von liblzma2 4.999.9beta+20100810-1 (durch 
.../liblzma2_5.0.0-2_amd64.deb) ...
Entpacke Ersatz für liblzma2 ...
Richte liblzma2 ein (5.0.0-2) ...
(Lese Datenbank ... 129626 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereiten zum Ersetzen von xz-utils 4.999.9beta+20100810-1 (durch 
.../xz-utils_5.0.0-2_amd64.deb) ...
Entpacke Ersatz für xz-utils ...
Verarbeite Trigger für man-db ...
Richte xz-utils ein (5.0.0-2) ...
(Lese Datenbank ... 129629 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereiten zum Ersetzen von libldap-2.4-2 2.4.23-6 (durch 
.../libldap-2.4-2_2.4.23-7_amd64.deb) ...
Entpacke Ersatz für libldap-2.4-2 ...
Vorbereiten zum Ersetzen von python-apt-common 0.7.98.1 (durch 
.../python-apt-common_0.7.100_all.deb) ...
Entpacke Ersatz für python-apt-common ...
Vorbereiten zum Ersetzen von python-apt 0.7.98.1 (durch 
.../python-apt_0.7.100_amd64.deb) ...
Entpacke Ersatz für python-apt ...
Vorbereiten zum Ersetzen von console-data 2:1.10-6 (durch 
.../console-data_2%3a1.10-8_all.deb) ...
Entpacke Ersatz für console-data ...
Vorbereiten zum Ersetzen von keyboard-configuration 1.59 (durch 
.../keyboard-configuration_1.61_all.deb) ...
Entpacke Ersatz für keyboard-configuration ...
Vorbereiten zum Ersetzen von libicu-dev 4.4.1-6 (durch 
.../libicu-dev_4.4.1-7_amd64.deb) ...
Entpacke Ersatz für libicu-dev ...
Vorbereiten zum Ersetzen von libicu44 4.4.1-6 (durch 
.../libicu44_4.4.1-7_amd64.deb) ...
Entpacke Ersatz für libicu44 ...
Vorbereiten zum Ersetzen von libpq-dev 8.4.5-0squeeze1 (durch 
.../libpq-dev_8.4.5-0squeeze2_amd64.deb) ...
Entpacke Ersatz für libpq-dev ...
Vorbereiten zum Ersetzen von libpq5 8.4.5-0squeeze1 (durch 
.../libpq5_8.4.5-0squeeze2_amd64.deb) ...
Entpacke Ersatz für libpq5 ...
Verarbeite Trigger für man-db ...
Richte libldap-2.4-2 ein (2.4.23-7) ...
Richte python-apt-common ein (0.7.100) ...
Richte python-apt ein (0.7.100) ...
Richte console-data ein (2:1.10-8) ...
Looking for keymap to install:
NONE
Richte keyboard-configuration ein (1.61) ...
Richte libicu44 ein (4.4.1-7) ...
Richte libicu-dev ein (4.4.1-7) ...
Richte libpq5 ein (8.4.5-0squeeze2) ...
Richte libpq-dev ein (8.4.5-0squeeze2) ...

Alle Änderungen wurden erfolgreich angewendet. Sie können das Fenster 
nun schließen.


Vorkonfiguration der Pakete ...
Can't exec "/tmp/adduser.config.58561": Keine Berechtigung at 
/usr/share/perl/5.10/IPC/Open3.pm line 168.
open2: exec of /tmp/adduser.config.58561 configure 3.112 failed at 
/usr/share/perl5/Debconf/ConfModule.pm line 59
adduser konnte nicht vorkonfiguriert werden, Exit-Status 255
(Lese Datenbank ... 129641 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereiten zum Ersetzen von adduser 3.112 (durch 
.../adduser_3.112+nmu2_all.deb) ...
Entpacke Ersatz für adduser ...
Vorbereiten zum Ersetzen von pciutils 1:3.1.7-5 (durch 
.../pciutils_1%3a3.1.7-6_amd64.deb) ...
Entpacke Ersatz für pciutils ...
Vorbereiten zum Ersetzen von libpci3 1:3.1.7-5 (durch 
.../libpci3_1%3a3.1.7-6_amd64.deb) ...
Entpacke Ersatz für libpci3 ...
Vorbereiten zum Ersetzen von xkb-data 1.8-1 (durch 
.../xkb-data_1.8-2_all.deb) ...
Entpacke Ersatz für xkb-data ...
Verarbeite Trigger für man-db ...
Richte adduser ein (3.112+nmu2) ...
Richte dnsproxy ein (1.16-0.1) ...
Starting dnsproxy: dnsproxy is already running.
Richte libpci3 ein (1:3.1.7-6) ...
Richte pciutils ein (1:3.1.7-6) ...
Richte xkb-data ein (1.8-2) ...

Alle Änderungen wurden erfolgreich angewendet. Sie können das Fenster 
nun schließen.

Some system infos

uname -a
Linux goblin.acwn.local 2.6.32-5-amd64 #1 SMP Thu Nov 25 18:02:11 UTC 
2010 x86_64 GNU/Linux

dpkg -l|grep debconf
ii  debconf                                  1.5.36 
     Debian configuration management system
ii  debconf-i18n                             1.5.36 
     full internationalization support for debconf
ii  po-debconf                               1.0.16+nmu1 
     tool for managing templates file translations with gettext
ii  ssl-cert                                 1.0.26 
     simple debconf wrapper for OpenSSL

cat /etc/issue
Debian GNU/Linux squeeze/sid \n \l

mount
/dev/md1 on / type xfs (rw,noatime,nodiratime,logbufs=8,logbsize=256k)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /boot type ext3 (rw,noatime,nodiratime)
/dev/md2 on /home type xfs (rw,noatime,nodiratime,logbufs=8,logbsize=256k)
tmpfs on /tmp type tmpfs (rw,noexec,nosuid,nodev,size=512M)

thanks for reading





More information about the Debconf-devel mailing list