Public bug reported: 2.22 added stricter mediation of sched_setscheduler which requires use of 'process-control' with certain invocations of sched_setsceduler. Testing and code searches for sched_setscheduler showed that this was not an issue for most applications, but after 2.22 was released it was found that qtbase-opensource-src uses sched_setscheduler indirectly as part of QThread::Priority, and QThread::Priority is used extensively under the hood by the libraries to support (at least) QML applications.
The fix is simple, adjust interfaces/seccomp/template.go from this: sched_setscheduler 0 - - back to: sched_setscheduler ** Affects: snapd (Ubuntu) Importance: Critical Assignee: Jamie Strandboge (jdstrand) Status: In Progress ** Changed in: snapd (Ubuntu) Importance: Undecided => Critical ** Changed in: snapd (Ubuntu) Status: New => In Progress ** Changed in: snapd (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661265 Title: [regression] sched_setscheduler denied with Qt/QML applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1661265/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs