Read http://bugs.gentoo.org/80224 . It's the exact same situation! Started happening after my last sync and world update this weekend. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/net.badiface start 2. script fails for whatever reason 3. /etc/init.d/net.badiface start Actual Results: Absolutely nothing. Expected Results: For the script to actually run again. Removing the link in /var/lib/init.d/failed did the trick. Why that is even being checked, I have no clue.
You didn't post your emerge --info as required for bugs; also, you didn't mention ebuild name at all and no idea what's /etc/init.d/net.badiface either but nothing installs a script like that.
Please paste your emerge --info, your initscripts configuration etc. I resolve the bug as NEEDINFO. Reopen when you have pasted more information. Thank you for your report.
More imagination would have been appreciated. Try unplugging your ethernet cable and restart it. It should fail. Restart it again and the script does absolutely nothing because /var/lib/init.d/failed/net.<iface> exists. emerge --info: Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.30-tuxonice-r6 x86_64) ================================================================= System uname: Linux-2.6.30-tuxonice-r6-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-1.12.13 Timestamp of tree: Thu, 25 Mar 2010 12:00:21 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 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="* -@EULA" 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" 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/splash /etc/terminfo" CXXFLAGS="-O2 -pipe" 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" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 jpeg jpeg2k mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd theora unicode vorbis xinerama xorg 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 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Looks like you should emerge ifplugd or netplug. This is by design. (Also, some imagination does not help when referring to a totally unrelated bug).
(In reply to comment #4) > Looks like you should emerge ifplugd or netplug. This is by design. (Also, some > imagination does not help when referring to a totally unrelated bug). > It's not an ifplugd or netplug problem. This affects any of the init.d scripts. If the script fails, it creates a link in /var/lib/init.d/failed. If such a link exists, the init.d script will NOT DO ANYTHING. Even a "restart" does absolutely nothing. Removing the link manually and doing a [re]start works, but I should not have to remove that link. A restart of the service shouldn't even check to see if it failed previously. Re. imagination: I was referring to the comment about net.badiface not being created by any package. This affects ALL OF MY INIT SCRIPTS!
probably wont be fixed in the face of baselayout-2 ... clean the things out on your system manually
I resolve the bug as WONTFIX. If you still want from us to process the bug, reopen it and I will assign it to the proper team/herd. But you're smart enough :) to fix things yourself(manually as vapier said), for the time being. Baselayout2/openrc will be stabilized in the near future, and I don't know if anyone will spend time to fix something that will be replaced soon. For the record, I tried to reproduce your situation, and failed to do it on initscripts that call start-stop-daemon, which means that maybe(I'm not a base-system expert) this happens to special initscripts which fail on a specific way (such as net scripts, when you cut the physical connection etc.). Thanks again for your report.