[ please leave the bug Cc:ed ] On 2017-07-01 14:43, Colin Tuckley wrote: >> This also fixes another issue that was not noticed before: >> cqrlog cannot be installed in jessie if mysql-server is installed but >> apparmor is not installed. > > Can you take a look at the fix that is in the just-uploaded 2.0.5 > version of cqrlog and see if you think that is good enough.
The restart_apparmor function in tools/cqrlog-apparmor-fix looks good, you should use it in the postrm, too. (postrm does not check whether the initscript is available before calling it) You can skip the check for invoke-rc.d nowadays, just call it directly (it has been essential since ...) and drop the fallback of calling the initscript directly. > Getting the fix into jessie would be good. for jessie, we should make minimal changes only Andreas

