Package: gnustep-base-runtime
Version: 1.22.1-4.1
Followup-For: Bug #717773
Control: severity -1 normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

there is an effort running to replace unrar-free with unar, because
unrar-free is unmaintained upstream [1]. In the course of this effort,
it was found that replacing unrar-free with unar would pull in
gnustep-base-runtime and thus autostart the gdomap daemon on some 10000
hosts [2][3].

We do not find that desireable, and I second the request of the original
poster to seperate gdomap in its own package and sugegst it from
gnustep-base-runtime or disable it by default.

Attached is a patch that disables the daemon by default. If there are no
good reasons for running the daemon by default, please apply it!

Cheers,
Nik

[1] https://lists.debian.org/debian-devel/2013/09/msg00480.html
[2] https://lists.debian.org/debian-devel/2013/09/msg00499.html
[3] http://qa.debian.org/popcon.php?package=unrar-free

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

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages gnustep-base-runtime depends on:
ii  gnustep-base-common                    1.22.1-4.1
ii  gnustep-common [gnustep-fslayout-fhs]  2.6.2-2.1
ii  libc6                                  2.17-92+b1
ii  libgcc1                                1:4.8.1-10
ii  libgnustep-base1.22                    1.22.1-4.1
ii  libobjc4                               4.8.1-10
ii  lsb-base                               4.1+Debian12

gnustep-base-runtime recommends no packages.

gnustep-base-runtime suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQJOBAEBCAA4BQJSQqBBMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQt5o8FqDE8paXJxAAk4Yhc2EGfFD1qlub+s4O
v3fFaXSjknIHyezyeHAyrGIjtIaO88QqQoui15vYBie8q4YKxhXKBdEA5Tn47NlQ
MjTFWceBVuRXWa2Mpl3oSmHPps6yA6Wlf6y/pgvSVG9bWjx9eM7ACsguJrg5+Gl5
4Zb4Ygn7tCgyZdXTCJjokdyIyzSj2aCSp9Mdo2DIy8s1wsZw15R+xv8qvye3PIRA
yTs9QDELpxM03VeZHQ1jnYUXCfr27uZq77/wDSueb6Y+kFxvcpaSF9xqltgxFNcB
1QWJP2OipxrovvJvk65gVo9e6Wyzq16J8IN19Ryg4E2TPkaMEYVUChVamFtHcJP6
dYHtuU8Qwxo4n6PkkTIUrt8tHwNqZiLTohoFBxi0dHQG/nCHSgtJQP1mgKIdvh8u
GSVbHtD7l+7zhYYIqTzUuyKX2lnN1PNlxSdKkhvHlfNyJvK2L5epKQG+S83FWAd5
dZpoSReQ2qOlxYH5Eee9x/9qhCjnSnjoaDQp3Ken1r/xuC/uwD8DU4wyLsLzTxTp
zMXNSZ+hQU6GNKWywOUvvgivTRDrwHE3TIDm7WGHVFCUF8QvKD1+etXniX0jgwxU
jjb87/4T3G4IB1E3gcLp9KWCFXc7fKzK3U+rp51ohpiZOpobXfVb2DmV5gSn2AOw
YAyTzYBm6QQhYKHiEIb1f08=
=Lbeb
-----END PGP SIGNATURE-----
diff -Naupr gnustep-base-1.22.1.old/debian/gdomap.default gnustep-base-1.22.1/debian/gdomap.default
--- gnustep-base-1.22.1.old/debian/gdomap.default	2013-09-25 10:31:54.879055928 +0200
+++ gnustep-base-1.22.1/debian/gdomap.default	2013-09-25 10:33:28.956471139 +0200
@@ -25,3 +25,4 @@
 # Kill with SIGUSR1 to obtain a dump of all known peers in /tmp/gdomap.dump
 #
 GDOMAP_ARGS="-p"
+RUN_DAEMON="no"
diff -Naupr gnustep-base-1.22.1.old/debian/gnustep-base-runtime.gdomap.in gnustep-base-1.22.1/debian/gnustep-base-runtime.gdomap.in
--- gnustep-base-1.22.1.old/debian/gnustep-base-runtime.gdomap.in	2013-09-25 10:31:54.879055928 +0200
+++ gnustep-base-1.22.1/debian/gnustep-base-runtime.gdomap.in	2013-09-25 10:33:04.476103592 +0200
@@ -20,6 +20,7 @@ DESC="GNUstep distributed object mapper"
 PIDFILE=/var/run/$NAME.pid
 
 GDOMAP_ARGS=
+RUN_DAEMON="no"
 if [ -f /etc/default/gdomap ]; then
     . /etc/default/gdomap
 fi
@@ -28,6 +29,14 @@ fi
 
 case "$1" in
   start)
+	case "$(echo "${RUN_DAEMON}" | tr A-Z a-z)" in
+	  true|1|enabled|on|yes|ok)
+		;;
+	  *)
+		exit 0
+		;;
+	esac
+
 	echo -n "Starting $DESC: "
 	start-stop-daemon --start --oknodo --quiet --exec $DAEMON \
 		-- -I $PIDFILE $GDOMAP_ARGS

Reply via email to