Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267996 - app-admin/webmin-1.490 install fails during modprobe iptables
Summary: app-admin/webmin-1.490 install fails during modprobe iptables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 13:55 UTC by filbar
Modified: 2009-10-23 19:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description filbar 2009-04-30 13:55:43 UTC
I try to install webmin, but I have this error:

>>> Emerging (1 of 1) app-admin/webmin-1.470
 * webmin-1.470.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking webmin-1.470.tar.gz to /var/tmp/portage/app-admin/webmin-1.470/work
 * Applying webmin-1.170-setup-nocheck.patch ...                                                                                                                                [ ok ]
>>> Source unpacked in /var/tmp/portage/app-admin/webmin-1.470/work
>>> Compiling source in /var/tmp/portage/app-admin/webmin-1.470/work/webmin-1.470 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-admin/webmin-1.470

>>> Install webmin-1.470 into /var/tmp/portage/app-admin/webmin-1.470/image/ category app-admin
>>> Completed installing webmin-1.470 into /var/tmp/portage/app-admin/webmin-1.470/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-15511.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /lib/modules/2.6.25-gentoo-r9/kernel/net/netfilter/x_tables.ko
A: /lib/modules/2.6.25-gentoo-r9/kernel/net/netfilter/x_tables.ko
R: /lib/modules/2.6.25-gentoo-r9/kernel/net/netfilter/x_tables.ko
C: /sbin/modprobe ip_tables 

F: open_wr
S: deny
P: /lib/modules/2.6.25-gentoo-r9/kernel/net/ipv4/netfilter/ip_tables.ko
A: /lib/modules/2.6.25-gentoo-r9/kernel/net/ipv4/netfilter/ip_tables.ko
R: /lib/modules/2.6.25-gentoo-r9/kernel/net/ipv4/netfilter/ip_tables.ko
C: /sbin/modprobe ip_tables 
--------------------------------------------------------------------------------
Comment 1 Patrick Lauer gentoo-dev 2009-04-30 21:04:36 UTC
Ugh, that's a naughty one. Does it install when the iptables modules are loaded?
Comment 2 filbar 2009-05-01 09:00:05 UTC
This don't help. Emerge dies with same error.
Comment 3 Jan Krieg 2009-05-06 14:21:26 UTC
I got about the same one:

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /lib/modules/2.6.27-gentoo-r8/kernel/net/ipv4/netfilter/ip_tables.ko
A: /lib/modules/2.6.27-gentoo-r8/kernel/net/ipv4/netfilter/ip_tables.ko
R: /lib/modules/2.6.27-gentoo-r8/kernel/net/ipv4/netfilter/ip_tables.ko
C: /sbin/modprobe ip_tables

For me, doing 'modprobe ip_tables' as root and then trying to emerge webmin-1.470 again worked.
Comment 4 Danny Wijsman 2009-08-02 11:26:14 UTC
The problem persists in webmin-1.480

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /lib/modules/2.6.26-gentoo-r4/kernel/net/netfilter/x_tables.ko
A: /lib/modules/2.6.26-gentoo-r4/kernel/net/netfilter/x_tables.ko
R: /lib/modules/2.6.26-gentoo-r4/kernel/net/netfilter/x_tables.ko
C: /sbin/modprobe ip_tables -q

F: open_wr
S: deny
P: /lib/modules/2.6.26-gentoo-r4/kernel/net/ipv4/netfilter/ip_tables.ko
A: /lib/modules/2.6.26-gentoo-r4/kernel/net/ipv4/netfilter/ip_tables.ko
R: /lib/modules/2.6.26-gentoo-r4/kernel/net/ipv4/netfilter/ip_tables.ko
C: /sbin/modprobe ip_tables -q
Comment 5 xpeed 2009-08-30 21:17:22 UTC
Hi there, doing:

/sbin/modprobe ip_tables

That the trick for me, if you still get the same error, try to rmmod and modprobe it again.

This was tested on app-admin/webmin-1.480 version.

best Regards
Comment 6 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-14 13:13:46 UTC
This issue persist in app-admin/webmin-1.490 ?
Which use flags did you use?
emerge --info output please
Comment 7 Jan Krieg 2009-10-14 14:21:12 UTC
(In reply to comment #6)
> This issue persist in app-admin/webmin-1.490 ?
> Which use flags did you use?
> emerge --info output please
> 

'modprobe ip_tables' before emerging works for me with webmin-1.480 with following USE-Flags:

eix -e webmin
[I] app-admin/webmin
     Available versions:  (~)1.400-r1 (~)1.441 (~)1.470 (~)1.480 {apache2 minimal mysql pam postgres ssl}
     Installed versions:  1.480(16:16:02 14.10.2009)(pam ssl -apache2 -minimal -mysql -postgres)

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 20 Sep 2009 16:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -msse4.1"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -msse4.1"
DISTDIR="/distfiles/"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal hvm iconv ipv6 isdnlog jpeg ldap libnotify mad mikmod mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pae pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session snmp spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-20 20:18:54 UTC
Ok guys, I've added a little fix to this issue, please test to check everything is working fine :)
Comment 9 Jan Krieg 2009-10-21 22:15:41 UTC
Thanks Víctor, I've just compiled v1.490 without errors and without modprobe :)
Comment 10 JCM 2009-10-23 07:11:09 UTC
(In reply to comment #8)
> Ok guys, I've added a little fix to this issue, please test to check everything
> is working fine :)
> 

Hi, 
had to add "addpredict /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter" to function src_install() to make it work on my machine.
Joerg
Comment 11 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-23 14:25:45 UTC
Updated ebuild to use addpredict /lib/modules/$(uname -r)/kernel/net to cover both cases.
Please test
Comment 12 JCM 2009-10-23 16:39:49 UTC
(In reply to comment #11)
> Updated ebuild to use addpredict /lib/modules/$(uname -r)/kernel/net to cover
> both cases.
> Please test

Now it works here too.
Comment 13 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-23 19:45:52 UTC
OK, this seems to be fixed.