On Thu, 5 Apr 2018 19:08:04 -0400 "William L. Thomson Jr."
<wlt...@obsidian-studios.com> said:

this is totally correct behavior for efreetd. efreetd is run when
efreet_init is called if the process can't connect to an existing efreetd
socket successfully. it's creating a dir for its socket so that multiple
processes can talk to it. it uses XDG_RUNTIME_DIR by default if set, if not
then it'll use /tmp instead for the socket dir. this is not efreetd actually
but ecore_con and it's policy of pugging socket files if not a full path in
RUNTIMEDIR/.ecore/

so - fix your sandbox to not disallow this. limiting your sandbox from
accessing XDG_RUNTIME_DIR is probably a very bad idea, because this is the
standard "xdg" location for any run-time files. sockets or any other
relevant "only around during runtime of a users log in session" files (thus
they are not expected to persist and this dir and it not shared between
users etc.) :)

> I keep running into this, and messes with my EFL app dev. 
> Sometimes I can get around on actual systems. It never occurs
> in my chroot build env. But it almost always occurs on any actual
> system, desktop and laptop. In theory it should happen in the
> chroot but never does. I try with nothing running, no eftreed
> instances, sometimes it works with them. Like E running, or not.
> 
> It only happens with edje_cc. I am not sure if there is some
> environment variable that can be set to get around this issue. If not
> then likely need to address in code. I took a look but did not see
> anything obvious.
> 
> It seems to happen at the end of edje_cc, so something with
> shutdown/finalization, maybe. The edj file does get generated.
> It does not cause edje_cc to fail.
> 
> 
> ERR<22171>:ecore_con lib/ecore_con/ecore_con_local.c:160
> _ecore_con_local_mkpath() could not create parent directory
> '/var/run/user/0/.ecore' of path '/var/run/user/0/.ecore/efreetd/0':
> Permission denied
> 
>  * --------------------------- ACCESS VIOLATION SUMMARY
>    ---------------------------
>  * LOG FILE: "/var/log/sandbox/sandbox-30774.log"
>  *
> VERSION 1.0
> FORMAT: F - Function called
> FORMAT: S - Access Status
> FORMAT: P - Path as passed to function
> FORMAT: A - Absolute Path (not canonical)
> FORMAT: R - Canonical Path
> FORMAT: C - Command Line
> 
> F: mkdir
> S: deny
> P: /var/run/user/0/.ecore
> A: /var/run/user/0/.ecore
> R: /run/user/0/.ecore
> C: /usr/bin/efreetd
>  *
>    
> --------------------------------------------------------------------------------
> 
> /usr/lib64/libeina.so.1
> |      /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/eina/eina_log.c  
>          :
> | 2055 @ eina_log_print_cb_stderr() /usr/lib64/libeina.so.1
> | |      
> /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/eina/eina_log.c         
>   :
> | | 1456 @ eina_log_print_unlocked()
> /usr/lib64/libeina.so.1
> |      /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/eina/eina_log.c  
>          :
> | 2260 @ eina_log_print() /usr/lib64/libecore_con.so.
> | 1| 
> /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/ecore_con/ecore_con_local.c
>     :
> | 1| 171 @ _ecore_con_local_mkpath()
> /usr/lib64/libecore_con.so.
> 1| 
> /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/ecore_con/efl_net_server_unix.c:
> 1| 61 @ _efl_net_server_unix_bind() /usr/lib64/libecore_con.so.
> 1| 1| 
> /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/ecore_con/efl_net_server.eo.c
>   :
> 1| 1| 9 @ efl_net_server_serve()
> /usr/lib64/libecore_ipc.so.
> 1| 
> /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/lib/ecore_ipc/ecore_ipc.c   
>        :
> 1| 511 @ ecore_ipc_server_add() /usr/bin/efreetd
> 1| |    
> /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/bin/efreet/efreetd_ipc.c    
>     :
> 1| | 205 @ ipc_init()
> /usr/bin/efreetd
> |    /usr/src/debug/dev-libs/efl-1.20.7/efl-1.20.7/src/bin/efreet/efreetd.c   
>          :
> | 55 @ main() /lib64/libc.so.6
> | |     
> /usr/src/debug/sys-libs/glibc-2.26-r6/glibc-2.26/csu/../csu/libc-start.c      
>    :
> | | 342 @ __libc_start_main()
> /usr/bin/efreetd
> |                                                              ??/??          
>          :
> | 342 @ _start()
> 
> 
> -- 
> William L. Thomson Jr.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to