Code Monkey home page Code Monkey logo

Comments (6)

oetiker avatar oetiker commented on August 18, 2024

maybe it would make sense to create a user specific directory in /tmp and chmod 700 it ... and then point ctl_dir there ...

from smokeping.

moxli avatar moxli commented on August 18, 2024

Works perfectly.
Have you considered adding this one line of code?
I was not able to make the probe work at all without the "fix".

from smokeping.

oetiker avatar oetiker commented on August 18, 2024

I'll be glad to look at any PR you submit :) I do not use the module myself, so testing is a bit difficult for me.

from smokeping.

moxli avatar moxli commented on August 18, 2024

As a temporary solution I just set the ctl_dir to "/tmp/.libnet-openssh-perl".
As you said earlier, it would be better to have a user specific directory in /tmp.
Since /tmp is regularly (usually on boot) cleared I need to check if the directory already exists and if not create it when Smokeping launches.
I am just not sure WHERE the best place to do something like this is?
Can you advice please, I pretty inexperienced...

from smokeping.

oetiker avatar oetiker commented on August 18, 2024

I would do this right before creating the Net::OpenSSH instance ...

from smokeping.

moxli avatar moxli commented on August 18, 2024

I finally was able to get some free time for more testing.
On two fresh installed systems I did not encounter this error.
I rechecked the permissions on our production system and neither /var, /var/lib nor /var/lib/smokeping are writable by other users than smokeping and root.
For now I just added a new probe section on the FAQ page because this looks like an uncommon problem.

from smokeping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.