Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367569 - baselayout2/openrc ignoring net.eth0 script on alpha architecture
Summary: baselayout2/openrc ignoring net.eth0 script on alpha architecture
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: Alpha Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-16 18:43 UTC by Jim Faulkner
Modified: 2011-05-20 17:54 UTC (History)
1 user (show)

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


Attachments
my /etc/rc.conf (etc-rc.conf,5.30 KB, text/plain)
2011-05-19 17:05 UTC, Jim Faulkner
Details
my /etc/conf.d/net (etc-conf.d-net,366 bytes, text/plain)
2011-05-19 17:06 UTC, Jim Faulkner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Faulkner 2011-05-16 18:43:13 UTC
After upgrading my AlphaStation DS10 to baselayout2, the net.eth0 script is completely ignored by the init system.  That's not to say that its failing to start, or that the symlink is missing, or anything like that.  Its just silently ignored:

rc default logging started at Mon May 16 10:27:00 2011

 * Starting syslog-ng ...
 [ ok ]
 * Starting sshd ...
 [ ok ]
 * Starting DenyHosts daemon ...
 [ ok ]
 * Mounting network filesystems ...
 [ ok ]
 * Setting clock via the NTP client 'ntpdate' ...
Name server cannot be used, exiting * Failed to set clock
 [ !! ]
 * ERROR: ntp-client failed to start
 * Starting ntpd ...
 [ ok ]
 * Starting postfix (/etc/postfix) ...
 [ ok ]
 * Starting S.M.A.R.T. monitoring daemon ...
 [ ok ]
 * Starting vixie-cron ...
 [ ok ]
 * Setting up xdm ...
 [ ok ]
 * Starting local

rc default logging stopped at Mon May 16 10:27:15 2011

nonplus ~ # rc-update show | grep net.eth0
             net.eth0 |                        default                
nonplus ~ # ls -l /etc/init.d/net.eth0 /etc/init.d/net.lo
lrwxrwxrwx 1 root root     6 May 16 10:18 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 15459 May 14 16:57 /etc/init.d/net.lo
nonplus ~ #

I've tried removing it and re-adding it with "rc-update del net.eth0 ; rc-update add net.eth0 default" but that changed nothing.

What's even stranger is that it is ignored on shutdown as well, even after I've manually started it with "/etc/init.d/net.eth0 start":

rc boot logging started at Mon May 16 11:40:13 2011

 * Setting system clock using the hardware clock [UTC] ...
 [ ok ]
 * Autoloaded 0 module(s)
 * Checking local filesystems  ...
/dev/sda2: clean, 291847/2220032 files, 975355/8871774 blocks
 [ ok ]
 * Remounting root filesystem read/write ...
 [ ok ]
 * Updating /etc/mtab ...
 [ ok ]
 * Mounting local filesystems ...
 [ ok ]
 * Configuring kernel parameters ...
 [ ok ]
 * Creating user login records ...
 [ ok ]
 * Cleaning /var/run ...
 [ ok ]
 * Wiping /tmp directory ...
 [ ok ]
 * Setting terminal encoding [UTF-8] ...
 [ ok ]
 * Setting console font [default8x16] ...
 [ ok ]
 * Setting hostname to nonplus ...
 [ ok ]
 * Setting keyboard mode [UTF-8] ...
 [ ok ]
 * Loading key mappings [us] ...
 [ ok ]
 * Bringing up interface lo
 *   127.0.0.1/8 ...
 [ ok ]
 *   Adding routes
 *     127.0.0.0/8 via 127.0.0.1 ...
 [ ok ]
 * Mounting NFS filesystem ...
 [ ok ]
 * Activating swap devices ...
 [ ok ]
 * Initializing random number generator ...
 [ ok ]

rc boot logging stopped at Mon May 16 10:27:00 2011


Reproducible: Always




Portage 2.1.9.42 (default/linux/alpha/10.0/desktop, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r5 alpha)
=================================================================
System uname: Linux-2.6.38-gentoo-r5-alpha-EV6-with-gentoo-2.0.2
Timestamp of tree: Mon, 16 May 2011 17:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev6 -mieee -O2 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=ev6 -mieee -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"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
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-overlay"
SYNC="rsync://jove.eng.yale.edu/gentoo-portage"
USE="X a52 aac alpha alsa berkdb branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv inotify ipv6 jpeg kerberos lcms ldap libnotify lzma mad mbox mmap mng modules mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session sharedmem spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="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 en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga vga" 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, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jim Faulkner 2011-05-17 01:19:07 UTC
Oops I posted my default log and my boot log, here's my shutdown log.  Note that this ignores net.eth0 as well even though I started it manually:

rc shutdown logging started at Mon May 16 10:25:35 2011

 * Stopping local
 * Stopping xdm ...
 [ ok ]
 * Stopping vixie-cron ...
 [ ok ]
 * Saving random seed ...
 [ ok ]
 * Deactivating swap devices ...
 [ ok ]
 * Stopping S.M.A.R.T. monitoring daemon ...
 [ ok ]
 * Stopping postfix (/etc/postfix) ...
 [ ok ]
 * Stopping ntpd ...
 [ ok ]
 * Unmounting network filesystems ...
 [ ok ]
 * Stopping DenyHosts daemon ...
 [ ok ]
 * Stopping sshd ...
 [ ok ]
 * Bringing down interface lo
 *   Removing addresses
 * Stopping syslog-ng ...
 [ ok ]
 * Unmounting loop devices
 * Unmounting filesystems
 * Stopping udevd ...
 [ ok ]

rc shutdown logging stopped at Mon May 16 10:25:41 2011
Comment 2 Jim Faulkner 2011-05-18 01:54:59 UTC
FYI, I've upgraded numerous x86_64 machines as well as an x86 machine to baselayout2 and openrc without any problems, or with problems that were easily fixable (like a missing net.eth0 symlink).  I believe I followed the same procedure on my alpha machine as I did with the x86 machines.
Comment 3 William Hubbs gentoo-dev 2011-05-19 14:41:27 UTC
Please attach your /etc/rc.conf and /etc/conf.d/net.
Comment 4 Jim Faulkner 2011-05-19 17:05:45 UTC
Created attachment 273987 [details]
my /etc/rc.conf
Comment 5 Jim Faulkner 2011-05-19 17:06:07 UTC
Created attachment 273989 [details]
my /etc/conf.d/net
Comment 6 Jim Faulkner 2011-05-20 16:34:08 UTC
Nevermind, I now have it working after re-emerging openrc and baselayout2.  No configuration files changed:

rc default logging started at Fri May 20 08:31:02 2011

 * Starting syslog-ng ...
 [ ok ]
 * Bringing up interface eth0
 *   128.36.236.50 ...
 [ ok ]
 *   Adding routes
 *     default via 128.36.236.1 ...
 [ ok ]
 * Starting sshd ...
 [ ok ]
 * Starting DenyHosts daemon ...
 [ ok ]
 * Mounting network filesystems ...
 [ ok ]
 * Setting clock via the NTP client 'ntpdate' ...
 [ ok ]
 * Starting ntpd ...
 [ ok ]
 * Starting postfix (/etc/postfix) ...
 [ ok ]
 * Starting S.M.A.R.T. monitoring daemon ...
 [ ok ]
 * Starting vixie-cron ...
 [ ok ]
 * Setting up xdm ...
 [ ok ]
 * Starting local

rc default logging stopped at Fri May 20 12:31:26 2011
Comment 7 William Hubbs gentoo-dev 2011-05-20 17:54:34 UTC
I am closing this due to comment #6.

However, if it happens again, please feel free to re-open.