From 48651cda01095017ddc5e67a2491c02a44027ab5 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 23 Sep 2016 12:57:07 +0200 Subject: Filter out user@.service since this aborts user sessions otherwise Closes: #833120 --- whatmaps/debiandistro.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'whatmaps/debiandistro.py') diff --git a/whatmaps/debiandistro.py b/whatmaps/debiandistro.py index bb3f5cb..4fcce54 100644 --- a/whatmaps/debiandistro.py +++ b/whatmaps/debiandistro.py @@ -62,6 +62,11 @@ class DebianDistro(Distro): # Per distro blacklist service_blacklist = set(['kvm', 'qemu-kvm', 'qemu-system-x86']) + # Per distro regex filter + service_blacklist_re = set([ + '^user@[0-9]+.service$', # Restarting systemd user service aborts the session + ]) + @classmethod def pkg(klass, name): return DebianPkg(name) -- cgit v1.2.3