Bug#792848: cqrlog: fails to remove: invoke-rc.d: unknown initscript, /etc/init.d/apparmor not found.

2015-08-11 Thread Petr Hlozek
Thank you Colin! I use you code and add some more changes. Another problem is after clean install, when the apparmor config file is empty and includes only comment, cqrlog post install script breaks whole apparmor configuration. I have for find better solution than modifying existing file. 73 Pet

Bug#792848: cqrlog: fails to remove: invoke-rc.d: unknown initscript, /etc/init.d/apparmor not found.

2015-08-11 Thread Colin Tuckley
On 11/08/15 17:54, Petr Hlozek wrote: > I don't know how to solve this. The script in post install adds > something to apparmor rules and the apparmor has to be restarted. Yes. The problem seems *not* to be systemd/upstart/init related, it is more that apparmor files exist in /etc even when apparm

Bug#792848: cqrlog: fails to remove: invoke-rc.d: unknown initscript, /etc/init.d/apparmor not found.

2015-08-11 Thread Petr Hlozek
I don't know how to solve this. The script in post install adds something to apparmor rules and the apparmor has to be restarted. New Debian uses systemd but latest Ubuntu LTS still uses upstart. I'd like to keep compatibility with latest LTS version. Maybe there could be two scripts, one for Ubunt

Bug#792848: cqrlog: fails to remove: invoke-rc.d: unknown initscript, /etc/init.d/apparmor not found.

2015-07-19 Thread Andreas Beckmann
Package: cqrlog Version: 1.9.0-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package fails to remove. >From the attached log (scroll to the bottom...): Removing cqrlog (1.9.0-1) ... Changes removed from /etc/apparmo