Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Hi release-team,

please unblock package gpsd

Lisandro Damián Nicanor Pérez Meyer reported, that it is unnecessary
hard for an admin to enable gpsd to start at boot time (instead
of relying on udev to handle it).

I think this should be fixed for buster.

Patch is attached.

Thanks,

bernd


unblock gpsd/3.17-7

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F
diff --git a/debian/changelog b/debian/changelog
index 16bb69795..4d554b0d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+gpsd (3.17-7) unstable; urgency=medium
+
+  [ Lisandro Damián Nicanor Pérez Meyer ]
+  * [ffb32ff8] Allow gpsd.service to be enabled by the admin at boot time.
+    Be sure to keep it disabled. The admin needs to explicitely start
+    it if needed.
+    Closes: #928681
+
+ -- Bernd Zeimetz <b...@debian.org>  Sat, 25 May 2019 11:55:30 +0200
+
 gpsd (3.17-6) unstable; urgency=medium
 
   * [0a8e4e18] Pull json fixes from upstream to fix a stack-based
diff --git a/debian/patches/full-systemd-support 
b/debian/patches/full-systemd-support
index 4624e110a..0fd20724c 100644
--- a/debian/patches/full-systemd-support
+++ b/debian/patches/full-systemd-support
@@ -1,6 +1,6 @@
 --- a/systemd/gpsd.service
 +++ b/systemd/gpsd.service
-@@ -7,9 +7,7 @@ After=chronyd.service
+@@ -7,8 +7,7 @@ After=chronyd.service
  [Service]
  Type=forking
  EnvironmentFile=-/etc/default/gpsd
@@ -9,5 +9,4 @@
 +ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $DEVICES
  
  [Install]
--WantedBy=multi-user.target
- Also=gpsd.socket
+ WantedBy=multi-user.target
diff --git a/debian/rules b/debian/rules
index e458b9ca1..7e7e5a6fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -190,7 +190,8 @@ binary: install-stamp
        dh_installdocs 
        dh_installman 
        dh_installmenu 
-       dh_systemd_enable -pgpsd
+       dh_installsystemd -pgpsd --restart-after-upgrade gpsdctl@.service 
gpsd.socket
+       dh_installsystemd -pgpsd --no-enable --no-start gpsd.service
        dh_installinit
        dh_systemd_start -pgpsd --restart-after-upgrade
        dh_installexamples 

Reply via email to