Your message dated Wed, 08 Sep 2010 13:03:33 +0000
with message-id <[email protected]>
and subject line Bug#550348: fixed in monopd 0.9.3-4.1
has caused the Debian Bug report #550348,
regarding Uses /bin/su to run the daemon as a different user
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
550348: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550348
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: monopd
Version: 0.9.3-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch

Hi,

The init script currently uses /bin/su to run the daemon as 'nobody'.
This opens a PAM session for the user, which is odd in itself. However,
combined with pam-ck-connector and newer GNOME it means that the
user cannot shutdown without the root password as it believes more than
one user is logged in.

start-stop-daemon has a --chuid option to change the user the daemon
runs as, which is easier and avoids this issue. The attached patch
uses that option, please consider applying it. I have just uploaded
this patch to Ubuntu as the above configuration is our default one,
so the problem affected most that installed monopd.

Thanks,

James
diff -u monopd-0.9.3/debian/monopd.init monopd-0.9.3/debian/monopd.init
--- monopd-0.9.3/debian/monopd.init
+++ monopd-0.9.3/debian/monopd.init
@@ -33,8 +33,7 @@
   start)
 	echo -n "Starting $DESC: "
 	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-		--background --make-pidfile --exec \
-		/bin/su nobody -- -c $DAEMON
+		--background --make-pidfile --chuid nobody --exec $DAEMON
 	echo "$NAME."
 	;;
   stop)
@@ -68,8 +67,7 @@
 	rm -f /var/run/$NAME.pid
 	sleep 1
 	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-		--background --make-pidfile --exec \
-		/bin/su nobody -- -c $DAEMON
+		--background --make-pidfile --chuid nobody --exec $DAEMON
 	echo "$NAME."
 	;;
   *)

--- End Message ---
--- Begin Message ---
Source: monopd
Source-Version: 0.9.3-4.1

We believe that the bug you reported is fixed in the latest version of
monopd, which is due to be installed in the Debian FTP archive:

monopd_0.9.3-4.1.diff.gz
  to main/m/monopd/monopd_0.9.3-4.1.diff.gz
monopd_0.9.3-4.1.dsc
  to main/m/monopd/monopd_0.9.3-4.1.dsc
monopd_0.9.3-4.1_amd64.deb
  to main/m/monopd/monopd_0.9.3-4.1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl <[email protected]> (supplier of updated monopd 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 08 Sep 2010 14:29:02 +0200
Source: monopd
Binary: monopd
Architecture: source amd64
Version: 0.9.3-4.1
Distribution: unstable
Urgency: high
Maintainer: Daniel Schepler <[email protected]>
Changed-By: Alexander Reichle-Schmehl <[email protected]>
Description: 
 monopd     - Monopoly game network server
Closes: 550348 594603
Changes: 
 monopd (0.9.3-4.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Fix init script (Closes: #550348, #594603)
   * Urgency high due to RC bug fix
Checksums-Sha1: 
 63d0c23e9959225c9d35bcd8ac536e20630ac5bc 1027 monopd_0.9.3-4.1.dsc
 d36af4495f5f3d0415003bc685ff21b59fafbb47 4222 monopd_0.9.3-4.1.diff.gz
 1ce6cdf0f08f94f5c02e47bf71b78b0c4533c76d 164620 monopd_0.9.3-4.1_amd64.deb
Checksums-Sha256: 
 a9bc7f41414f9d068211d4f6c2d34954e12b30afc85baf5eb6fc090201416977 1027 
monopd_0.9.3-4.1.dsc
 79170fe2565a8bc5bfb4f3877e3c1846bf62231e62819722b290ab749a764ca5 4222 
monopd_0.9.3-4.1.diff.gz
 0ccf98d1ded006f0d9775bb0bb23072f2439787d12a4ad23a403e52525a9c60a 164620 
monopd_0.9.3-4.1_amd64.deb
Files: 
 83fa0f4032297f87cd2c87d976f119be 1027 games optional monopd_0.9.3-4.1.dsc
 f13cb626682302b2de680bd6f8bcdb36 4222 games optional monopd_0.9.3-4.1.diff.gz
 bdcb90790c9211e7906397d0e7b9d663 164620 games optional 
monopd_0.9.3-4.1_amd64.deb

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

iEYEARECAAYFAkyHg3QACgkQBxd04ADYzRZLrQCgnOVonwvqefhCXctiBmzCChZR
nYkAn26yZIQWi6UwPgzx6nCYjTLycvDS
=lQDp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to