<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>110065</bug_id>
          
          <creation_ts>2005-10-21 14:03 0000</creation_ts>
          <short_desc>/etc/init.d/mpd should include &quot;use nfsmount&quot; and &quot;use netmount&quot;</short_desc>
          <delta_ts>2005-10-24 06:44:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>daniel@totalueberwachung.de</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>daniel@totalueberwachung.de</who>
            <bug_when>2005-10-21 14:03:37 0000</bug_when>
            <thetext>I&apos;m running mpd on a computer which mounts the music partition from a different
computer over nfs. I added mpd to my default runlevel so it would automatically
start on boot.
Since the music directory is the nfs directory and mpd is started before
nfsmount mpd fails with the error message &quot;problem stat&apos;ing &quot;/mnt/nfs/audio&quot;.

To work around this we should add the lines
use nfsmount
use netmount
to the depend function.

Reproducible: Always
Steps to Reproduce:
1. emerge mpd an point music_directory to a nfs mount point
2. rc-update add mpd default
3. reboot

Actual Results:  
mpd fails to start because it cannot access the music directory

Expected Results:  
mpd should startup normally - after nfsmount has been started

themisto init.d # emerge info
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1,
2.6.14-rc1 i686)
=================================================================
System uname: 2.6.14-rc1 i686 AMD Athlon(tm) 
Gentoo Base System version 1.12.0_pre8
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer -maccumulate-outgoing-args&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer
-maccumulate-outgoing-args&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect distlocks sandbox sfperms strict
userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/overlays/gentoo-de&quot;
SYNC=&quot;rsync://ftp.rz.tu-bs.de/gentoo-portage&quot;
USE=&quot;x86 3dnow X aalib acl acpi adns alsa avi bash-completion berkdb
bitmap-fonts bonobo cdr crypt cscope cups curl dga divx4linux dvb dvd dvdr
dvdread eds emboss encode esd ethereal fam fbcon flac foomaticdb fortran gdbm
ggi gif gphoto2 gstreamer gtk gtk2 gtkhtml guile hbci icq imagemagick imap imlib
ipv6 java jpeg ldap libcaca libg++ libwww lirc mad mikmod mmx motif mp3 mpeg
mysql nas ncurses nls nptl nvidia offensive ogg oggvorbis opengl oss pam pcre
pdflib perl png python qt quicktime readline samba scanner sdl slang snmp speex
spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs xine xinerama
xml xml2 xmms xosd xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>daniel@totalueberwachung.de</who>
            <bug_when>2005-10-21 14:46:58 0000</bug_when>
            <thetext>Bug 103458 already included netmount. I didn&apos;t initially see that because I
searched for nfs and mpd.
I also use netmount and so this would fix my problem but maybe other users start
nfsmount instead od netmount so I think use nfsmount should still be included.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2005-10-24 06:44:21 0000</bug_when>
            <thetext>Good idea, thanks Daniel. Fixed in CVS for both mpd and mpd-svn packages. No
revision bump was made, so users will have to remerge mpd (or mpd-svn) in order
to get the updated initscript.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>