When the mldonkey server is started using the mldonkey_server program it switchs to
user and group mldonkey but does not show any groups to which the mldonkey user belongs.
This is a problem for me because the files I want to share are on a drive that is
only accessable by group windows and a NFS mount that is only accessable by group mp3s.
Just in case it matters, I did hack the config files by hand a bit so the debconf info in
the message may not be the current configuration.
>From /etc/groups:
<cut>
windows:x:1001:amp,mldonkey
gdm:x:103:
ssh:x:104:
mp3s:x:2000:amp,mldonkey
mldonkey:x:1002:amp
<cut>
/proc/<mlnet's PID>/status:
Name: mlnet
State: S (sleeping)
SleepAVG: 89%
Tgid: 30162
Pid: 30162
PPid: 30155
TracerPid: 0
Uid: 104 104 104 104
Gid: 1002 1002 1002 1002
FDSize: 256
Groups:
VmSize: 141172 kB
VmLck: 0 kB
VmRSS: 136680 kB
VmData: 136440 kB
VmStk: 48 kB
VmExe: 1896 kB
VmLib: 1756 kB
Threads: 1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000015403
CapInh: 00000000ffffffff
CapPrm: 0000000000000000
CapEff: 0000000000000000
Note that the Groups line shows nothing.
if I start mlnet using "cd ~mldonkey/; sudo -u mldonkey mlnet" I get:
Name: mlnet
State: S (sleeping)
SleepAVG: 99%
Tgid: 16046
Pid: 16046
PPid: 1
TracerPid: 0
Uid: 104 104 104 104
Gid: 1002 1002 1002 1002
FDSize: 256
Groups: 1001 1002 2000
VmSize: 17528 kB
VmLck: 0 kB
VmRSS: 15680 kB
VmData: 12792 kB
VmStk: 52 kB
VmExe: 1896 kB
VmLib: 1756 kB
Threads: 1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000004
SigCgt: 0000000000015403
CapInh: 00000000ffffffff
CapPrm: 0000000000000000
CapEff: 0000000000000000
Now groups includes the groups mldonkey belongs.
Thanks
Arthur Peters
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-rc3
Locale: LANG=C, LC_CTYPE=C
Versions of packages mldonkey-server depends on:
ii adduser 3.56 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.28 Debian configuration management sy
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- debconf information:
* mldonkey-server/max_hard_download_rate: 120
* mldonkey-server/launch_at_startup: true
mldonkey-server/config_exist_no_options:
* mldonkey-server/max_alive: 26
* mldonkey-server/run_as_user: mldonkey
* mldonkey-server/plugin: Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella
mldonkey-server/reown_file: false
* mldonkey-server/mldonkey_group: mldonkey
* mldonkey-server/mldonkey_niceness: 8
mldonkey-server/config_exist_no_dir:
mldonkey-server/false_password:
* mldonkey-server/fasttrack_problem:
mldonkey-server/shared_directories: share
* mldonkey-server/mldonkey_dir: /home/mldonkey
* mldonkey-server/client_name: newbie
mldonkey-server/mldonkey_move: false
* mldonkey-server/max_hard_upload_rate: 12
* mldonkey-server/mldonkey_umask: 0002
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
On Sat, Jun 19, 2004 at 01:56:27PM -0500, Arthur Peters wrote:
> Package: mldonkey-server
> Version: 2.5.21-2
> Severity: normal
>
> When the mldonkey server is started using the mldonkey_server program it switchs to
> user and group mldonkey but does not show any groups to which the mldonkey user belongs.
> This is a problem for me because the files I want to share are on a drive that is
> only accessable by group windows and a NFS mount that is only accessable by group mp3s.
>
> Just in case it matters, I did hack the config files by hand a bit so the debconf info in
> the message may not be the current configuration.
>
> >From /etc/groups:
> <cut>
> windows:x:1001:amp,mldonkey
> gdm:x:103:
> ssh:x:104:
> mp3s:x:2000:amp,mldonkey
> mldonkey:x:1002:amp
> <cut>
>
> if I start mlnet using "cd ~mldonkey/; sudo -u mldonkey mlnet" I get:
>
>
Well, you are right, i miss a "setgid" in the code of mldonkey_server...
I will do some tests and see if it solves your problem.
You will need to wait till the next release !
Regard
Sylvain Le Gall