General discussion. Use one of the other rooms if appropriate.
People
Repo info
Activity
Marcin Konarski
@AmokHuginnsson
huginn --no-argv
so argv_ is not required
huginn -i gives interactive mode
what precisely did you do to segv?
Ok, I got segv reproduced :(
DennisMitchell
@DennisMitchell
main() { return(0); } without --no-argv segfaults.
Doesn't matter for TIO, but out of curiosity: how do you run Huginn programs as root?
Marcin Konarski
@AmokHuginnsson
Well, you cannot.
DennisMitchell
@DennisMitchell
Why?
Marcin Konarski
@AmokHuginnsson
I do not trust myself enough to allow it :)
I do not want to trash whole system because I made some stupid bug.
DennisMitchell
@DennisMitchell
Understandable, but there are scenarios where this would be perfectly safe (e.g., in a sandbox).
Marcin Konarski
@AmokHuginnsson
yes, unfortunately not everyone is cautious enough to sandbox untrusted programs that would be executed with administrative privileges.
gotta fix that pesky segv
DennisMitchell
@DennisMitchell
Let me know when you have a Fedora 26 RPM. Symlinking libgcrypt.so.20 to libgcrypt.so.11 works well enough for Hello World, but I doubt it's robust.
Marcin Konarski
@AmokHuginnsson
I will.
Marcin Konarski
@AmokHuginnsson
@DennisMitchell Hello. I think I made it. I created new repo for Fedora and I put new instructions on how to use repos from my server. If you could try if it works for you that would be awesome :)
DennisMitchell
@DennisMitchell
OK, I'll take a look tonight.
DennisMitchell
@DennisMitchell
@AmokHuginnsson Installation worked perfectly, but I can't seem run programs within the sandbox. This is the error I'm getting: syscall failure - bailing out: Permission denied
@AmokHuginnsson From my audit logs, it appears that the problem is a call to setrlimit. For security reasons, the sandbox doesn't permit modifying the resource limits.
Marcin Konarski
@AmokHuginnsson
@DennisMitchell By any chance, do you know which limit it is?
and if that resource is limited already?
DennisMitchell
@DennisMitchell
Don't know which limit it is, no. I only see the action, but not the details.
My servers already use rather conservative limits for number of processes, memory usage, file size, etc.
_
Marcin Konarski
@AmokHuginnsson
@DennisMitchell Could you please tell me if you have limit set on all of those resources: data seg size, max memory size, open files, stack size, max user processes, virtual memory?