Skip to content

Possible need to retrieve runtime permissions #74

@tsuckow

Description

@tsuckow

The tun interface never comes online on Oreo (Google Pixel)

05-02 07:22:34.006 15404-16405/? E/CjdnsVpnService: Failed to initialize TUN interface
                                                    java.lang.RuntimeException: java.net.SocketTimeoutException: Poll timed out
                                                        at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:472)
                                                        at rx.observables.BlockingObservable.first(BlockingObservable.java:169)
                                                        at berlin.meshnet.cjdns.Cjdroute$Default$2$1.call(Cjdroute.java:240)

This is possibly due to the app not getting certain permissions

05-02 07:22:04.905 16408-16408/? W/cjdroute: type=1400 audit(0.0:25568): avc: denied { read } for name="uuid" dev="proc" ino=6838785 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
05-02 07:22:05.090 870-904/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.SIG_STR flg=0x10 (has extras) } to com.cheekydevs.fiswitch/.utils.SignalReceiver
05-02 07:22:06.928 870-917/? E/NotificationService: Suppressing notification from package by user request.
05-02 07:22:07.908 16408-16408/? I/chatty: uid=10325(berlin.meshnet.cjdns) ./cjdroute identical 3 lines
05-02 07:22:08.908 16408-16408/? W/cjdroute: type=1400 audit(0.0:25572): avc: denied { read } for name="uuid" dev="proc" ino=6838785 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
05-02 07:22:08.917 15404-16411/? I/Default: 1525270928 INFO RandomSeed.c:56 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Failed
05-02 07:22:08.919 15404-16411/? I/Default: 1525270928 INFO RandomSeed.c:64 Seeding random number generator succeeded with [1] sources
05-02 07:22:08.923 15404-16411/? I/Default: 1525270928 INFO LibuvEntropyProvider.c:59 Taking clock samples every [1000]ms for random generator
05-02 07:22:08.924 15404-16411/? I/Default: 1525270928 DEBUG Core.c:384 Getting pre-configuration from client
05-02 07:22:08.924 16408-16408/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16408 (cjdroute), pid 16408 (cjdroute)
05-02 07:22:08.925 15404-16411/? I/Default: 1525270928 DEBUG Pipe.c:231 Pipe [/data/user/0/berlin.meshnet.cjdns/files/cjdns_pipe_259626a7-9a0b-4f86-b42b-63c8dc0e127f] established connection
05-02 07:22:08.937 16415-16415/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16415 (cjdroute-init), pid 16415 (cjdroute-init)
05-02 07:22:08.968 16655-16655/? W/crash_dump64: type=1400 audit(0.0:25573): avc: denied { search } for name="berlin.meshnet.cjdns" dev="sda35" ino=2221346 scontext=u:r:crash_dump:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
05-02 07:22:08.968 16656-16656/? W/crash_dump64: type=1400 audit(0.0:25574): avc: denied { search } for name="berlin.meshnet.cjdns" dev="sda35" ino=2221346 scontext=u:r:crash_dump:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
05-02 07:22:08.974 16655-16655/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-02 07:22:08.974 16656-16656/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-02 07:22:08.968 16655-16655/? W/crash_dump64: type=1400 audit(0.0:25575): avc: denied { search } for name="files" dev="sda35" ino=2221892 scontext=u:r:crash_dump:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
05-02 07:22:08.968 16656-16656/? W/crash_dump64: type=1400 audit(0.0:25576): avc: denied { search } for name="files" dev="sda35" ino=2221892 scontext=u:r:crash_dump:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
05-02 07:22:08.976 739-739/? I//system/bin/tombstoned: received crash request for pid 16408
05-02 07:22:08.979 16655-16655/? I/crash_dump64: performing dump of process 16408 (target tid = 16408)
05-02 07:22:08.979 739-739/? I//system/bin/tombstoned: received crash request for pid 16415
05-02 07:22:08.979 739-739/? I//system/bin/tombstoned: enqueueing crash request for pid 16415
05-02 07:22:08.979 16655-16655/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-02 07:22:08.979 16655-16655/? A/DEBUG: Build fingerprint: 'google/sailfish/sailfish:8.1.0/OPM2.171019.029/4657601:user/release-keys'
05-02 07:22:08.979 16655-16655/? A/DEBUG: Revision: '0'
05-02 07:22:08.979 16655-16655/? A/DEBUG: ABI: 'arm64'
05-02 07:22:08.979 16655-16655/? A/DEBUG: pid: 16408, tid: 16408, name: cjdroute  >>> ./cjdroute <<<
05-02 07:22:08.979 16655-16655/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[...]
05-02 07:22:08.978 16655-16655/? W/crash_dump64: type=1400 audit(0.0:25577): avc: denied { search } for name="berlin.meshnet.cjdns" dev="sda35" ino=2221346 scontext=u:r:crash_dump:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
05-02 07:22:08.983 16655-16655/? A/DEBUG: backtrace:
05-02 07:22:08.983 16655-16655/? A/DEBUG:     #00 pc 000000000001da4c  /system/lib64/libc.so (abort+112)
05-02 07:22:08.983 16655-16655/? A/DEBUG:     #01 pc 0000000000006678  /data/data/berlin.meshnet.cjdns/files/cjdroute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions