Debian Bug report logs -
#354214
amule-daemon: unclear error message on EPERM
Reported by: Emanuele Rocca <ema@debian.org>
Date: Fri, 24 Feb 2006 13:04:12 UTC
Severity: minor
Found in version amule-daemon/2.1.0-3
Done: Vollstrecker <amule@vollstreckernet.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Julien Delange <julien@gunnm.org>:
Bug#354214; Package amule-daemon.
(full text, mbox, link).
Acknowledgement sent to Emanuele Rocca <ema@debian.org>:
New Bug report received and forwarded. Copy sent to Julien Delange <julien@gunnm.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: amule-daemon
Version: 2.1.0-3
Severity: grave
Justification: renders package unusable
Executing /etc/init.d/amuled as root the daemon fails to start
without meaningful output.
This is the output of /usr/bin/amuled launched as a normal user
(user with a running amule configuration in ~/.aMule):
aMule Version: aMuled 2.1.0 using wxGTK2 v2.6.1 (Unicoded)
Terminated after throwing an instance of 'CInvalidStateEx'
what(): CRunTimeException::CInvalidStateException: CFile: Cannot get length of closed file.
backtrace:
[2] wxAppTraits::~wxAppTraits() in amuled [0x806f27d]
[3] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.6.so.0[0xb79ef574]
[4] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.6.so.0[0xb79ef5ee]
[5] __gxx_personality_v0 in amuled[0x80691ce]
[6] __libc_start_main in /lib/tls/libc.so.6[0xb774aeb0]
[7] wxAppConsole::Initialize(int&, wchar_t**) in amuled[0x80690f1]
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Versions of packages amule-daemon depends on:
ii amule-common 2.1.0-3 common files for aMule
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii libcrypto++5.2c2a 5.2.1c2a-2 General purpose cryptographic shar
ii libgcc1 1:4.0.2-9 GCC support library
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libreadline5 5.1-6 GNU readline and history libraries
ii libstdc++6 4.0.2-9 The GNU Standard C++ Library v3
ii libwxgtk2.6-0 2.6.1.2 wxWidgets Cross-platform C++ GUI t
ii zlib1g 1:1.2.3-9 compression library - runtime
amule-daemon recommends no packages.
-- no debconf information
ciao,
ema
Information forwarded to debian-bugs-dist@lists.debian.org, Julien Delange <julien@gunnm.org>:
Bug#354214; Package amule-daemon.
(full text, mbox, link).
Acknowledgement sent to Emanuele Rocca <ema@debian.org>:
Extra info received and forwarded to list. Copy sent to Julien Delange <julien@gunnm.org>.
(full text, mbox, link).
Message #10 received at 354214@bugs.debian.org (full text, mbox, reply):
It seems that the problem is caused by wrong permissions on some files in ~/.aMule
-rw-r--r-- 1 root root 5569 2006-02-24 12:56 amule.conf
-rw-r----- 1 ema ema 145780 2006-02-24 12:56 clients.met
-rw-r----- 1 root root 145780 2006-02-24 12:56 clients.met.BAK
-rw-r--r-- 1 ema ema 361 2005-08-24 15:17 cryptkey.dat
-rw-r----- 1 ema ema 5 2006-02-24 12:56 emfriends.met
-rw-r--r-- 1 ema ema 0 2005-12-29 18:55 ipfilter.dat
-rw-r--r-- 1 ema ema 299 2006-02-21 17:54 ipfilter_static.dat
-rw-r----- 1 ema ema 28 2006-02-24 12:56 key_index.dat
-rw-r----- 1 ema ema 38280 2006-02-23 15:28 known2.met
-rw-r----- 1 ema ema 9619 2006-02-24 12:56 known.met
-rw-r--r-- 1 ema ema 12 2006-02-27 16:43 lastversion
-rw-r----- 1 ema ema 12 2006-02-24 12:56 load_index.dat
-rw-r--r-- 1 ema ema 180 2006-02-27 16:43 logfile
-rw------- 1 ema ema 6 2006-02-27 16:43 muleLock
-rw-r----- 1 ema ema 4 2006-02-24 12:56 nodes.dat
-rw-r----- 1 ema ema 17 2006-02-24 12:56 preferences.dat
-rw-r----- 1 ema ema 23 2006-02-24 12:56 preferencesKad.dat
-rw-r----- 1 root root 80842 2006-02-24 12:56 server.met
-rw-r----- 1 ema ema 80842 2006-02-24 12:55 server_met.old
-rw-r--r-- 1 root root 0 2006-02-24 12:56 shareddir.dat
-rw-r----- 1 ema ema 12 2006-02-24 12:56 src_index.dat
I really don't think I've changed them myself.
Changing the ownership of the root:root files fixed the problem.
Note that someone else seems to have a similar problem:
http://bbs.kijiji.com.cn/topic/view/3713.html
Not that it is very informative. :)
Thanks.
ciao,
ema
Information forwarded to debian-bugs-dist@lists.debian.org, Julien Delange <julien@gunnm.org>:
Bug#354214; Package amule-daemon.
(full text, mbox, link).
Acknowledgement sent to "Angel Vidal (Kry)" <kry@amule.org>:
Extra info received and forwarded to list. Copy sent to Julien Delange <julien@gunnm.org>.
(full text, mbox, link).
Message #15 received at 354214@bugs.debian.org (full text, mbox, reply):
You did obviously run aMule with sudo at some point, as aMule can't do
priviledge escalation to change your files to root ownership.
So this should be closed :)
Information forwarded to debian-bugs-dist@lists.debian.org, Julien Delange <julien@gunnm.org>:
Bug#354214; Package amule-daemon.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Julien Delange <julien@gunnm.org>.
(full text, mbox, link).
Message #20 received at 354214@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
severity 354214 minor
retitle 354214 amule-daemon: unclear error message on EPERM
thanks
I think that there's still a bug here that's worth fixing, in that amule
gave a very non-obvious explanation for the failure. But yes, that's not
release-critical, so downgrading.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
[signature.asc (application/pgp-signature, inline)]
Severity set to `minor'.
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Changed Bug title.
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Julien Delange <julien@gunnm.org>:
Bug#354214; Package amule-daemon.
(full text, mbox, link).
Acknowledgement sent to "Angel Vidal (Kry)" <kry@amule.org>:
Extra info received and forwarded to list. Copy sent to Julien Delange <julien@gunnm.org>.
(full text, mbox, link).
Message #29 received at 354214@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
ACK from me.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to amule@vollstreckernet.de:
You have taken responsibility.
(Sat, 02 Jan 2010 15:21:04 GMT) (full text, mbox, link).
Notification sent
to Emanuele Rocca <ema@debian.org>:
Bug acknowledged by developer.
(Sat, 02 Jan 2010 15:21:04 GMT) (full text, mbox, link).
Message #34 received at 354214-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
as this bug is really old, and the submitter didn't react, I just
changed the permissions of the files like in his report. amuled started
and worked. amule.conf was changed back to owner and group of myself. I
don't know how amule did this, because I had to use su to change the
perms of the other files back to myself, too, but this bug can be
considered to be done.
--
MfG usw.
Vollstrecker
registered Linuxuser: 295882
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 31 Jan 2010 07:28:43 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 07:18:02 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.