Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332047 - sys-apps/baselayout: Device initiated net.wlan0 startup cause wrong order of service startup
Summary: sys-apps/baselayout: Device initiated net.wlan0 startup cause wrong order of ...
Status: RESOLVED WONTFIX
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: 2010-08-10 13:32 UTC by NiTr0
Modified: 2016-01-08 03:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
330033 (removed due to spam,24 bytes, text/plain)
2010-09-07 10:07 UTC, gigi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NiTr0 2010-08-10 13:32:40 UTC
If I put wireless card into Gentoo box - at boot level it initiates net.wlan0 and then, at default runlevel, it initiates net.ethX/net.pppX after services that depends on network connections (for ex., dhcpd, named, tftpd) - so I must restart services manually.

Reproducible: Always

Steps to Reproduce:
1. Insert wireless card and configure it as ad-hoc (for ex.)
2. install dhcpd and configure it to run on eth0
3. reboot

Actual Results:  
dhcppd runs before net.eth0

Expected Results:  
dhcpd runs after net.eth0

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-AMD_Athlon-tm-_II_X2_245_Processor-with-gentoo-1.12.13
Timestamp of tree: Fri, 06 Aug 2010 10:35:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 apache2 apm berkdb bzip2 cdr cgi cli cracklib crypt cups curl cxx daemon dri encode fat fortran fts3 gd gdbm gif gpm gtk hal iconv ipv6 java jpeg jpeg2k json mmx modules mp3 mudflap multilib mysql mysqli ncurses nls nptl nptlonly opengl openmp pam pcre perl php png posix pppd python qt readline reflection reiser4 reiserfs samba session slang spl sqlite sse sse2 sse3 ssl svg symlink sysfs taglib tcpd theora threads tiff toolbar truetype unicode usb vnc wifi xfce xml xmlrpc xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv r128 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 gigi 2010-09-07 10:07:11 UTC
Created attachment 246343 [details]
330033

shut down
Comment 2 Jan Vansteenkiste 2010-09-09 10:31:57 UTC
(In reply to comment #1)
> Created an attachment (id=246343) [details]
> 330033
> 
> shut down
> 

Thanks for the spam.

Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-09 16:14:26 UTC
What value do you have for rc_depend_strict/RC_NET_STRICT_CHECKING?

You will need to either use strict, or add in additional ordering contraints in your conf.d.

baselayout1:
RC_NET_STRICT_CHECKING=yes

baselayout2 option 1:
rc_depend_strict="yes"

baselayout2 option2:
add the following to conf.d/dhcpd
rc_need="net.eth0"
Comment 4 SpanKY gentoo-dev 2016-01-08 03:34:30 UTC
baselayout-1 is no longer in the tree