jhonathanc / ps3netsrv

Clone da pasta "ps3netsrv" do projeto "webMAN-MOD" do @aldostools, para torná-lo um projeto separado de forma que possa ser baixado e clonado sem a necessidade de clonar o repositório webMan-MOD todo.
Other
23 stars 1 forks source link

Release binary launch failure: missing dependencies #3

Open NachtRaveVL opened 1 year ago

NachtRaveVL commented 1 year ago

I'm using the latest v22 (stable) of OpenWRT on an XR500 using the latest a15_neon-vfpv4 release binary (as appropriate for the XR500), and am running into a dependency issue upon service launch. Here is the attached logread:

Fri Sep 15 00:42:58 2023 daemon.info ps3netsrv: ps3netsrv will run as user 'root'.
Fri Sep 15 00:42:58 2023 user.err : jail: failed to load the .dynamic section from /usr/bin/ps3netsrv
Fri Sep 15 00:42:58 2023 daemon.err ps3netsrv[18796]: jail: failed to load the .dynamic section from /usr/bin/ps3netsrv
Fri Sep 15 00:42:58 2023 user.err : jail: failed to load dependencies
Fri Sep 15 00:42:58 2023 daemon.err ps3netsrv[18796]: jail: failed to load dependencies

I'm looking around on how to resolve it but it's probably just a missing library. Not quite sure what all libraries I could try loading up to see if it works, or if "jail" is the specific library in question.

NachtRaveVL commented 1 year ago

The plot thickens! I am actually able to run the /usr/bin/ps3netsrv command directly and it runs fine, so that would make me think this is a service configuration issue of some kind? Anyways, at least it isn't a coding/build issue, but just an environment setup issue.

I was able to run it via direct command line and have it be seen on webman/mm/etc., so any advice for how to resolve this might be useful for anyone who encounters this same issue.

jhonathanc commented 1 year ago

I'll check this bug this weekend

NachtRaveVL commented 1 year ago

Thanks so much! I am thinking it's likely in the service script in etc/init.d, since I do have a fine time running it directly via command line or setting up a custom script to run it. Just the init.d script doesn't seem to be working on my environment.

Environment: OpenWrt 22.03.5, r20134-5f15225c1e on Netgear NightHawk XR500 Build: ps3netsrv build 20220813 (using ps3netsrv_arm_cortex-a15_neon-vfpv4)

jhonathanc commented 1 year ago

I tested it but it works. I'm not very skilled with linux, so I always setup it using LUCI, without dealing with init.d script.