Your message dated Sat, 18 Jan 2014 18:18:24 +0000
with message-id <e1w4atq-0005xm...@franck.debian.org>
and subject line Bug#734719: fixed in distributed-net 2.9110.519-1
has caused the Debian Bug report #734719,
regarding distributed-net: fails to install due to change in daemon's shell
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 ow...@bugs.debian.org
immediately.)


-- 
734719: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734719
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: distributed-net
Version: 2.9107.516-1
Severity: grave
Tags: patch
User: base-pas...@packages.debian.org
Usertags: shell-fallout

In base-passwd 3.5.30, I changed daemon's shell to /usr/sbin/nologin (a
change that I really should have made about ten years ago).  This has
unfortunately had a bit of collateral damage:

Setting up distributed-net (2.9107.516-1) ...
Configuring the distributed.net client...

Note that when it is run as a daemon (via /etc/init.d/distributed-net),
the output will be redirected to /var/log/distributed-net.log.
You do not need to set up a log file.


[Hit return]

This account is currently not available.
dpkg: error processing distributed-net (--configure):
 subprocess installed post-installation script returned error exit status 1

My apologies for this.  It's fortunately easily fixable:

  * Pass "-s /bin/sh" to "su daemon" to cope with the change of daemon's
    shell in base-passwd 3.5.30.

diff -Nru distributed-net-2.9107.516/debian/distributed-net-config 
distributed-net-2.9107.516/debian/distributed-net-config
--- distributed-net-2.9107.516/debian/distributed-net-config    2008-11-15 
05:30:55.000000000 +0000
+++ distributed-net-2.9107.516/debian/distributed-net-config    2014-01-09 
11:57:29.000000000 +0000
@@ -9,7 +9,7 @@
 echo "[Hit return]"
 read foo
 cd /var/lib/distributed-net
-su daemon -c "/usr/bin/dnetc -ini /etc/distributed-net.conf \
+su daemon -s /bin/sh -c "/usr/bin/dnetc -ini /etc/distributed-net.conf \
                                        -inbase 
/var/lib/distributed-net/buff-in \
                                        -outbase 
/var/lib/distributed-net/buff-out \
                                        -config"
diff -Nru distributed-net-2.9107.516/debian/distributed-net.init 
distributed-net-2.9107.516/debian/distributed-net.init
--- distributed-net-2.9107.516/debian/distributed-net.init      2010-04-09 
04:56:41.000000000 +0100
+++ distributed-net-2.9107.516/debian/distributed-net.init      2014-01-09 
11:57:49.000000000 +0000
@@ -51,7 +51,7 @@
                if start-stop-daemon --quiet --stop --signal 0 --user daemon 
--name dnetc 2>/dev/null; then
                        echo " already running."
                else
-                       su daemon -c "chrt -b 0 $DAEMON $OPTIONS"
+                       su daemon -s /bin/sh -c "chrt -b 0 $DAEMON $OPTIONS"
                        echo "."
                fi
                ;;
@@ -63,7 +63,7 @@
                # dnetc wants to use its own shutdown command, so 
start-stop-deamon
                # is  only used to ckeck for the running process.
                if start-stop-daemon --quiet --stop --signal 0 --user daemon 
--name dnetc 2>/dev/null; then
-                       su daemon -c "$DAEMON $OPTIONS -shutdown" > /dev/null 
2>&1
+                       su daemon -s /bin/sh -c "$DAEMON $OPTIONS -shutdown" > 
/dev/null 2>&1
 
                        # wait for upto 10s for dnetc to stop.
                        WAIT=0
@@ -90,13 +90,13 @@
        reload)
                # if dnetc is running have it HUP itself, otherwise do nothing.
                if start-stop-daemon --quiet --stop --signal 0 --user daemon 
--name dnetc 2>/dev/null; then
-                       su daemon -c "$DAEMON $OPTIONS -restart" 2> /dev/null
+                       su daemon -s /bin/sh -c "$DAEMON $OPTIONS -restart" 2> 
/dev/null
                fi
                ;;
        force-reload)
                # if dnetc is running have it HUP itself, otherwise start it.
                if start-stop-daemon --quiet --stop --signal 0 --user daemon 
--name dnetc 2>/dev/null; then
-                       su daemon -c "$DAEMON $OPTIONS -restart" 2> /dev/null
+                       su daemon -s /bin/sh -c "$DAEMON $OPTIONS -restart" 2> 
/dev/null
                else
                        $0 start
                fi
@@ -104,17 +104,17 @@
        fetch)
                echo -n "distributed.net: Fetching blocks"
                cd /var/lib/distributed-net || exit 1
-               su daemon -c "$DAEMON $OPTIONS -fetch"
+               su daemon -s /bin/sh -c "$DAEMON $OPTIONS -fetch"
                ;;
        flush)
                echo -n "distributed.net: Flushing blocks"
                cd /var/lib/distributed-net || exit 1
-               su daemon -c "$DAEMON $OPTIONS -flush"
+               su daemon -s /bin/sh -c "$DAEMON $OPTIONS -flush"
                ;;
        update)
                echo -n "distributed.net: Updating blocks"
                cd /var/lib/distributed-net || exit 1
-               su daemon -c "$DAEMON $OPTIONS -update"
+               su daemon -s /bin/sh -c "$DAEMON $OPTIONS -update"
                ;;
        *)
                echo "Usage: /etc/init.d/distributed-net 
{start|stop|restart|force-reload|fetch|flush|update}"

Sorry,

-- 
Colin Watson                                       [cjwat...@debian.org]

--- End Message ---
--- Begin Message ---
Source: distributed-net
Source-Version: 2.9110.519-1

We believe that the bug you reported is fixed in the latest version of
distributed-net, which is due to be installed in the Debian FTP archive.

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 734...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James E. Stark <jst...@ieee.org> (supplier of updated distributed-net 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Jan 2014 18:22:36 -0500
Source: distributed-net
Binary: distributed-net
Architecture: source amd64
Version: 2.9110.519-1
Distribution: unstable
Urgency: medium
Maintainer: James E. Stark <jst...@ieee.org>
Changed-By: James E. Stark <jst...@ieee.org>
Description: 
 distributed-net - donate unused CPU cycles - client for distributed.net
Closes: 734719
Changes: 
 distributed-net (2.9110.519-1) unstable; urgency=medium
 .
   [ James E. Stark ]
   * Bump Standards-Version to 3.9.5
       - Add build-arch and build-indep targets to rules, falling through to
         build-stamp since they aren't useful for this package.
   * New upstream version for amd64, armel and i386
   * Apply Colin Watson's patch to the init script, to accommodate the change
     of daemons shell from /bin/sh to /usr/sbin/nologin (Closes: #734719)
 .
   [ tony mancill ]
   * Remove s390 and ia64 from Architectures.
   * Update lintian overrides.
   * Update handling of CHANGES.txt in debian/rules to prevent removal of
     upstream source file during build.
Checksums-Sha1: 
 fb5d39e808f76a05c5ff0be4d8b4e71ca15a8b30 1792 distributed-net_2.9110.519-1.dsc
 bce5f0e1392fcb726503c1bf2260f3f727180cd5 4254946 
distributed-net_2.9110.519.orig.tar.gz
 1787cc87a2d69897b63c8137fc1357f2f4ad76e5 20662 
distributed-net_2.9110.519-1.debian.tar.gz
 5124d3cb17e3c9a4420ed805cf5c48e44d79e5b0 560754 
distributed-net_2.9110.519-1_amd64.deb
Checksums-Sha256: 
 c63fd71bc27e5bed081467fd2d8afd705b8efc4afffda4bffc8ac124af376f49 1792 
distributed-net_2.9110.519-1.dsc
 1326079ff31504f619a1fdc04be71525723c40ee80b08755753bd9ca9375fe33 4254946 
distributed-net_2.9110.519.orig.tar.gz
 a1bb5f859949636fc9adb211fca07ea944324134bd84dff96ff3b9b072744246 20662 
distributed-net_2.9110.519-1.debian.tar.gz
 c5afd74939a36fbd020c8c4c6bc979ac03b8b9828e123ea7c68c8ada531dc013 560754 
distributed-net_2.9110.519-1_amd64.deb
Files: 
 611a037aba27bf33d59adc634c0b72d1 1792 non-free/misc optional 
distributed-net_2.9110.519-1.dsc
 7a2739033c467083f2c343310d582477 4254946 non-free/misc optional 
distributed-net_2.9110.519.orig.tar.gz
 27b5a774e6f4e341f8ff1a2d22202848 20662 non-free/misc optional 
distributed-net_2.9110.519-1.debian.tar.gz
 f12fd68e56f3afd7550513b8a0b9fbad 560754 non-free/misc optional 
distributed-net_2.9110.519-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJS2sQ/AAoJECHSBYmXSz6WLMUP/19hiEMTsd310UxtjK65qgQM
ngPAzFVxxZ0XqlB58LK4r5H4KQ4f0jSbRRDS4JJ1lc67ai43CMPQkSH0UnLwUKf1
ln4Ph8531P+Eh7tX49EE/3lo3YquCpcHz1knD7U9u7XJGTVEazhEtdVb59FhmBw0
3iVBAgHv8W5k4Rf3QdaAkfHFQ7f2XxfhEfJZHN0ST73ii+JH0y7hqokGBYBSyaMn
Xap1amBjd0Fl+1XRQob2o8zVDrBWOOWf/9doHibBkZSrjoVPmhoxttSZQ0VMMxzw
iNnP3EpRL0cRmwoEWsBYajWRA36CUWnh3Z2luVEubA+Mss8DINm52y08j3Zbmrvw
PLcbvgU4OVMnLp4ucT3VT6gAWWqpZqJKDKdm31p7Z8NAO+4sg8rKOzo/OUdvXRV9
sLDTnkLYkb8Ihh8kwfYCusgYtnE8UsZDQ8WYq91r1O/xHKVSdCLV6TPzlRvV0Luh
+0jWqtwDCaE3JHn+80ZZ4b2WgbG4RlB6KFdZsZFph7kbG5s3sw2dUR+SzsdCbteV
ehTWR3iNVularsisAoXHWdsDbJO+N6a8+XDOki7Oyv8g6lYXYDTKxEQ4hKkQ5EZ5
NyeUTaWgBfwQHVsjvPPWl5nwbkJDrvlSZdKDvIuYcasXPXw3KDlrGz81ouvxM8nR
iWKxvxo8LG3ft1boOUWO
=lV0d
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to