Tags: +patch
Hi Ralph,
Your problem is a result of the change of the default shell for user
daemon. I missed one of the su calls when I fixed #734719.
As a temporary workaround apply the following patch to
/usr/sbin/distributed-net-config (or edit the script by hand):
I will get a new version, with the fix uploaded in the near future.
James
--- /usr/sbin/distributed-net-config 2008-11-15 00:30:55.000000000 -0500
+++ distributed-net-config 2014-01-12 20:32:36.544600120 -0500
@@ -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"
On Fri, Feb 7, 2014 at 6:35 AM, Ralph J.Mayer <[email protected]>wrote:
> Hi,
>
> i run Debian GNU/Linux jessie/sid fresh installed and still get the same
> error
>
> root@host:~# apt-get install distributed-net
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Suggested packages:
> apmd
> The following NEW packages will be installed:
> distributed-net
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 561 kB of archives.
> After this operation, 1,572 kB of additional disk space will be
> used.
> Get:1 http://ftp.fr.debian.org/debian/ unstable/non-free
> distributed-net amd64 2.9110.519-1 [561 kB]
> Fetched 561 kB in 0s (4,931 kB/s)
> Selecting previously unselected package distributed-net.
> (Reading database ... 31521 files and directories currently
> installed.)
> Preparing to unpack .../distributed-net_2.9110.519-1_amd64.deb ...
> Unpacking distributed-net (2.9110.519-1) ...
> Processing triggers for man-db (2.6.6-1) ...
> Setting up distributed-net (2.9110.519-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 package distributed-net (--configure):
> subprocess installed post-installation script returned error exit
> status 1
> Errors were encountered while processing:
> distributed-net
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> Any hints?
>
>
>
> Best regard
>
> Ralph
>