Debian Bug report logs -
#296722
Add Unix.initgroups
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
Bug#296722; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to Sunny Kalsi <sunnyk@student.unsw.edu.au>:
New Bug report received and forwarded. Copy sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: mldonkey-server
Version: 2.5.28-2
Severity: normal
I've got my shares & temporary directory in a fat32 drive, umask 002 (so
that the group, "disk", gets full access, but others do not).
Unfortunately, this means that the user mldonkey cannot write to the disk. Worse, adding groups to the mldonkey user doesn't fix the problem.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-rc2-mm3
Locale: LANG=en_AU.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Versions of packages mldonkey-server depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii ucf 1.13 Update Configuration File: preserv
ii zlib1g 1:1.2.2-3 compression library - runtime
-- debconf information:
* mldonkey-server/max_hard_download_rate: 24
* mldonkey-server/launch_at_startup: true
mldonkey-server/config_exist_no_options:
* mldonkey-server/plugin: Directconnect, Overnet, Bittorent
* mldonkey-server/mldonkey_group: mldonkey
* mldonkey-server/false_password:
* mldonkey-server/max_hard_upload_rate: 4
* mldonkey-server/password: (password omitted)
* mldonkey-server/max_alive: 666
* mldonkey-server/run_as_user: mldonkey
mldonkey-server/reown_file: false
* mldonkey-server/mldonkey_niceness: 20
* mldonkey-server/config_exist_no_dir:
* mldonkey-server/fasttrack_problem:
mldonkey-server/shared_directories: share
* mldonkey-server/mldonkey_dir: /var/lib/mldonkey
* mldonkey-server/restart_after_upgrade: false
* mldonkey-server/client_name: foobear[ARC]
mldonkey-server/mldonkey_move: false
* mldonkey-server/mldonkey_umask: 0022
Information forwarded to debian-bugs-dist@lists.debian.org, Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
Bug#296722; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>:
Extra info received and forwarded to list. Copy sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>.
(full text, mbox, link).
Message #10 received at 296722@bugs.debian.org (full text, mbox, reply):
Hello,
On Thu, Feb 24, 2005 at 09:08:48PM +1100, Sunny Kalsi wrote:
> Package: mldonkey-server
> Version: 2.5.28-2
> Severity: normal
>
> I've got my shares & temporary directory in a fat32 drive, umask 002 (so
> that the group, "disk", gets full access, but others do not).
> Unfortunately, this means that the user mldonkey cannot write to the disk. Worse, adding groups to the mldonkey user doesn't fix the problem.
>
Yeah, this is a known problem :
- mldonkey start as root
- mldonkey daemonize
- mldonkey changes to user mldonkey:mldonkey
- here comes the problem : mldonkey cannot use all the group of mldonkey
user, only the primary one ( ie mldonkey in standrad install )
The problem comes from ocaml. There is not binding for the function
setgroups. So i cannot set all the group of a user.
The solution :
set the primary group of mldonkey to "disk". This should help you to
circumvent the problem.
Let me know if it works.
Regard
Sylvain Le Gall
Merged 255245 296722.
Request was from "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>
to control@bugs.debian.org.
(full text, mbox, link).
Noted your statement that Bug has been forwarded to caml-bugs@pauillac.inria.fr.
Request was from "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>
to control@bugs.debian.org.
(full text, mbox, link).
Tags added: upstream
Request was from "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>
to control@bugs.debian.org.
(full text, mbox, link).
Changed Bug title.
Request was from "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#296722; Package ocaml.
(full text, mbox, link).
Acknowledgement sent to Julien Cristau <jcristau@liafa.jussieu.fr>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>.
(full text, mbox, link).
Message #25 received at 296722@bugs.debian.org (full text, mbox, reply):
On Thu, Feb 24, 2005 at 22:20:06 +0100, Sylvain LE GALL wrote:
> - mldonkey start as root
> - mldonkey daemonize
> - mldonkey changes to user mldonkey:mldonkey
> - here comes the problem : mldonkey cannot use all the group of mldonkey
> user, only the primary one ( ie mldonkey in standrad install )
>
> The problem comes from ocaml. There is not binding for the function
> setgroups. So i cannot set all the group of a user.
>
Hi,
can't the necessary binding for setgroups() be added to mldonkey or some
library other than the standard Unix lib? I think this would be easy and
provide a workaround for this issue, which wouldn't need an addition to
the standard library (although I agree that setgroups() has its place in
the stdlib, since getgroups() is already there).
Cheers,
Julien Cristau
Information forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#296722; Package ocaml.
(full text, mbox, link).
Acknowledgement sent to "Sylvain Le Gall" <sylvain.le-gall@polytechnique.org>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>.
(full text, mbox, link).
Message #30 received at 296722@bugs.debian.org (full text, mbox, reply):
Hello,
On Thu, Nov 10, 2005 at 06:57:55PM +0100, Julien Cristau wrote:
> On Thu, Feb 24, 2005 at 22:20:06 +0100, Sylvain LE GALL wrote:
>
> > - mldonkey start as root
> > - mldonkey daemonize
> > - mldonkey changes to user mldonkey:mldonkey
> > - here comes the problem : mldonkey cannot use all the group of mldonkey
> > user, only the primary one ( ie mldonkey in standrad install )
> >
> > The problem comes from ocaml. There is not binding for the function
> > setgroups. So i cannot set all the group of a user.
> >
> Hi,
>
> can't the necessary binding for setgroups() be added to mldonkey or some
> library other than the standard Unix lib? I think this would be easy and
> provide a workaround for this issue, which wouldn't need an addition to
> the standard library (although I agree that setgroups() has its place in
> the stdlib, since getgroups() is already there).
>
> Cheers,
> Julien Cristau
>
Well, maybe. But i don't really want to hand write this part, only for
mldonkey_server. If one day, i build a daemonize library for ocaml, i
will use it for mldonkey_server...
If you think it is a real problem, please send me a little patch. For
now, i have only submitted this bug to ocaml BTS.
(i know, i am lazy...)
Kind regard
Sylvain Le Gall
Tags added: fixed-upstream
Request was from bts-link-upstream@lists.alioth.debian.org
to control@bugs.debian.org.
(Sat, 04 Apr 2009 15:45:49 GMT) (full text, mbox, link).
Tags added: fixed-upstream
Request was from bts-link-upstream@lists.alioth.debian.org
to control@bugs.debian.org.
(Sat, 04 Apr 2009 15:45:50 GMT) (full text, mbox, link).
Changed Bug title to 'Add Unix.initgroups' from 'mldonkey-server: cannot add groups ( caml-bugs 3047 )'
Request was from Stéphane Glondu <glondu@debian.org>
to control@bugs.debian.org.
(Sun, 18 Apr 2010 14:24:06 GMT) (full text, mbox, link).
Severity set to 'wishlist' from 'normal'
Request was from Stéphane Glondu <glondu@debian.org>
to control@bugs.debian.org.
(Sun, 18 Apr 2010 14:24:06 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 17 May 2011 07:40:53 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:
Sat Nov 25 03:55:43 2023;
Machine Name:
buxtehude
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.