happy.neko wrote:carlettod wrote:Hi happy.neco,
there is a problem with my init.d script in debian?
I am avaiable to correct any bugs!!!
Waiting for your comments
CarlettoD
Yes, there is one problem. init.d script runs PS3MS before network initialization completes. More info here
viewtopic.php?f=3&t=14399&start=10#p70356I was unable to fix it with init.d and moved to upstart. But upstart system is not available for Debian and apparently breaks installation.
Any help with init.d will be much appreciated.
Hello,
seems that this is an issue of Debian. For e.g.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609242 but there are users who have the same problem with other demons.
PS3 Media Server is very sensitive because during its startup checks whether the network is up.
Other demons start regardless of whether the network is up (e.g. Transmission-daemon).
This depends probably on which version of Debian is used.
I think that in recent versions (wheezy - testing) the problem is resolved.
My script int.d meets all standards of Debian startup routine.
Debian users can try to solve the problem by replacing the following line of init.d script:
- Code: Select all
# Required-Start: $local_fs $remote_fs $network
with this:
- Code: Select all
# Required-Start: $all
After the replacement is needed to run the following commands:
- Code: Select all
update-rc.d -f ps3mediaserver remove
and
- Code: Select all
update-rc.d ps3mediaserver defaults
Now the startup links will be numbered as 99 instead of 20.
PLEASE NOTE: with number 99 ps3mediaserver waits also for complete startup of graphical environment (if present)All Debian users can try the change.
In Ubuntu the change is not needed because there isn't the bug!
The "Upstart" is not a solution because in Debian it is not yet fully supported and implemented.
Waiting for your test results and opinions
Thanks
Carlo