Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99747 - RC_NET_STRICT_CHECKING='no' not working
Summary: RC_NET_STRICT_CHECKING='no' not working
Status: RESOLVED INVALID
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: 2005-07-20 21:17 UTC by Jay Phelps
Modified: 2005-07-21 07:01 UTC (History)
0 users

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 Jay Phelps 2005-07-20 21:17:30 UTC
On my laptop with eth0 and ath0 (wifi) interfaces setting the
RC_NET_STRICT_CHECKING  option to 'no' has no impact on the system at boot time.
 Even though only the lo interface is active, scripts (such as ntp-client) which
'need net' do not heed this and will fail when using my pcmcia wifi card because
the pcmcia subsystem and ath0 interface are not up.  This does not match the
behavior in the /etc/conf.d/rc file comments:
#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.


Checking my /etc directory finds no match for this setting actually being used
anywhere except the splash/livecd-2005.0 script list_svc.sh.

emerge --info   
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
                                           
r0, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
                                           
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
                                           
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
                                           
s/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips
                                           
/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config
                                           
/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://ftp6.uni-erlangen.de/pub/m
                                           
irrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6
                                           
.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distri
                                           
butions/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp6.u
                                           
ni-erlangen.de/pub/mirrors/gentoo http://gentoo.binarycompass.org http://vlaai.s
                                           
nt.ipv6.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts avi bash-completion berk
                                           
db bitmap-fonts bonobo bzlib cdparanoia cdr crypt cups curl dga directfb divx4li
                                           
nux doc dvb dvd dvdr dvdread eds emboss encode esd ethereal evo fam fbcon flac f
                                           
oomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile ima
                                           
gemagick imap imlib innodb ipv6 jabber java jpeg junit kde kerberos krb4 ldap li
                                           
bg++ libwww live mad mikmod mmap motif mozilla mp3 mpeg msn mysql nas ncurses nl
                                           
s ogg oggvorbis opengl oss pam pcmcia pda pdflib perl php pic png python qt quic
                                           
ktime quotes radeon readline real rtc samba sdl shared slang spell sse sse2 ssl
                                            
svga tcpd tetex tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis win
                                           
32codecs wxwindows xanim xine xinerama xml xml2 xmms xpm xv xvid xvmc yahoo zlib
                                           
 video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-07-20 21:40:23 UTC
you didnt check all the files, it is used in rc services

you also missed the comment just below what you quoted ... you have to set it to
'lo' not to 'no'
Comment 2 Jay Phelps 2005-07-20 22:05:30 UTC
I did check all the files on my system in /etc and that option is not used
except in /etc/splash/livecd-2005.0
I'm not sure what 'rc services' file you are refering to but I don't have it in
/etc.  Is it locate someplace else?
I am using the latest stable baselayout 1.11.13.

Option 'lo' is what it seems to be doing when I have it set to 'no' which is not
correct.  If I am reading this correctly 'no' would require either eth0 or ath0
to be up in addition to lo and that's not what's happening.  

#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.
#  lo    - This is the same as the 'no' option, but net.lo is also counted.
#          This should be useful to people that do not care about any specific
#          interface being up at boot.

I appologize in advance if I a missing something obvious here.  Perhaps I am
looking in the wrong place for references to this variable (if it's not in /etc)
but, in any event, the behaviour I am experiencing does not match the documented
behaviour as specified in /etc/conf.d/rc
Comment 3 SpanKY gentoo-dev 2005-07-21 07:01:04 UTC
then your config files werent updated properly

re-emerge baselayout with the --noconfmem