Package: iptables-persistent
Version: 0.5.5
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

modprobe is now available, new problems show up:

During a test with piuparts I noticed your package failed to install in
a chroot.  As per definition of the release team this makes the package
too buggy for a release, thus the severity.

In a chroot there is no kernel installed, so no modules can be loaded.
Even if a kernel were installed, it may not match $(uname -r).

Maybe the ischroot command in debianutils could be helpful.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package iptables-persistent.
  (Reading database ... 7029 files and directories currently installed.)
  Unpacking iptables-persistent (from .../iptables-persistent_0.5.5_all.deb) ...
  update-rc.d: using dependency based boot sequencing
  Setting up iptables-persistent (0.5.5) ...
  dpkg: error processing iptables-persistent (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   iptables-persistent

Since that was not too helpful, I added a set -x and ran
dpkg --configure --pending:

[...]
+ db_get iptables-persistent/autosave_v4
+ _db_cmd 'GET iptables-persistent/autosave_v4'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET iptables-persistent/autosave_v4'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ '[' xtrue = xtrue ']'
+ modprobe -q iptable_filter
dpkg: error processing iptables-persistent (--configure):
 subprocess installed post-installation script returned error exit status 1

and lets increate the verboseness of the failing command, too:

(chroot)# modprobe -vvv iptable_filter
libkmod: DEBUG ../libkmod/libkmod-module.c:519 kmod_module_new_from_lookup: 
input alias=iptable_filter, normalized=iptable_filter
libkmod: DEBUG ../libkmod/libkmod-module.c:525 kmod_module_new_from_lookup: 
lookup modules.dep iptable_filter
libkmod: DEBUG ../libkmod/libkmod.c:550 kmod_search_moddep: 
file=/lib/modules/3.2.0-2-amd64/modules.dep.bin modname=iptable_filter
libkmod: DEBUG ../libkmod/libkmod.c:554 kmod_search_moddep: could not open 
moddep file '/lib/modules/3.2.0-2-amd64/modules.dep.bin'
libkmod: DEBUG ../libkmod/libkmod-module.c:529 kmod_module_new_from_lookup: 
lookup modules.symbols iptable_filter
libkmod: DEBUG ../libkmod/libkmod-module.c:533 kmod_module_new_from_lookup: 
lookup install and remove commands iptable_filter
libkmod: DEBUG ../libkmod/libkmod-module.c:537 kmod_module_new_from_lookup: 
lookup modules.aliases iptable_filter
libkmod: DEBUG ../libkmod/libkmod.c:431 kmod_lookup_alias_from_alias_bin: 
file=/lib/modules/3.2.0-2-amd64/modules.alias.bin name=iptable_filter
libkmod: DEBUG ../libkmod/libkmod-module.c:549 kmod_module_new_from_lookup: 
Failed to lookup iptable_filter
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0x7fbeb1792290 
released


cheers,

Andreas

Attachment: iptables-persistent_0.5.5.log.gz
Description: GNU Zip compressed data

Reply via email to