Your message dated Sun, 22 Apr 2007 08:47:32 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#420315: fixed in quota 3.14-8
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: quota
Version: 3.14-7
Severity: normal
I found (and fixed at least on my box) two problems in two Perl scripts shipped
with quota.
I store my user info, including quotas, in LDAP, using the quota.schema
included in the package.
When I tried to use applySystemQuotas.pl (in /usr/share/quota/ldap/) to
actually set those quotas,
it seemed to freeze (the shell command, not the system).
What I found out with ps is that it invoked nano (my $EDITOR) to make temp
aquota.user file.
Killing the script left the console broken (somehow like when you cat a binary).
Killing nano left quotas not applied.
I found that applySystemQuotas.pl tries to use /usr/sbin/edquota_editor as
$equota_editor;
however this file doesn't exist. This second perl script is located in
/usr/share/quota/ldap/.
Here is how I fixed applySystemQuotas.pl :
17:43 [EMAIL PROTECTED] ~/ldap-quota# diff applySystemQuotas.pl
/usr/share/quota/ldap/applySystemQuotas.pl
27c27
< my $edquota_editor = '/usr/share/quota/ldap/edquota_editor';
---
> my $edquota_editor = '/usr/sbin/edquota_editor';
53d52
< my $visual = $ENV{'VISUAL'} if $ENV{'VISUAL'};
55d53
< $ENV{'VISUAL'} = $edquota_editor;
79d76
< $ENV{'VISUAL'} = $visual if $visual;
I added the VISUALs lines because man edquota says it calls $EDITOR or $VISUAL
so just to be sure...
The second problem is about /usr/share/quota/ldap/edquota_editor.
I am a real beginner in Perl, but it seems this script uses outdated
declarations.
Anyhow it fails so there is a problem :)
This is what I had to do to make it run :
17:53 [EMAIL PROTECTED] ~/ldap-quota# diff edquota_editor
/usr/share/quota/ldap/edquota_editor
13c13
< my $qdata = join '', (@_=<FILE>);
---
> $qdata = join '', (@_=<FILE>);
21,25c21
< # local($rv, $line, @line, $i);
< my $rv;
< my $line;
< my @line;
< my $i;
---
> local($rv, $line, @line, $i);
Again, I am no serious dev. nor Debian Guru so I don't expect thoses fixes to
be correct.
But I certainly can tell you that after this, my LDAP quotas get correctly
applied :)
Also, I don't use setSystemQuotas.pl so there might be similar problems with
it, but I didn't check.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-suff (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages quota depends on:
ii debconf 1.5.13 Debian configuration management sy
ii e2fslibs 1.39+1.40-WIP-2006.11.14+dfsg-2 ext2 filesystem libraries
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii libldap2 2.1.30-13.4 OpenLDAP libraries
ii libssl0. 0.9.8e-4 SSL shared libraries
ii libwrap0 7.6.dbs-13 Wietse Venema's TCP wrappers libra
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
quota recommends no packages.
-- debconf information:
quota/mailfrom:
quota/signature:
quota/subject:
* quota/run_warnquota: false
quota/group_message:
quota/cc:
quota/supportemail:
quota/supportphone:
quota/cc_before:
quota/group_signature:
quota/message:
quota/rquota_setquota:
--- End Message ---
--- Begin Message ---
Source: quota
Source-Version: 3.14-8
We believe that the bug you reported is fixed in the latest version of
quota, which is due to be installed in the Debian FTP archive:
quota_3.14-8.diff.gz
to pool/main/q/quota/quota_3.14-8.diff.gz
quota_3.14-8.dsc
to pool/main/q/quota/quota_3.14-8.dsc
quota_3.14-8_i386.deb
to pool/main/q/quota/quota_3.14-8_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Meskes <[EMAIL PROTECTED]> (supplier of updated quota package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 22 Apr 2007 10:07:43 +0200
Source: quota
Binary: quota
Architecture: source i386
Version: 3.14-8
Distribution: unstable
Urgency: low
Maintainer: Michael Meskes <[EMAIL PROTECTED]>
Changed-By: Michael Meskes <[EMAIL PROTECTED]>
Description:
quota - implementation of the disk quota system
Closes: 420315
Changes:
quota (3.14-8) unstable; urgency=low
.
* Fixed ldap scripts, closes: 420315
* Suggests libnet-ldap-perl because ldap-scripts need it.
Files:
de25643bbe9372d9430d35cf77d15173 639 admin optional quota_3.14-8.dsc
049bf072e8519bce717f1f5c9eb9e637 34624 admin optional quota_3.14-8.diff.gz
6f4f3698e745546d019a0a3ed9a3f6e8 465430 admin optional quota_3.14-8_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGKxlGVkEm8inxm9ERApf2AJ9ETK9LubiV4rsxy/DPamXHaR5PdwCeNRTp
z+ElO+lfRu15Ub5uLp/jTPM=
=PhVC
-----END PGP SIGNATURE-----
--- End Message ---