ports/121772: [patch] audio/musicpd : rc script not run at boot

Justin Stallard justin at isis.poly.edu
Mon Mar 17 01:40:01 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list