Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229785 - net.wlan0 interface always starts regardless of setting using rc-update
Summary: net.wlan0 interface always starts regardless of setting using rc-update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 16:57 UTC by Matthew Schultz
Modified: 2008-06-30 14:11 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 Matthew Schultz 2008-06-27 16:57:19 UTC
I'm not sure why but my net.wlan0 interface always starts on boot even though I tell it not to with rc-update.  In fact, I have it entirely removed from all runlevels and it still starts on boot.

Reproducible: Always

Steps to Reproduce:
/
Actual Results:  
Starts on boot

Expected Results:  
Don't start on boot

etc/conf.d/net:

#Home ethernet
dns_servers_eth0="192.168.0.11 192.168.0.1"
dns_search_eth0="server.home"
config_eth0="192.168.0.15/24"
routes_eth0="default via 192.168.0.11"
fallback_route_eth0="default via 192.168.0.11"

#WLAN
modules="wpa_supplicant"
config_wlan0="dhcp"
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=60
dhcp_wlan0="release"
dhcpcd_wlan0="-t 10"

rc-update show:

                  xdm |      default                  battery
                 fsck | boot
                 hald |      default
                 mtab | boot
                 ntpd |      default
                 root | boot
                 sshd |      default
                 swap | boot
              keymaps | boot
                acpid |      default                  battery
                clamd |      default
                cupsd |      default
                local |      default nonetwork        battery
                mysql |      default                  battery
                samba |      default                  battery
           vixie-cron |      default                  battery
            syslog-ng |      default                  battery
           localmount | boot
          consolefont | boot
        915resolution | boot
              modules | boot
             hostname | boot
               net.lo | boot
             net.eth0 |      default                  battery
               procfs | boot
               smartd |      default                  battery
             netmount |      default                  battery
               sysctl | boot
              urandom | boot
             cpufreqd |      default                  battery
         termencoding | boot
              apache2 |      default                  battery
              hwclock | boot
             bootmisc | boot
        device-mapper | boot
              postfix |      default
            alsasound |      default                  battery

emerge --info:

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r3 i686)
=================================================================
System uname: 2.6.25-gentoo-r3 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Fri, 27 Jun 2008 13:15:03 +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.4.4-r13
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-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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"
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/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://portage.home http://gentoo.cites.uiuc.edu/pub/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirror.utdlug.org/linux/distributions/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ru"
MAKEOPTS="-j6"
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/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sajinet /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns ads alsa apache2 async audiofile automount avi bcmath bdf berkdb bzip2 calendar caps cddb cdparanoia cdr cjk clamav cli cpudetection cracklib crypt ctype cups curl curlwrappers dbus directfb dri dts dvb dvd dvdnav dvdread encode exif fam fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm gif glib gmp gnutls gpm gtk gtk2 hal hash iconv imagemagick imap imlib innodb ipv6 isdnlog java javascript jpeg jpeg2k json kde kson lcms ldap ldap-sasl live logrotate lzo mad matroska mcal mhash midi mime mjpeg mmap mmx mmxext mng mp2 mp3 mp4 mpeg msession msn mssql mudflap mysql mysqli ncurses network nls nptl nptlonly nsplugin nss nvidia offensive ogg openal opengl openmp osc oss pam pch pcntl pcre pdf pdo perl php png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl seamonkey session simplexml snmp soap sockets spell spl sqlite sse ssl subversion suexec suhosin svg swat syslog tcpd theora threads tidy tiff tokenizer transcode truetype unicode usb v4l v4l2 vcd vorbis wddx win32codecs winbind wxwindows x264 x86 xforms xine xml xorg xpm xsl xv xvid zip zlib" ALSA_CARDS="hda-intel 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="i810 fbdev vesa vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Bandan 2008-06-27 18:01:10 UTC
(In reply to comment #0)
> I'm not sure why but my net.wlan0 interface always starts on boot even though I
>

That's probably because you have 'RC_COLDPLUG="yes"' in your /etc/conf.d/rc which makes it a device initiated service. Set it to "no" or use something like 'RC_PLUG_SERVICES="!net.wlan0"' to just disable net.wlan0 being initiated automatically.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-29 16:53:16 UTC
Assuming Bandan knows about what he wrote, I'm closing the bug. In case I'm wrong or you can point out that (possible) available documentation on gentoo.org is not extensive enough or even incorrect, don't hesitate to reopen.
Comment 3 Matthew Schultz 2008-06-30 14:11:00 UTC
(In reply to comment #2)
> Assuming Bandan knows about what he wrote, I'm closing the bug. In case I'm
> wrong or you can point out that (possible) available documentation on
> gentoo.org is not extensive enough or even incorrect, don't hesitate to reopen.
> 

Yup that did it.  I didn't realize that the coldplug setting would auto start the service.  Thanks for the help. :-)