Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 01:32:07 GMT
From:      Justin Stallard <justin@isis.poly.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121772: [patch] audio/musicpd : rc script not run at boot
Message-ID:  <200803170132.m2H1W7i4026174@www.freebsd.org>
Resent-Message-ID: <200803170140.m2H1e02Q010602@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121772
>Category:       ports
>Synopsis:       [patch] audio/musicpd : rc script not run at boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 01:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Justin Stallard
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
FreeBSD jukebox 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Mar 15 16:34:41 UTC 2008
justin@justin:/usr/obj/usr/src/sys/NET4801  i386
>Description:
The rc script included with the port, installed to /usr/local/etc/rc.d/musicpd, 
is not run at boot, despite placing the appropriate entry in /etc/rc.conf. 
Running the script manually, however, does start the service.
>How-To-Repeat:
Install the audio/musicpd port
add 'musicpd_enable="YES"' to /etc/rc.conf
reboot
>Fix:
Patch attached.


Patch attached with submission follows:

--- /old/usr/ports/audio/musicpd/files/musicpd.sh.in	2008-03-16 21:13:47.000000000 +0000
+++ /new/usr/ports/audio/musicpd/files/musicpd.sh.in	2008-03-16 21:14:25.000000000 +0000
@@ -2,8 +2,8 @@
 #
 
 # PROVIDE: musicpd
-# REQUIRE:
-# BEFORE:
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
 # KEYWORD: shutdown
 
 # Add the following line to /etc/rc.conf to enable mpd:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803170132.m2H1W7i4026174>