FreeBSD Bugzilla – Attachment 66768 Details for
Bug 98580
a dbus rc script does not support a dynamic /var, specifically the creation of the /var/run/dbus directory.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.20 KB, created by
srwadleigh
on 2006-06-06 08:30:26 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
srwadleigh
Created:
2006-06-06 08:30:26 UTC
Size:
1.20 KB
patch
obsolete
>--- dbus.orig Tue Jun 6 03:09:32 2006 >+++ dbus.new Tue Jun 6 03:09:32 2006 >@@ -21,17 +21,17 @@ > command="/usr/local/bin/dbus-daemon" > pidfile="/var/run/dbus/${name}.pid" > >+start_precmd=${name}_prestart > stop_postcmd=stop_postcmd > >-start_precmd() >+dbus_prestart() > { >- mkdir `dirname ${pidfile}` >/dev/null >- [ $? -eq 0 ] && chmod 751 ${pidfile} >+ mkdir `dirname ${pidfile}` > } > > stop_postcmd() > { >- rm -f $pidfile >+ rm -rf `dirname ${pidfile}` > } > > >> cat dbus.diff >--- dbus.orig Tue Jun 6 03:09:32 2006 >+++ dbus.new Tue Jun 6 03:09:32 2006 >@@ -21,17 +21,17 @@ > command="/usr/local/bin/dbus-daemon" > pidfile="/var/run/dbus/${name}.pid" > >+start_precmd=${name}_prestart > stop_postcmd=stop_postcmd > >-start_precmd() >+dbus_prestart() > { >- mkdir `dirname ${pidfile}` >/dev/null >- [ $? -eq 0 ] && chmod 751 ${pidfile} >+ mkdir `dirname ${pidfile}` > } > > stop_postcmd() > { >- rm -f $pidfile >+ rm -rf `dirname ${pidfile}` > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 98580
: 66768