Comments (7)
Mh this is a very strange issue, what version of java you do have? (java --version
)
and also, what os you are using?
from btcli4j.
Hi @vincenzopalazzo,
I'm using Debian with OpenJDK:
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-post-Debian-1deb10u1)
OpenJDK Server VM (build 11.0.13+8-post-Debian-1deb10u1, mixed mode, sharing)
from btcli4j.
In summary, what is the goal that you want achieve with MemoryDenyWriteExecute?
@vincenzopalazzo it's a generic security measure for systemd units, so I'm just trying to achieve better security for my node I guess.
from btcli4j.
ok I'm back @sha-265.
I opened a talk on Reddit and a person pointed me out the systemd doc that says the following
Note that this option is incompatible with programs and libraries that generate program code dynamically at runtime, including JIT execution engines, executable stacks, and code "trampoline" feature of various C compilers.
You can see more here https://www.reddit.com/r/javahelp/comments/rwto7p/comment/hrefk6f/?utm_source=share&utm_medium=web2x&context=3
doc reference https://www.freedesktop.org/software/systemd/man/systemd.exec.html
I think we can't do-nothings about that.
from btcli4j.
HI @sha-265,
So this error is strange because I'm running the plugin for months on debian with the OpenJDK version, and I don't have this problem.
I read somethings about permission error on linux env https://community.oracle.com/tech/developers/discussion/2077930/cannot-restore-segment-prot-after-reloc-permission-denied and this give me some idea that the problem can be related to the user permission?
Or any idea how to reproduce this problem?
In addition, there is also an OpenJDK issue here https://bugs.openjdk.java.net/browse/JDK-6538311 where several fixes are suggested, but all at os level, do you find these resources helpful?
from btcli4j.
@vincenzopalazzo, are you running c-lightning as systemd unit with MemoryDenyWriteExecute
set to true
? Because this problem occurs only under this condition. If I'm running c-lightning with the plugin and MemoryDenyWriteExecute
set to false
, it's working great.
I think all the issues you mentioned, related to selinux, which I have disabled on my system. As I mentioned the problem related to the systemd's MemoryDenyWriteExecute
setting.
from btcli4j.
HI @sha-265,
Sorry for the delay here. You have right, I'm not using systems and also I don't know how MemoryDenyWriteExecute
works.
I need to make some research before telling what can be the problem, but it looks like that there is some os permission error. The only way to solve this I think is to see if we need to change the way that runs the JVM or compile the jar.
In summary, what is the goal that you want achieve with MemoryDenyWriteExecute
?
from btcli4j.
Related Issues (20)
- Pruning mode crash during block indexing
- bad response to getutxout
- Estimation fee at node startup in pruning mode
- Use matrix to improve the github workflow
- Remove debug message when a block by height in pruning mode is not found.
- Crashing in pruned mode when rpc configured HOT 17
- Simple install only leads to errors HOT 3
- bad sendtransaction from c-lightning
- Autogenerate POM for Github "Used by"
- bitcoind: Support Signet bitcoin network
- bitcoin 0.23 API change
- Fresh install of lightning with fresh install of plugin and plugin install fails HOT 1
- runtime error on local system HOT 3
- bad transaction script in testnet
- bad send transaction
- mempool min fee not met, 363 < 2557
- the btcli4j-proxy-enable need to be btcli4j-proxy-disabled and by default set to flase
- `estimatefees` has changed in CLN version v23.05. HOT 1
- sendtransaction in prune mode return a bad error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btcli4j.