Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271216

Summary: On boot media-sound/mpd-0.14.2 does not start on boot if RC_PARALLEL_STARTUP="yes" in /etc/conf.d/rc
Product: Gentoo Linux Reporter: Mike Nelson <miken700>
Component: New packagesAssignee: Christoph Mende (RETIRED) <angelos>
Status: RESOLVED LATER    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: # rc-update show
# confcat /etc/conf.d/rc
emerge --info

Description Mike Nelson 2009-05-25 16:19:45 UTC
RC_PARALLEL_STARTUP seems to be getting some timings off in parallel startup mode. Get failed to start message upon boot up. Happend every time. Able to start manually everytime after boot (/etc/init.d/mpd start). Setting RC_PARALLEL_STARTUP="no" fixes the issue. Parallel startup was working before for me for some time until a few weeks ago. Not sure what changed that broke it. For now I'm switching back to non-parallel startup to fix this.



Reproducible: Always

Steps to Reproduce:
1. Set RC_PARALLEL_STARTUP="yes" in /etc/conf.d/rc
2. rc-update add mpd default
3. reboot box

Actual Results:  
mpd fails to start on boot

Expected Results:  
mpd should have started properly

# eix -Ie mpd
[I] media-sound/mpd
     Available versions:  0.14.2 ~0.15_beta2 {aac alsa ao audiofile avahi bzip2 cdio cue curl debug doc ffmpeg fifo flac fluidsynth icecast id3 ipv6 jack lame lastfmradio libmms libsamplerate mad mikmod modplug musepack network ogg oss pipe profile pulseaudio sid sqlite unicode vorbis wavpack zeroconf zip}
     Installed versions:  0.14.2(05:37:56 AM 05/22/2009)(aac alsa curl doc ffmpeg flac id3 ipv6 jack mad mikmod ogg unicode vorbis -ao -audiofile -debug -icecast -lame -libsamplerate -musepack -oss -pulseaudio -wavpack -zeroconf)
     Homepage:            http://www.musicpd.org
     Description:         The Music Player Daemon (mpd)
Comment 1 Mike Nelson 2009-05-25 16:23:11 UTC
Created attachment 192420 [details]
# rc-update show
Comment 2 Mike Nelson 2009-05-25 16:23:39 UTC
Created attachment 192422 [details]
# confcat /etc/conf.d/rc
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-05-27 07:52:39 UTC
emerge --info is missing (need to know at least openrc and baselayout version)
Comment 4 Mike Nelson 2009-05-31 14:09:57 UTC
Created attachment 193060 [details]
emerge --info
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-06-01 10:29:02 UTC
I see, baselayout 1 from stable.

Is there any chance you could try this using baselayout 2 and openrc ? It's fairly stable.

Because it won't be long that set is in stable, and there is no point fixing / working around bugs that have already been fixed.
Comment 6 Mike Nelson 2009-06-02 00:15:45 UTC
(In reply to comment #5)
> I see, baselayout 1 from stable.
> 
> Is there any chance you could try this using baselayout 2 and openrc ? It's
> fairly stable.

Migrating to baselayout-2 fixed this (=sys-apps/baselayout-2.0.1).

This could be closed in my opinion. Thanks!
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-06-03 21:40:46 UTC
I'll see tomorrow if we already have openrc/baselayout 2 stable bug and link this to it.. I'm too tired now..

Leave it open for now