[OpenSIPS-Users] opensips-cli connection problems

Jeff Pyle jeff at ugnd.org
Thu Sep 24 16:19:28 EST 2020


I am not using apparmor.  Not intentionally, anyway.  I see the
libapparmor1 package is installed but that's about it.

# echo FOOBAR >>/tmp/opensips-class4_fifo
bash: /tmp/opensips-class4_fifo: Permission denied

Huh.  Why would root not be able to write to a file with 0666 permissions?
That's weird to me.

Looking back now I'm not sure where I found the "url" type.  If I come
across it again, I'll let you know.  "http" is working great!


- Jeff




On Thu, Sep 24, 2020 at 10:28 AM Liviu Chircu <liviu at opensips.org> wrote:

> On 24.09.2020 17:15, Jeff Pyle wrote:
>
> If I try fifo, I get a permissions problem...
>
> PermissionError: [Errno 13] Permission denied: '/tmp/opensips-class4_fifo'
>
> ...even though:
>
> # ls -lh /tmp/opensips-class4_fifo
> prw-rw-rw- 1 opensips opensips 0 Sep 24 10:05 /tmp/opensips-class4_fifo
>
> I don't have a big clue on this one, unfortunately, as it should work
> given your info.  Some hints:
>
> * manually ensure the user you're running opensips-cli with can write to
> the FIFO file, even if it's gibberish.  Example:
>
>     echo FOOBAR >>/tmp/opensips-class4_fifo
>
> * make sure FIFO access isn't blocked by some security layer, such as
> apparmor.  If you're using apparmor, check the logs.
>
> Cheers,
>
> --
> Liviu Chircuwww.twitter.com/liviuchircu | www.opensips-solutions.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200924/fb4a55ad/attachment.html>


More information about the Users mailing list