Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219726 - baselayout-2/openrc-0.2.2 don't play well with net-misc/br2684ctl
Summary: baselayout-2/openrc-0.2.2 don't play well with net-misc/br2684ctl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 15:39 UTC by Helmut Jarausch
Modified: 2008-04-30 15:32 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 Helmut Jarausch 2008-04-29 15:39:22 UTC
Strange things happen when the atm/ethernet bridge br2684ctl is started
under baselayout-2.0.0/openrc-0.2.2.

- during boot br2684ctl fails with

br2684ctl[2425]: Interface "nas0" created sucessfully
br2684ctl[2425]: Communicating over ATM 0.8.35, encapsulation: LLC
br2684ctl[2425]: Fatal: failed to connect on socket; No such device

-----

doing
/etc/init.d/net.nas0 restart
after boot (after the error above)
results in an infinite loop like

Apr 29 17:20:59 numa-be br2684ctl[18306]: Killed by a signal
Apr 29 17:20:59 numa-be br2684ctl[18306]: Daemon terminated
Apr 29 17:21:00 numa-be br2684ctl[18398]: Interface "nas0" created sucessfully
Apr 29 17:21:00 numa-be br2684ctl[18398]: Communicating over ATM 0.8.35, encapsulation: LLC
Apr 29 17:21:00 numa-be br2684ctl[18398]: Interface configured
Apr 29 17:21:00 numa-be br2684ctl[18398]: RFC 1483/2684 bridge daemon started
Apr 29 17:21:02 numa-be br2684ctl[18398]: Killed by a signal

and so on.

---------------
Doing instead

/etc/init.d/net.nas0 stop
/etc/init.d/net.nas0 start

DOES work (and there is no loop)

---
Needless to say, this has worked here for more than 18 months with
baselayout-1.x. Furthermore net-misc/br2684ctl hasn't changed for a long time.

Thanks for shedding some light into this mystery!


Reproducible: Always




emerge --info
Portage 2.1.5_rc6 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: 2.6.25-gentoo-r1 i686 Pentium III (Coppermine)
Timestamp of tree: Tue, 29 Apr 2008 12:16:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LDFLAGS=""
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="X acl alsa atm berkdb cairo cdr cli cracklib crypt cups doc dri dvd fortran gdbm gif gimp gnome gpm gtk iconv ipv6 isdnlog jpeg kde lcms midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt qt4 readline reflection session spl sqlite sqlite3 sse ssl svg tcl tcpd tetex tiff tk unicode x86 xorg xulrunner zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples 2008-04-29 17:07:06 UTC
uberlaptop ~ # br2684ctl -c 0 -a 0.34
br2684ctl[29193]: Interface "nas0" created sucessfully
br2684ctl[29193]: Communicating over ATM 0.0.34, encapsulation: LLC
br2684ctl[29193]: Fatal: failed to connect on socket; No such device
uberlaptop ~ # br2684ctl -c 0 -a 0.34
br2684ctl[29311]: Interface "nas0" could not be created, reason: File exists
br2684ctl[29311]: Communicating over ATM 0.0.34, encapsulation: LLC
br2684ctl[29311]: Fatal: failed to connect on socket; No such device

Looks like a br2684 or kernel issue and not openrc
Adding net-dialup and kernel team for comments.
I'm using gentoo-sources-2.6.25-r1
Comment 2 Helmut Jarausch 2008-04-30 15:32:30 UTC
upgrading to openrc-0.2.3 fixes the bug!