> Sorry, I meant it's the service's job to properly/forcefully stop a
> daemon. I agree that killing processes in postrm is dangerous.

I agree that kill -9 isn't the way to go (it was meant as a rhetoric question), 
but there are still valid reasons why a daemon doesn't get stopped in postrm:
- the daemon could be started manually (for example in debug mode, which needs 
an additional cmdline parameter) and is therefore "invisible" to "systemctl 
stop ntp"
- what about non-daemons, for example firefox? I seriously hope package 
uninstall doesn't even try to stop or kill it ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689585

Title:
  ntp doesn't unload its apparmor profile on purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1689585/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to