Package: quota
Version: 3.16-7
Severity: important
in file quotacheck.c line 722 when call to ioctl fails (for example on device
with reiserFS file system
- as I know reiserFS does not support this kind of functionality) value of
ext2_flags will be unchanged
(-1 as initialized), next statement (ext2_flags & EXT2_IMMUTABLE_FL) in this
situation evaluates
to true and try to remove EXT2_IMMUTABLE_FL on device with reiserFS. This will
generate error
"Failed to remove IMMUTABLE flag from quota file".
FIX: statement
"if(ext2_flags & EXT2_IMMUTABLE_FL) {"
should looks like this
"if( ( ext2_flags != -1 ) && (ext2_flags & EXT2_IMMUTABLE_FL) ) {"
OR
variable ext2_flags should be initialized with value 0
With best regards,
W.Michalski
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages quota depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii e2fslibs 1.41.3-1 ext2 filesystem libraries
ii libc6 2.7-18lenny2 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libldap-2.4-2 2.4.11-1+lenny1 OpenLDAP libraries
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
quota recommends no packages.
Versions of packages quota suggests:
pn libnet-ldap-perl <none> (no description available)
ii portmap 6.0-9 RPC port mapper
-- debconf information:
quota/mailfrom:
quota/signature:
quota/subject:
quota/charset:
quota/run_warnquota: false
quota/group_message:
quota/cc:
quota/supportemail:
quota/supportphone:
quota/cc_before:
quota/group_signature:
quota/message:
quota/rquota_setquota:
-----------------------------------------------------------------------------------------------------------------------
Informacja zawarta w tej
wiadomosci jest poufna i objeta tajemnica handlowa przedsiebiorstwa. Wiadomosc
skierowana jest tylko i wylacznie do osoby lub osob wymienionych powyzej.
Niniejszym informuje sie osobe, ktora otrzymala Wiadomosc, a nie jest jej
adresatem, ze kopiowanie lub rozpowszechnianie w jakikolwiek sposob tego
przekazu lub zawartych w nim informacji jest zabronione. Jezeli Wiadomosc
zostala otrzymana przypadkowo przez niewlasciwa osobe jest ona uprzejmie
proszona o natychmiastowe poinformowanie nadawcy i zniszczenie Wiadomosci za
jej/jego zgoda.
-----------------------------------------------------------------------------------------------------------------------
This e-mail message and
its attachments are intended solely for the use of the addressee and may
contain legally privileged and confidential information. If the reader of this
message is not the intended recipient, nor an employee or agent responsible for
delivering this message to the intended recipient, please note that any
dissemination, distribution, copying, or other use of this message or its
attachments is strictly prohibited. If you have received this message in error,
please notify the sender immediately and delete this message.