aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/debiandistro.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-23 12:57:07 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-23 13:14:14 +0200
commit48651cda01095017ddc5e67a2491c02a44027ab5 (patch)
tree5f559321f8353241069de4d964affdbb21af117b /whatmaps/debiandistro.py
parent39f306f1783b47cae11c80ba31c86be677eff226 (diff)
Filter out user@<uid>.servicev0.0.12
since this aborts user sessions otherwise Closes: #833120
Diffstat (limited to 'whatmaps/debiandistro.py')
-rw-r--r--whatmaps/debiandistro.py5
1 files changed, 5 insertions, 0 deletions
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)