Project

General

Profile

Actions

action #11962

closed

Apparmor gets in the way of database upgrade by openqa-webui

Added by RBrownSUSE almost 8 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
-
Start date:
2016-05-13
Due date:
% Done:

0%

Estimated time:

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 :)

Actions #1

Updated by coolo almost 8 years ago

Actions #2

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.

Actions #3

Updated by coolo over 7 years ago

  • Status changed from New to Feedback
  • Assignee changed from oholecek to RBrownSUSE
Actions #4

Updated by coolo over 7 years ago

  • Status changed from Feedback to Rejected

too bad Richard is only adding issues here

Actions

Also available in: Atom PDF