[ATrpms-users] mldonkey doesn't start
Axel Thimm
Axel.Thimm at ATrpms.net
Thu Aug 23 20:46:27 CEST 2007
On Sun, Aug 19, 2007 at 07:58:23PM +0200, Christian Schuermann wrote:
> Hi,
>
> I'm facing a bit of a problem here. Just upgraded to Fedora7 (i386) and
> installed mldonkey via yum:
>
> # yum install mldonkey-backend
>
> No problem so far. But when I try to start mldonkey-daemon...
>
> # /etc/init.d/mldonkey start
> Starting mldonkey: [FAILED]
>
> The logfile tells me something about sh:
>
> # cat /var/log/mldonkey.log
> chroot: cannot run command `/bin/sh': No such file or directory
>
> And indeed, /bin/sh is just a symlink to /bin/bash, which is not
> existing (why?)
>
> # ll /var/lib/mldonkey/chroot/bin/
> lrwxrwxrwx 1 mldonkey mldonkey 4 19. Aug 19:53 sh -> bash
> -rwxr-xr-x 1 mldonkey mldonkey 24064 13. Jun 16:06 su
>
> Seen that? Ideas?
It's a known bug that I haven't yet come around to fix by
rebuilding. See the below paths for what needs fixing, and if you like
please bugzilla this, so I remember to do the rebuild in the next
days, thanks!
--- mldonkey.init.in~ 2007-04-01 15:44:16.000000000 +0200
+++ mldonkey.init.in 2007-08-12 13:53:52.000000000 +0200
@@ -26,9 +26,10 @@
for file in "$@"; do
mkdir -m 755 -p $ML_ROOT`dirname $file`
# -R needed for /dev/log (???)
- /bin/cp -pR $file $ML_ROOT$file > /dev/null 2>&1
if test -L "$file"; then
/bin/cp -pRL $file $ML_ROOT$file > /dev/null 2>&1
+ else
+ /bin/cp -pR $file $ML_ROOT$file > /dev/null 2>&1
fi
done
}
@@ -37,7 +38,7 @@
copy_files_aux /etc/localtime /dev/null /dev/log /dev/urandom \
/etc/resolv.conf /etc/hosts \
/@lib@/libnss_files.so.* /@lib@/libnss_dns.so.* \
- /usr/@lib@/mldonkey/mlnet @_x_libraries@/libX11.so.* /bin/sh \
+ /usr/@lib@/mldonkey/mlnet @_x_libraries@/libX11.so.* /bin/sh /bin/bash \
/@lib@/ld-* \
/usr/share/file/* \
/bin/su
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20070823/85e8197d/attachment.bin
More information about the atrpms-users
mailing list