action #11962
closedApparmor gets in the way of database upgrade by openqa-webui
0%
Description
When starting openqa-webui on a freshly patched openQA it tries to upgrade the database
It seems that apparmor gets in the way and prevents access to files required
A valid workaround is to turn off apparmor, but we would probably prefer to fix it :)
Updated by coolo almost 8 years ago
https://github.com/os-autoinst/openQA/commit/7454cbe38758318988a3f9627d4307690231c349 was the only thing required in april. what is new?
Updated by mlin7442 almost 8 years ago
The only DENIED action in my audit is about:
type=SYSCALL msg=audit(1462872592.181:51018): arch=c000003e syscall=72 success=no exit=-13 a0=3 a1=6 a2=7ffc0fab84d0 a3=7ffc0fab82d0 items=0 ppid=22709 pid=22718 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts5 ses=2 comm="openqa" exe="/usr/bin/perl" key=(null)
type=UNKNOWN[1327] msg=audit(1462872592.181:51018): proctitle=2F7573722F62696E2F7065726C002E2F2F7363726970742F6F70656E71610076657273696F6E002D6D0070726F64756374696F6E
type=AVC msg=audit(1462872592.281:51019): apparmor="DENIED" operation="file_lock" profile="/usr/share/openqa/script/openqa" name="/tmp/openqa.EOUW2CjpZ3/db/db.sqlite" pid=22718 comm="openqa" requested_mask="k" denied_mask="k" fsuid=0 ouid=0
didn't seen that before but not sure it's related here though.
Updated by coolo over 7 years ago
- Status changed from New to Feedback
- Assignee changed from oholecek to RBrownSUSE
Updated by coolo over 7 years ago
- Status changed from Feedback to Rejected
too bad Richard is only adding issues here