Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237646 - /etc/init.d/net.wlan0 just ignores /etc/conf.d/net at bootup (only)
Summary: /etc/init.d/net.wlan0 just ignores /etc/conf.d/net at bootup (only)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet:wpa_supplicant
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-14 17:09 UTC by niogic
Modified: 2011-03-27 21:34 UTC (History)
1 user (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 niogic 2008-09-14 17:09:40 UTC
That's the bug. And *seemingly* only after reboots. I've tried to halt and it worked. It has some of a random behavior.

Now the explaination:

I don't want net.eth0 to start so I've removed the net.eth0 link (since also after removing it from the default runlevel, it bothered me with the dhcpcd waiting for the carrier - TWICE, while booting).
 
I can only post some useless[1] output from the boot time:
* Bringing up interface lo
 *   127.0.0.1/8 ...                                                                                                      [ ok ] 
 *   Adding routes
 *     127.0.0.0/8 via 127.0.0.1 ...                                                                                      [ ok ] 
 * Bringing up interface wlan0
 *   Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported                                                                               [ ok ] 
 *   Starting wpa_cli on wlan0 ...                                                                                        [ ok ] 
 *   Backgrounding ... ...
 * WARNING: net.wlan0 has started, but is inactive
 * Mounting USB device filesystem [usbfs] ...                                                                             [ ok ] 
 * Activating swap devices ...                                                                                            [ ok ] 
 * Initializing random number generator ...                                                                               [ ok ]
 INIT: Entering runlevel: 3
 * Starting D-BUS system messagebus ...                                                                                   [ ok ] 
 * Starting syslog-ng ...                                                                                                 [ ok ]
 * Starting Hardware Abstraction Layer daemon ...                                                                         [ ok ] 
 * WARNING: netmount is scheduled to start when net.wlan0 has started
 * Setting up slim ...                                                                                                    [ ok ]
 * WARNING: sshd is scheduled to start when net.wlan0 has started
 * Starting vixie-cron ...
 
As you can see below, the interface wasn't given an ip address and other things that I list below.
 
[1]I said it's useless because if I run /etc/init.d/net.wlan0 restart .. it outputs almost the same lines (the ones about net.wlan0): IT WORKS fine. ifconfig gives the net.wlan0 an address, a subnet, a broadcast, route finds the right gateway and the /etc/resolv.conf file is correctly written.
And internet just works!
 
# /etc/init.d/net.wlan0 restart
 * Bringing up interface wlan0
  *   Starting wpa_supplicant on wlan0 ...
  ioctl[SIOCSIWAUTH]: Operation not supported                                                                          [ ok ]
  *   Starting wpa_cli on wlan0 ...                                                                                    [ ok ]
  *   Backgrounding ... ...
  * WARNING: net.wlan0 not under our control, aborting
 
(aborting what? well, it works..)
 
 

 
I ONLY use wpa_supplicant-0.5.10 and have NOT installed wireless-tools.
 I also have dhcpcd installed (should not be needed).
 
 
 
 
 
 
I'll post some (lots of) files below to help you in the debugging.
 
 
 
 
# cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
 
dns_domain_lo="something"
 
wpa_supplicant_wlan0="-Dwext"
 
config_wlan0="192.168.0.3/24 brd 192.168.0.255"
routes_wlan0="default via 192.168.0.1"
dns_servers_wlan0="192.168.0.1"
#
 
 
 
 
 
 
# rc-update show
                  xdm |      default                 
                 dbus |      default                 
                 fsck | boot                         
                 hald |      default                 
                 mtab | boot                         
                 root | boot                         
                 sshd |      default                 
                 swap | boot                         
              keymaps | boot                         
                local |      default nonetwork       
           vixie-cron |      default                 
            syslog-ng |      default                 
           localmount | boot                         
          consolefont | boot                         
              modules | boot                         
             hostname | boot                         
               net.lo | boot                         
               procfs | boot                         
            net.wlan0 |      default                 
             netmount |      default                 
               sysctl | boot                         
              urandom | boot                         
         termencoding | boot                         
              hwclock | boot                         
             bootmisc | boot                         
        device-mapper | boot                         
            alsasound | boot
 
 
 
 
 
# emerge --info
Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.53GHz-with-glibc2.0
Timestamp of tree: Sat, 06 Sep 2008 01:16:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j4"
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/portage/local/layman/kdesvn-portage /usr/portage/local/my-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa berkdb branding bzip2 cairo cdr cli cracklib crypt curl dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox gdbm gif git gpm gstreamer gtk hal iconv inotify isdnlog jpeg kde kerberos libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl startup-notification subversion svg sysfs tcpd threads tiff truetype unicode usb vorbis win32codecs x86 xcomposite xml xorg xv 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
 
 
 
 
# ifconfig -a
eth0      Link encap:Ethernet  HWaddr yy:yy:yy:yy:yy:yy
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:10 
 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
wmaster0  Link encap:UNSPEC  HWaddr xx-xx-xx-xx-xx-xx-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
 
 
 
 
 
 
# cat /etc/resolv.conf
# Generated by net-scripts for interface lo
domain something
 
 
 
 
 
 
 
 
 # cat wpa_supplicant.conf 
 
 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=wheel
 
 network={
         scan_ssid=1
	 ssid="myessid"
         key_mgmt=NONE
         priority=2
 }
Comment 1 Arthur Hagen 2008-09-14 23:27:56 UTC
The problem seems to be that net.wlan0 is incorrectly pulled in in runlevel 0 (boot) and not just runlevel 3 (default).
Normally, the package coming right after will be the one pulling it in -- in this case, it looks to be localmount.
(However, your collate/sorting doesn't appear to be working correctly, so in your case it might not be that package -- normally, the "rc-update show" will be shown sorted, but on your system it doesn't, which points to a collate/locale problem, and things might appear out of order.)

Check the depend() section of everything marked with "boot" in "rc-update show", and make sure none of them have a "need net", "require net" or "after net".
Again, net.wlan0 should never start in the boot section, which is your problem.

Also, you may need to check /etc/conf.d/rc for the NET_STRICT_CHECKING and RC_PLUG_SERVICES variables -- see the comments in the file for details and pointers to what to set them to.
Comment 2 carioxy 2008-09-16 17:37:17 UTC
I also have this problem,but i can't get my network up automatically.
#/etc/init.d/net.wlan0 start 
 * Bringing up interface wlan0
 *   Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported                            [ ok ]
 *   Starting wpa_cli on wlan0 ...                                     [ ok ]
 *   Backgrounding ... ...
 * WARNING: net.wlan0 has started, but is inactive


 # ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:1a:73:4a:2b:f2  
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:2442 errors:0 dropped:0 overruns:0 frame:0
          TX packets:709 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:783920 (765.5 KiB)  TX bytes:114034 (111.3 KiB)

It seems that dhcpcd failed to get the right ip.
I have to killall dhcpcd ,and do dhcpcd wlan0,everything goes fine.
I also tested iwconfig module,while it can correctly get the dhcpcd up.
It may be a bug about wpa_supplicant-0.5.10 with some error:
   ioctl[SIOCSIWAUTH]: Operation not supported   

Here is the detail:

#wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0' (DEPRECATED)
update_config=1
Line: 8 - start of a new network block
key_mgmt: 0x4
priority=-9999999 (0xff676981)
Line: 40 - start of a new network block
scan_ssid=0 (0x0)
ssid - hexdump_ascii(len=7):
     63 61 72 69 6f 78 79                              carioxy         
key_mgmt: 0x4
priority=5 (0x5)
Priority group 5
   id=1 ssid='carioxy'
Priority group -9999999
   id=0 ssid=''
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1a:73:4a:2b:f2
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=12
Ignore event for foreign ifindex 3
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 5
Try to find WPA-enabled AP
Try to find non-WPA AP
Selecting BSS from priority group -9999999
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.

/etc/conf.d/net
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
config_wlan0="dhcp"
dhcp_wlan0="-t 10 nontp nonis nosendhost"

/etc/wpa_supplicant//etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 update_config=1

network={
        key_mgmt=NONE
        priority=-9999999
}

network={
     scan_ssid=0
     ssid="carioxy"
     key_mgmt=NONE
     priority=5
     }


b43 kernel module with emerge --info

Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-glibc2.2.5
Timestamp of tree: Tue, 16 Sep 2008 10:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.channelx.biz/ "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread eds emboss encode esd evo fortran gdbm gif gnome gpm gstreamer gtk hal iconv immqt-bc isdnlog jpeg kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp openssl pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vim-with-x vorbis x264 xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY






Comment 3 niogic 2008-09-17 13:20:31 UTC
(In reply to comment #2)
> I also have this problem,but i can't get my network up automatically.
[...]
> It seems that dhcpcd failed to get the right ip.
> I have to killall dhcpcd ,and do dhcpcd wlan0,everything goes fine.



Hey!! That problem is why I decided to set everything manually, since right: dhcpcd wlan0 worked fine but sometimes didn't .. I didn't realize that I should have killed it first.

So the problem is not dhcpcd (probably) but this "boot runlevel" where all these tools aren't ready as far as I understood.
Comment 4 Ivan Iraci 2008-12-26 12:39:22 UTC
(In reply to comment #1)

same problem here.

wlan0 interface remains inactive after boot. I have to run dhcpcd manually on it after boot.
All worked fine before I upgraded openrc to 0.4.0.

beren ~ # rc-update show
                  gpm |      default                                  
                  xdm |      default                                  
           ntp-client |      default                                  
                 dbus |      default                                  
                 fsck | boot                                          
                 hald |      default                                  
                 lisa |      default                                  
                 mtab | boot                                          
                 ntpd |      default                                  
                 root | boot                                          
                 sshd |      default                                  
                 swap | boot                                          
                 udev |                                 sysinit       
            denyhosts |      default                                  
              keymaps | boot default                                  
                acpid | boot                                          
                devfs |                                 sysinit       
                cupsd |      default                                  
                dmesg |                                 sysinit       
                local |      default          nonetwork               
            savecache |              shutdown                         
           vixie-cron |      default                                  
            syslog-ng |      default                                  
         avahi-daemon |      default                                  
           lm_sensors |      default                                  
           localmount | boot                                          
          consolefont | boot                                          
              modules | boot                                          
             hostname | boot                                          
             mount-ro |              shutdown                         
           fbcondecor | boot                                          
               net.lo | boot                                          
             net.eth0 |      default                                  
               procfs | boot                                          
            net.wlan0 |      default                                  
               serial | boot                                          
             sendmail |      default                                  
             netmount |      default                                  
               sysctl | boot                                          
              urandom | boot                                          
               vsftpd |      default                                  
         termencoding | boot                                          
              hotplug | boot                                          
              hwclock | boot                                          
           pulseaudio |      default                                  
             festival |      default                                  
             bootmisc | boot                                          
        device-mapper | boot                                          
              preload |      default                                  
            alsasound | boot                                          
            killprocs |              shutdown
Comment 5 niogic 2008-12-29 17:42:26 UTC
(In reply to comment #4)

> All worked fine before I upgraded openrc to 0.4.0.

Good to know, I also have the testing version.
Comment 6 Ian Johnson 2009-12-06 07:34:06 UTC
Have the same behavior:  net.wlan0 being pulled in during boot run level

/etc/conf.d/rc:
  RC_NET_STRICT_CHECKING="no"  (Default)

Result:

Unmounting network filesystems ...
samba -> stop: smbd ...
samba -> stop: nmbd ...
Stopping sshd ...
Stopping wlan0
  Bringing down wlan0
    Shutting down wlan0 ...
    Stopping wpa_cli on wlan0 ...
    Stopping wpa_supplicant on wlan0 ...
Starting wlan0
  Starting wpa_supplicant on wlan0 ...
  Starting wpa_cli on wlan0 ...
    Backgrounding ...
WARNING:  netmount is scheduled to start when net.wlan0 has started.
WARNING:  samba is scheduled to start when net.wlan0 has started.
WARNING:  sshd is scheduled to start when net.wlan0 has started.

Services are up, running and working correctly.

Workaround:

RC_NET_STRICT_CHECKING="none"

Result:

Unmounting network filesystems ...
samba -> stop: smbd ...
samba -> stop: nmbd ...
Stopping sshd ...
Stopping wlan0
  Bringing down wlan0
    Shutting down wlan0 ...
    Stopping wpa_cli on wlan0 ...
    Stopping wpa_supplicant on wlan0 ...
Starting wlan0
  Starting wpa_supplicant on wlan0 ...
  Starting wpa_cli on wlan0 ...
    Backgrounding ...
...
Comment 7 Colin DuPée 2010-02-05 13:50:31 UTC
I ran into a related problem, if not the same problem...

If I have both wpa_supplicant AND wireless-tools installed, wlan0 will try to use wireless-tools no matter what I do to /etc/conf.d/net.  The "modules" directive has absolutely no effect.  The only way I can get it to work is by un-merging wireless-tools.
Comment 8 Michael Perlov 2010-04-26 13:29:36 UTC
(In reply to comment #6)
> Have the same behavior:  net.wlan0 being pulled in during boot run level
> 
> /etc/conf.d/rc:
>   RC_NET_STRICT_CHECKING="no"  (Default)
> 

/etc/conf.d/rc is deprecated in recent versions of openrc, just delete it and use /etc/rc.conf
Comment 9 William Hubbs gentoo-dev 2011-03-27 21:34:22 UTC
I haven't seen any activity on this bug in almost a year, and I do not know if it is still an issue with current openrc.

Please update to the most recent openrc. If this is still an issue, feel free to re-open.