Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346805 - net-misc/dhcpcd: init script is not compatible with baselayout-1.x
Summary: net-misc/dhcpcd: init script is not compatible with baselayout-1.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
: 347877 349919 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-26 00:37 UTC by Lyall Pearce
Modified: 2011-01-27 20:36 UTC (History)
26 users (show)

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


Attachments
/etc/init.d/dhcpcd (dhcpcd,717 bytes, text/plain)
2011-01-22 01:12 UTC, William Hubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lyall Pearce 2010-11-26 00:37:02 UTC
Post upgrade to net-misc/dhcpcd-5.2.8, /etc/init.d/dhcpcd now contains a 'provides net' line, which causes a warning to be generated on every service startup.


Reproducible: Always

Steps to Reproduce:
1. as root, execute /etc/init.d/servicename start
2. diagnostic generated but service starts
3.



Expected Results:  
No warning message

Maybe needs a new 'provides name'?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-27 15:42:22 UTC
epia ~ # /etc/init.d/ntpd status
 * status:  started
epia ~ # /etc/init.d/ntpd restart
 * Stopping ntpd ...                                                             [ ok ]
 * Starting ntpd ...                                                             [ ok ]
epia ~ # touch /etc/init.d/ntpd
epia ~ # /etc/init.d/ntpd restart
 * Caching service dependencies ...
 *  Cannot add provide 'net', as a service with the same name exists!            [ ok ]
 * Stopping ntpd ...                                                             [ ok ]
 * Starting ntpd ...                                                             [ ok ]
epia ~ #
Comment 2 SpanKY gentoo-dev 2010-11-27 19:57:16 UTC
no one has provided `emerge --info` as every bug report is supposed to contain
Comment 3 Sergey Popov gentoo-dev 2010-11-28 08:50:42 UTC
(In reply to comment #2)
> no one has provided `emerge --info` as every bug report is supposed to contain
> 

same error. I fix it by commenting "provide net" string in /etc/init.d/dhcpcd

emerge --info:

Portage 2.2.0_alpha6 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12-HARTNETT i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r12-HARTNETT-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 27 Nov 2010 23:45:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
Repositories: gentoo qutim-overlay kde-sunset rion SynCE pinkbyte-repo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa"
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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mini-router/Gentoo http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
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="/var/lib/layman/qutim-overlay /var/lib/layman/kde-sunset /var/lib/layman/rion /var/lib/layman/synce /usr/local/portage"
SYNC="rsync://mini-router/gentoo-portage"
USE="X a52 aac acl acpi alsa ao aplay arts audiofile bash-completion bluetooth branding bzip2 cairo caps cli consolekit cracklib crypt custom-cflags custom-cxxflags cxx dbus djvu dri dvd dvdr dvdread enca fbcon flac fortran gif gpm hal iconv idn jpeg jpeg2k kde libsamplerate lm_sensors logrotate mmx mmxext mng modplug modules mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre png policykit pppd python qt3 qt3support qt4 readline samba sdl session sndfile sse sse2 ssl svg sysfs syslog tcpd tga theora threads tiff timidity truetype tta unicode usb vorbis wavpack win32codecs wma x264 x86 xcb xcomposite xinerama xorg xv xvid 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="serial" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Lyall Pearce 2010-11-28 09:51:40 UTC
My apologies.
I will admit, I have uninstalled dhcpcd but here is my emerge info, regardless.


Portage 2.1.9.24 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 26 Nov 2010 23:15:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3::pentoo, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/portage/Repository/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo http://mymirror.asiaosc.org/gentoo/ http://www.zentek-international.com/mirrors/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_AU"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/portage/Repository/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="/tmp"
PORTDIR="/portage/Repository"
PORTDIR_OVERLAY="/portage/Repository/local/layman/jokey /portage/Repository/local/layman/sunrise /portage/Repository/local/layman/oss-overlay /portage/Repository/local/layman/java-overlay /portage/Repository/local/layman/pentoo /portage/Repository/local"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X a52 aac acl acpi alsa amr apache2 avahi berkdb bindist bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cleartype cli consolekit corefonts cracklib crypt css cups cxx daap dbus dri dts dvb dvd dvdr emacs emboss encode esd exif fam ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv ipod ipv6 java javascript joystick jpeg jpeg2k kde latin1 lcms ldap libnotify lm_sensors mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pango pcre pdf perl png posix ppds pppd python qt3support qt4 readline rss samba sdl server session smp spell sqlite sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff transcode truetype type1 unicode usb v4l vcd vorbis wifi wma x264 x86 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid xvmc 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Matthias Herrmann 2010-11-28 13:02:49 UTC
Same error here:

Portage 2.1.9.24 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r12-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-1.12.14
Timestamp of tree: Sun, 28 Nov 2010 09:15:03 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
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.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/openvpn/easy-rsa /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="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j12"
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.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apm bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups cxx dbus dri dts dvd dvdr eds encode evo exif fam ffmpeg firefox flac fontconfig fortran ftp gdbm gdu gif gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hddtemp iconv icq ieee1394 jpeg lcms ldap libnotify lm_sensors mad matroska mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap nautilus ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline samba scanner sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x264 x86 xcb xinerama xml xorg xulrunner xv xvid xvmc 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Robert Tongue 2010-12-01 12:44:01 UTC
I had the same problem and I fixed it by changing the word provide to need. I am not sure you want to completely comment out the requirement. Perhaps the init script could be changed in the ebuild.

(In reply to comment #3)
> (In reply to comment #2)
> > no one has provided `emerge --info` as every bug report is supposed to contain
> > 
> 
> same error. I fix it by commenting "provide net" string in /etc/init.d/dhcpcd
> 
> emerge --info:
> 
> Portage 2.2.0_alpha6 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3,
> 2.6.35-gentoo-r12-HARTNETT i686)
> =================================================================
> System uname:
> Linux-2.6.35-gentoo-r12-HARTNETT-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.14
> Timestamp of tree: Sat, 27 Nov 2010 23:45:02 +0000
> app-shells/bash:     4.1_p7
> dev-java/java-config: 2.1.11-r1
> dev-lang/python:     2.6.5-r3
> dev-util/cmake:      2.8.1-r2
> sys-apps/baselayout: 1.12.14-r1
> sys-apps/sandbox:    2.3-r1
> sys-devel/autoconf:  2.13, 2.65-r1
> sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
> sys-devel/binutils:  2.20.1-r1
> sys-devel/gcc:       4.4.4-r2
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.2.10
> sys-devel/make:      3.81-r2
> virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
> Repositories: gentoo qutim-overlay kde-sunset rion SynCE pinkbyte-repo
> ACCEPT_KEYWORDS="x86"
> ACCEPT_LICENSE="*"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=i686 -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/X11/xkb /usr/share/config
> /usr/share/openvpn/easy-rsa"
> 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/splash /etc/terminfo"
> CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--keep-going"
> FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages
> metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox
> sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
> GENTOO_MIRRORS="ftp://mini-router/Gentoo
> http://mirror.yandex.ru/gentoo-distfiles"
> LANG="ru_RU.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> LINGUAS="ru"
> 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="/var/lib/layman/qutim-overlay /var/lib/layman/kde-sunset
> /var/lib/layman/rion /var/lib/layman/synce /usr/local/portage"
> SYNC="rsync://mini-router/gentoo-portage"
> USE="X a52 aac acl acpi alsa ao aplay arts audiofile bash-completion bluetooth
> branding bzip2 cairo caps cli consolekit cracklib crypt custom-cflags
> custom-cxxflags cxx dbus djvu dri dvd dvdr dvdread enca fbcon flac fortran gif
> gpm hal iconv idn jpeg jpeg2k kde libsamplerate lm_sensors logrotate mmx mmxext
> mng modplug modules mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin
> offensive ogg openal opengl openmp pam pcre png policykit pppd python qt3
> qt3support qt4 readline samba sdl session sndfile sse sse2 ssl svg sysfs syslog
> tcpd tga theora threads tiff timidity truetype tta unicode usb vorbis wavpack
> win32codecs wma x264 x86 xcb xcomposite xinerama xorg xv xvid 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
> 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool
> swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore
> fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
> oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt
> ubx" INPUT_DEVICES="evdev ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru"
> LIRC_DEVICES="serial" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386"
> RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel 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, FFLAGS, INSTALL_MASK, LC_ALL,
> PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS
> 

Comment 7 William Hubbs gentoo-dev 2010-12-01 16:07:06 UTC
(In reply to comment #6)
> I had the same problem and I fixed it by changing the word provide to need. I
> am not sure you want to completely comment out the requirement. Perhaps the
> init script could be changed in the ebuild.

Actually, messing with the init script is not the correct solution. That line should say "provide net".

If you are trying to add the dhcpcd init script to the runlevels, you are setting up to run dhcpcd as a standalone service. If you are running it this way, it takes full control of the interfaces, so you should remove all net.* scripts for interfaces you want dhcpcd to configure from the run levels.

However, the more familiar way, using the net.* scripts, means that you do not need to add the dhcpcd script to any run levels; dhcp will be run by the net.* scripts as needed.

Please report back the results of trying either of these suggestions.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-01 16:15:15 UTC
I don't and never intended to run dhcpcd's init.d script. Just its presence appears to be enough to trigger this warning, and it is only shown during "Caching service dependencies".
Comment 9 William Hubbs gentoo-dev 2010-12-01 17:23:33 UTC
(In reply to comment #8)
> I don't and never intended to run dhcpcd's init.d script. Just its presence
> appears to be enough to trigger this warning, and it is only shown during
> "Caching service dependencies".

Oh ok.

In that case, it is not an issue with dhcpcd per se, but baselayout-1, because this warning does not happen with openrc.

Comment 10 David J Cozatt 2010-12-03 04:08:09 UTC
Came upon this on a new install on x86 and stable. I can confirm and post emerge --info but I think enough has been posted to confirm. 

Openrc appears to have nothing but docs blocking it..Is the workaround safe? It's  red * looks terrible amongst all the green stuff ;-) 
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 01:38:44 UTC
*** Bug 347877 has been marked as a duplicate of this bug. ***
Comment 12 Dale 2010-12-21 23:14:55 UTC
Same here on amd64.  Sort of annoying after a while.  

fireball / # emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r4-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.14
Timestamp of tree: Tue, 21 Dec 2010 00:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
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.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=30"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LANG="en_US"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j6"
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="   "
USE="3dnow 3dnowext X aac acpi alsa amd64 aml auto-hinter automount avahi berkdb bzip2 cairo cddb cdr chroot cleartype cli clucene consolekit corefonts cracklib cups curl cxx dbus dri dvd dvdr emboss encode escreen esd exif fam firefox flac fortran gdbm gdu gif gimp gkrellm gnutls gphoto2 gpm gtk hal hbci hddtemp iconv ipv6 java javascript jbig jpeg jpeg2k justify kde lcms ldap libnotify libwww logrotate loop-aes mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam pango parport pcre pdf perl png policykit ppds ppp pppd python qt3 qt3support qt4 readline sasl sdl seamonkey semantic-desktop session smp spell sse sse2 ssl startup-notification svg sysfs syslog tcl tcpd threads tiff tk truetype type1 udev unicode usb vorbis webkit wma wmf x264 xcb xml xorg xv xvid yahoo zeroconf 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" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

fireball / # 

I hope this helps.

Dale
Comment 13 Fernando (likewhoa) 2010-12-23 23:49:10 UTC
subscribing as this is happening with a fairly recent system on baselayout1.

Portage 2.1.9.26 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r10-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 23 Dec 2010 02:30:21 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="bn brx cy dgo eo eu fa gl gu_IN id kk kn_IN kok ks ku mai mn mni my sa_IN sat sd ta_IN tn uz en ca"
MAKEOPTS="-j8"
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="X acl alsa amd64 atm berkdb bindist branding bzip2 cairo cli cracklib crypt cups cxx dbus dri fbcondecor fortran gdbm gif gnome gpm iconv ipv6 jpeg livecd loop-aes mmx mng modules mudflap multilib ncurses nls nouveau nptl nptlonly opengl openmp pam pcre perl png portaudio pppd python qt3support qt4 readline session socks5 sse sse2 ssl sysfs tcpd tiff truetype unicode usb xorg 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bn brx cy dgo eo eu fa gl gu_IN id kk kn_IN kok ks ku mai mn mni my sa_IN sat sd ta_IN tn uz en ca" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau fbdev glint intel mach64 mga neomagic nv r128 radeon savage tdfx trident vesa via vmware cirrus ast chips i128 imstt s3virge tseng v4l vermilion" XFCE_PLUGINS="menu" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Andreas Thalhammer 2010-12-25 09:59:31 UTC
Same here. I /think/ this first appeared after I had updated dhcpcd, but I'm not 100% sure.
I do not even start any net services in any of the runlevels, neither net.* nor dhcpd or anything depending on it. Thus, it seems to be a baselayout-1 "caching service dependencies" thing...
ARCH="amd64"
Comment 15 Andreas Thalhammer 2010-12-25 10:01:51 UTC
BTW, it happend before (2004!):
https://forums.gentoo.org/viewtopic.php?t=228624
Comment 16 Dale 2010-12-25 10:05:29 UTC
(In reply to comment #14)
> Same here. I /think/ this first appeared after I had updated dhcpcd, but I'm
> not 100% sure.
> I do not even start any net services in any of the runlevels, neither net.* nor
> dhcpd or anything depending on it. Thus, it seems to be a baselayout-1 "caching
> service dependencies" thing...
> ARCH="amd64"
> 


I had recently updated to dhcpcd-5.2.8 as well.  Maybe that is where the problem lies? 
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-25 14:31:55 UTC
(In reply to comment #16)
> I had recently updated to dhcpcd-5.2.8 as well.  Maybe that is where the
> problem lies? 

Yes. See comment #9.

When two init.d scripts have "provide net" then baselayout-1 will complain (but not fail). The cause is known, but the solution proves difficult to implement (either we can get the init.d script to recognise the baselayout version, or much easier, get baselayout-2 stable,).

Maybe this bug report should depend on baselayout-2 going stable (bug #295613).

No need to "analyse" this any further.
Comment 18 William Hubbs gentoo-dev 2010-12-28 15:05:55 UTC
*** Bug 349919 has been marked as a duplicate of this bug. ***
Comment 19 William Hubbs gentoo-dev 2010-12-28 18:59:48 UTC
(In reply to comment #17)
> (In reply to comment #16)
> > I had recently updated to dhcpcd-5.2.8 as well.  Maybe that is where the
> > problem lies? 
> Yes. See comment #9.
> When two init.d scripts have "provide net" then baselayout-1 will complain (but
> not fail). The cause is known, but the solution proves difficult to implement
> (either we can get the init.d script to recognise the baselayout version, or
> much easier, get baselayout-2 stable,).
> Maybe this bug report should depend on baselayout-2 going stable (bug #295613).

If I do that, that means that we will not fix it in baselayout-1, so everyone who is running stable will continue to get this message until we stabilize openrc/baselayout-2, and in that case, I think we can close it as wontfix.

Base-system, is that where we want to go with this bug?

Thanks,

William
Comment 20 Lyall Pearce 2010-12-29 11:08:10 UTC
Any chance of having the offending ebuild detect the version of baselayout during install and 'editing out' the offending line if it's baselayout-1?
Comment 21 SpanKY gentoo-dev 2010-12-29 15:56:56 UTC
if there is a fix available for baselayout-1, we can update it
Comment 22 genbug 2010-12-31 01:08:37 UTC
this may not be as "trivial" as it is being flagged. 

k3b needs hald, hald fails to start because consolekit fails, consolekit fails because I have dhcpcd with a 'needs net' and the baselayout-1 bug as here. 

I need a better solution than emerge -C dhcpcd.

Comment 23 SpanKY gentoo-dev 2010-12-31 01:54:27 UTC
simply delete the init.d script.  it's not terribly useful.
Comment 24 genbug 2011-01-01 15:47:06 UTC
(In reply to comment #23)
> simply delete the init.d script.  it's not terribly useful.
> 

Thanks , I did that and it cleared the boot error about net but consolekit still fails (!!) but with not error messages?

#/etc/init.d/consolekit start
 * Starting ConsoleKit daemon ...                                         [ !! ]

So no hal and hence no k3b. 

:?
Comment 25 genbug 2011-01-01 15:58:23 UTC
OK, putting consolekit in default runlevel , reboot and it does start. 

removing /etc/init,d/dhcpcd is a hack but at least provides a workaround, thanks. 
Comment 26 Sergey Popov gentoo-dev 2011-01-02 08:12:59 UTC
(In reply to comment #25)
> removing /etc/init,d/dhcpcd is a hack but at least provides a workaround,
> thanks. 
> 

There is no need to remove dhcpcd script entirely. At least you need to comment out string "provide net" in this script. This solution is works for me
Comment 27 Toralf Förster gentoo-dev 2011-01-21 10:59:51 UTC
(In reply to comment #26)
> There is no need to remove dhcpcd script entirely. At least you need to comment
> out string "provide net" in this script. This solution is works for me
> 
and I'd prefer that the ebuild itself would do that b/c a lot of /stable/ Gentoo users are affected by this nagging issue.

Comment 28 Norman Shulman 2011-01-21 15:53:59 UTC
Changing "provide net" to "need net" is a simple one-line fix.
Comment 29 Dale 2011-01-21 16:01:14 UTC
(In reply to comment #28)
> Changing "provide net" to "need net" is a simple one-line fix.
> 

So why has the developers not fixed it yet?  It should be a lot easier for the developers to make one change then the change goes out to everyone else.  

I still get this annoying message.  When I do my config updates, I always trust the updated version because I don't edit those.  They should work correctly for the user without the user editing them.  I don't want to have to edit this every time the package gets updated, if I even remember changing it to begin with.  If it is so simple, fix it.  It's just one line. 
Comment 30 William Hubbs gentoo-dev 2011-01-21 16:22:48 UTC
(In reply to comment #29)
> (In reply to comment #28)
> > Changing "provide net" to "need net" is a simple one-line fix.
> > 
> So why has the developers not fixed it yet?  It should be a lot easier for the
> developers to make one change then the change goes out to everyone else.  
> I still get this annoying message.  When I do my config updates, I always trust
> the updated version because I don't edit those.  They should work correctly for
> the user without the user editing them.  I don't want to have to edit this
> every time the package gets updated, if I even remember changing it to begin
> with.  If it is so simple, fix it.  It's just one line. 

The fix suggested here is not the correct fix.

dhcpcd-5.x can be run as a service with openrc and allowed to control all network interfaces itself, without using the net.* scripts. That is why this init script is there. If I change "provide net" to "need net" I will break this init script.

Any change I make to dhcpcd is just a bandaid until something else comes along and triggers the same message in baselayout-1.
Comment 31 William Hubbs gentoo-dev 2011-01-21 16:30:37 UTC
(In reply to comment #30)
> The fix suggested here is not the correct fix.
> dhcpcd-5.x can be run as a service with openrc and allowed to control all
> network interfaces itself, without using the net.* scripts. That is why this
> init script is there. If I change "provide net" to "need net" I will break this
> init script.
> Any change I make to dhcpcd is just a bandaid until something else comes along
> and triggers the same message in baselayout-1.

There is one more thing I forgot to add.

If I make a change in dhcpcd for this, that change would need to be undone as soon as openrc/baselayout-2 hits stable.
Comment 32 Norman Shulman 2011-01-21 21:53:11 UTC
We use RC_NET_STRICT_CHECKING="lo", so dhcpcd can still manage all the ethernet interfaces.

Why wouldn't removing "provide net" work?

What will baselayout-2 do?

Comment 33 William Hubbs gentoo-dev 2011-01-22 00:10:34 UTC
I worked with the base-system team today, and they suggested that I make sure that the init script doesn't run on baselayout-1 systems.

Specifically, Robin Johnson suggested a patch that will test for the presence of openrc.

A new init script will follow on this bug shortly.
Comment 34 William Hubbs gentoo-dev 2011-01-22 01:12:49 UTC
Created attachment 260477 [details]
/etc/init.d/dhcpcd

All,

This is a new dhcpcd init.d script. Please replace the
/etc/init.d/dhcpcd script on your system with this one and let us know
if this gets rid of the message.
Comment 35 Dale 2011-01-22 06:56:27 UTC
(In reply to comment #34)
> Created an attachment (id=260477) [details]
> /etc/init.d/dhcpcd
> 
> All,
> 
> This is a new dhcpcd init.d script. Please replace the
> /etc/init.d/dhcpcd script on your system with this one and let us know
> if this gets rid of the message.
> 

I replaced the bad script with yours and went to single user mode.  At first, it was a bit flakey.  http-replicator would not stop which prevented net.eth0 from stopping then net.lo would not stop either.  So, I figured maybe it was because of the way things were started or some other unexpected behavior.  I rebooted.  I didn't see any error when rebooting tho there was a couple complaints during shutdown.  I then rebooted again, no errors when shutting down or on the reboot.  I guess the original errors had something to do with how some services started.  I couldn't reproduce it anyway.  

This was done on a amd_64 system.  I'll try to test on my old x86 system tomorrow.  Maybe others will test and report as well to confirm it works in the end at least. 

Thumbs up here on this rig. 
Comment 36 William Hubbs gentoo-dev 2011-01-22 21:47:22 UTC
All,

there is another bug related to this. It is not a dependency. I'm just making a note of it here so that everyone following this bug is informed wrt this situation.

See bug #270646 for the progress on coming up with a standard way for init scripts to check to see if they are running under openrc or baselayout-1.
Comment 37 William Hubbs gentoo-dev 2011-01-27 20:36:34 UTC
This is fixed in 5.2.10-r2.