Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 144431
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Bergmann (RETIRED) <sebastian@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
net /etc/conf.d/net text/plain Sebastian Bergmann (RETIRED) 2006-08-20 01:20 0000 21 bytes Details
rc /etc/conf.d/rc text/plain Sebastian Bergmann (RETIRED) 2006-08-20 01:21 0000 8.49 KB Details
boot.msg /var/log/boot.msg text/plain Sebastian Bergmann (RETIRED) 2006-08-21 06:51 0000 1.10 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 144431 depends on: 143887 Show dependency tree
Bug 144431 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-19 09:43 0000
- I have sshd in my default runlevel.
- I am using ifplugd to manage my two network interfaces
  (eth0: wired, eth1: wireless)
- When I boot my notebook with an Ethernet cable attached,
  sshd is started during boot.
- When I boot my notebook with no Ethernet cable attached,
  sshd is not started during boot, although a wireless connection
  is established. Running /etc/init.d/sshs start manually works fine,
  though.

-- 

Portage 2.1.1_pre5-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla,
glibc-2.4-r3, 2.6.17-gentoo-r5 i686)
=================================================================
System uname: 2.6.17-gentoo-r5 i686 Genuine Intel(R) CPU           L2400  @
1.66GHz
Gentoo Base System version 1.12.4
Last Sync: Sat, 19 Aug 2006 15:30:09 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf avi berkdb bitmap-fonts bluetooth
browserplugin bzip2 cairo cdr cli crypt cups dbus divx4linux dlloader dri dvd
dvdr dvdread eds elibc_glibc emboss encode exif fame firefox flac foomaticdb
fortran gaim galago gdbm gif glitz gnome gpm graphviz gstreamer gtk gtk2 hal
imlib input_devices_evdev input_devices_keyboard input_devices_mouse iproute2
ipv6 isdnlog java jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++
libnotify libsexy libwww lzo mad matroska mikmod mjpeg mmx mng mono
moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nomotif nptl
nsplugin ogg oggvorbis opengl oss pam pam_console pcre pdf pdflib perl png pppd
python quicktime readline reflection samba session smp spell spl sse sse2 ssl
startup-notification svg tcpd tetex theora tiff truetype truetype-fonts
type1-fonts udev unicode usb userland_GNU video_cards_i810 vorbis win32codecs
wmf xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From SpanKY 2006-08-20 00:47:17 0000 -------
post your /etc/conf.d/net and /etc/conf.d/rc files

------- Comment #2 From Sebastian Bergmann (RETIRED) 2006-08-20 01:20:44 0000 -------
Created an attachment (id=94666) [details]
/etc/conf.d/net

------- Comment #3 From Sebastian Bergmann (RETIRED) 2006-08-20 01:21:17 0000 -------
Created an attachment (id=94667) [details]
/etc/conf.d/rc

------- Comment #4 From Roy Marples (RETIRED) 2006-08-20 05:36:00 0000 -------
Are both net.eth0 and net.eth1 in the default runlevel?

Also, ifplugd is very bad with wireless - use wpa_supplicant instead.

------- Comment #5 From Sebastian Bergmann (RETIRED) 2006-08-20 06:39:53 0000 -------
No, I have neither net.eth0 nor net.eth1 in the default runlevel. I thought
that this was not needed.

------- Comment #6 From Roy Marples (RETIRED) 2006-08-20 23:57:26 0000 -------
No, it's not needed. I myself don't have any net.xxx scripts in any runlevel
(except for net.lo).

Is sshd in the default runlevel? Does it work if you use wpa_supplicant to
manage your wireless interface?

------- Comment #7 From Sebastian Bergmann (RETIRED) 2006-08-21 00:06:08 0000 -------
Yes, sshd is in the default runlevel. I don't know about wpa_supplicant as I
don't use it.

------- Comment #8 From Roy Marples (RETIRED) 2006-08-21 00:34:32 0000 -------
(In reply to comment #7)
> Yes, sshd is in the default runlevel. I don't know about wpa_supplicant as I
> don't use it.

Have you got wireless-tools installed?

------- Comment #9 From Sebastian Bergmann (RETIRED) 2006-08-21 00:37:57 0000 -------
Of course.

------- Comment #10 From Roy Marples (RETIRED) 2006-08-21 02:01:21 0000 -------
So you're using the ifplugd init script?

------- Comment #11 From Sebastian Bergmann (RETIRED) 2006-08-21 06:51:03 0000 -------
Created an attachment (id=94771) [details]
/var/log/boot.msg

------- Comment #12 From Sebastian Bergmann (RETIRED) 2006-08-21 06:51:25 0000 -------
No, I am not using the ifplugd init script.

------- Comment #13 From Roy Marples (RETIRED) 2006-08-21 07:04:26 0000 -------
net.eth1 is not in any runlevel and is not being picked up by udev/coldplug to
add it to the default runlevel.

Solution - add net.eth1 to the default runlevel.

------- Comment #14 From Sebastian Bergmann (RETIRED) 2006-08-21 23:48:33 0000 -------
Adding net.eth1 to the default runlevel makes the situation currently worse for
me: at the time when net.eth1 is started the ipw3945d has not yet been started
(because I currently start it via conf.d/local.start).

Will try again once the ipw3945d issue has been solved.

------- Comment #15 From Roy Marples (RETIRED) 2006-08-22 02:42:29 0000 -------
If ipw3945d creates the actual interface then we have a problem.
At present, ipw3945d doesn't even have an init script to my knowledge.

I think the only viable solution is to add net.eth1 to the default runlevel,
follow the advice in bug #143887 to get net.eth1 to depend on ipw3945d AND -
this is the important part - use wpa_supplicant.

wpa_supplicant is important as it makes net.eth1 re-entrant so it supports the
inactive status. This means that during a normal boot services that require net
will be scheduled to start once a net device becomes active - you are already
seeing this with ifplugd.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug