Package: consolation
Version: 0.0.6-2
Severity: wishlist
Tags: patch

Hi,

please consider applying the attached patch which adds a native systemd
.service file. This allows for better tracking of the daemon when
running under systemd. I also locked down the service a little
(Protect*, PrivateTmp). There is possibly room to lock the service down
even further, but this should be a good start.

Regards,
Michael


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages consolation depends on:
ii  libc6       2.27-3
ii  libevdev2   1.5.9+dfsg-2
ii  libinput10  1.10.7-1
ii  libudev1    238-4
ii  lsb-base    9.20170808

consolation recommends no packages.

consolation suggests no packages.

-- no debconf information
diff -Nru consolation-0.0.6/debian/changelog consolation-0.0.6/debian/changelog
--- consolation-0.0.6/debian/changelog  2018-01-27 22:26:05.000000000 +0100
+++ consolation-0.0.6/debian/changelog  2018-05-26 11:59:39.000000000 +0200
@@ -1,3 +1,11 @@
+consolation (0.0.6-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add systemd service file.
+  * Bump debhelper compat level to 10 for dh-systemd support.
+
+ -- Michael Biebl <bi...@debian.org>  Sat, 26 May 2018 11:59:39 +0200
+
 consolation (0.0.6-2) unstable; urgency=medium
 
   * New upstream release
diff -Nru consolation-0.0.6/debian/compat consolation-0.0.6/debian/compat
--- consolation-0.0.6/debian/compat     2016-08-07 11:44:10.000000000 +0200
+++ consolation-0.0.6/debian/compat     2018-05-26 11:59:37.000000000 +0200
@@ -1 +1 @@
-9
+10
diff -Nru consolation-0.0.6/debian/consolation.service 
consolation-0.0.6/debian/consolation.service
--- consolation-0.0.6/debian/consolation.service        1970-01-01 
01:00:00.000000000 +0100
+++ consolation-0.0.6/debian/consolation.service        2018-05-26 
11:59:21.000000000 +0200
@@ -0,0 +1,13 @@
+[Unit]
+Description=Linux Console Pointer Interface
+Documentation=man:consolation(8)
+
+[Service]
+ExecStart=/usr/sbin/consolation --no-daemon
+
+ProtectSystem=strict
+ProtectHome=yes
+PrivateTmp=yes
+
+[Install]
+WantedBy=multi-user.target
diff -Nru consolation-0.0.6/debian/control consolation-0.0.6/debian/control
--- consolation-0.0.6/debian/control    2017-12-30 10:47:32.000000000 +0100
+++ consolation-0.0.6/debian/control    2018-05-26 11:59:34.000000000 +0200
@@ -2,7 +2,7 @@
 Section: misc
 Priority: optional
 Maintainer: Bill Allombert <ballo...@debian.org>
-Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, libinput-dev, 
libudev-dev, libevdev-dev, help2man
+Build-Depends: debhelper (>= 10), autotools-dev, pkg-config, libinput-dev, 
libudev-dev, libevdev-dev, help2man
 Standards-Version: 4.1.2
 Homepage: https://alioth.debian.org/projects/consolation/
 

Reply via email to