#2257 Quota User Won't Update FC2 Kernel 2.6

1.230
closed
5
2005-09-30
2005-09-23
Anonymous
No

Hi,

I was update to webmin 1.230 from version 1.210, and
when i change the quota for a user, this can't update,
and no error appear. I have:

Fedora Core 2 (Kernel 2.6.10-1.771_FC2smp)
Only User Quota enable in /etc/fstab
(/dev/md0 /var ext3
defaults,usrquota 1 2)

Thanks

John

Discussion

  • Jamie Cameron

    Jamie Cameron - 2005-09-24

    Logged In: YES
    user_id=129364

    Could you post the contents of your /etc/fstab and /etc/mtab
    files to this bug report? On my Fedora 2 system, quotas work
    fine ..

     
  • Nobody/Anonymous

    Logged In: NO

    Ok,

    *** /etc/fstab:

    LABEL=/ / ext3 defaults 1 1
    none /dev/pts devpts
    gid=5,mode=620 0 0
    none /dev/shm tmpfs defaults 0
    0
    /dev/md1 /home ext3
    defaults,usrquota 1 2
    none /proc proc defaults 0 0
    none /sys sysfs defaults 0 0
    LABEL=/usr /usr ext3 defaults 1
    2
    /dev/md0 /var ext3
    defaults,usrquota 1 2
    /dev/sdb6 swap swap defaults 0
    0
    /dev/cdrom /mnt/cdrom udf,iso9660
    noauto,owner,kudzu,ro 0 0
    /dev/fd0 /mnt/floppy auto
    noauto,owner,kudzu 0 0

    *** /etc/mtab:

    /dev/sdb1 / ext3 rw 0 0
    none /proc proc rw 0 0
    none /sys sysfs rw 0 0
    none /dev/pts devpts rw,gid=5,mode=620 0 0
    usbfs /proc/bus/usb usbfs rw 0 0
    none /dev/shm tmpfs rw 0 0
    /dev/md1 /home ext3 rw,usrquota 0 0
    /dev/sdb5 /usr ext3 rw 0 0
    /dev/md0 /var ext3 rw,usrquota 0 0
    none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

     
  • jhazin

    jhazin - 2005-09-24

    Logged In: YES
    user_id=1268904

    Hi, I tried on a Fedora Core 4 system with RAID-1 on SATA's
    HD, and i have the same problem, my /etc/fstab
    and /etc/mtab are:

    Kernel 2.6.12-1.1390_FC4

    /etc/fstab:

    /dev/md2 / ext3 defaults 1 1
    /dev/devpts /dev/pts devpts
    gid=5,mode=620 0 0
    /dev/shm /dev/shm tmpfs defaults
    0 0
    /dev/md0 /home ext3
    defaults,usrquota 1 2
    /dev/proc /proc proc defaults 0 0
    /dev/sys /sys sysfs defaults 0 0
    /dev/md1 /usr ext3 defaults 1 2
    /dev/md3 /var ext3
    defaults,usrquota 1 2
    /dev/md4 swap swap defaults 0
    0
    /dev/fd0 /media/floppy auto
    pamconsole,exec,noauto,managed 0 0
    /dev/hda /media/cdrom auto
    pamconsole,exec,noauto,managed 0 0

    ___________________________________________
    /etc/mtab:

    /dev/md2 / ext3 rw 0 0
    /dev/proc /proc proc rw 0 0
    /dev/sys /sys sysfs rw 0 0
    /dev/devpts /dev/pts devpts rw,gid=5,mode=620 0 0
    /dev/shm /dev/shm tmpfs rw 0 0
    /dev/md0 /home ext3 rw,usrquota 0 0
    /dev/md1 /usr ext3 rw 0 0
    /dev/md3 /var ext3 rw,usrquota 0 0
    none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
    automount(pid3682) /net autofs
    rw,fd=4,pgrp=3682,minproto=2,maxproto=4 0 0
    automount(pid3669) /misc autofs
    rw,fd=4,pgrp=3669,minproto=2,maxproto=4 0 0

     
  • Jamie Cameron

    Jamie Cameron - 2005-09-25

    Logged In: YES
    user_id=129364

    Thanks for that information..
    I have another question - if you run the command :
    edquota root
    what exactly does it display in the vi editor that appears?

     
  • Nobody/Anonymous

    Logged In: NO

    Disk quotas for user root (uid 0):
    Filesystem blocks soft hard
    inodes soft hard
    /dev/md1 96 0 0 4
    0 0
    /dev/md0 608540 0 0
    10358 0 0

     
  • Jamie Cameron

    Jamie Cameron - 2005-09-26

    Logged In: YES
    user_id=129364

    Original poster - are either of /var or /dev/md1 symbolic
    links on your system?

     
  • Nobody/Anonymous

    Logged In: NO

    Nop, only the normal from the installation, i have the same
    things before update to webmin 1.230:

    /dev/
    brw-rw---- 1 root disk 9, 0 Feb 23 2004 md0
    brw-rw---- 1 root disk 9, 1 Feb 23 2004 md1

    /
    drwxr-xr-x 28 root root 4.0K Jul 3 13:50 var
    drwxr-xr-x 667 root root 20480 Sep 20 07:41 home

    And:

    *** /etc/fstab:

    LABEL=/ / ext3 defaults
    1 1
    none /dev/pts devpts
    gid=5,mode=620 0 0
    none /dev/shm tmpfs defaults
    0
    0
    /dev/md1 /home ext3
    defaults,usrquota 1 2
    none /proc proc defaults
    0 0
    none /sys sysfs defaults
    0 0
    LABEL=/usr /usr ext3 defaults
    1
    2
    /dev/md0 /var ext3
    defaults,usrquota 1 2
    /dev/sdb6 swap swap defaults
    0
    0
    /dev/cdrom /mnt/cdrom udf,iso9660
    noauto,owner,kudzu,ro 0 0
    /dev/fd0 /mnt/floppy auto
    noauto,owner,kudzu 0 0

    *** /etc/mtab:

    /dev/sdb1 / ext3 rw 0 0
    none /proc proc rw 0 0
    none /sys sysfs rw 0 0
    none /dev/pts devpts rw,gid=5,mode=620 0 0
    usbfs /proc/bus/usb usbfs rw 0 0
    none /dev/shm tmpfs rw 0 0
    /dev/md1 /home ext3 rw,usrquota 0 0
    /dev/sdb5 /usr ext3 rw 0 0
    /dev/md0 /var ext3 rw,usrquota 0 0
    none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

     
  • Jamie Cameron

    Jamie Cameron - 2005-09-27

    Logged In: YES
    user_id=129364

    That all looks OK to me ..so I am surprised that webmin
    isn't working.
    What is the name of the user you are trying to update?
    If you run repquota -a /var does it show the updated quota?

     
  • Nobody/Anonymous

    Logged In: NO

    The user is jhazin, I have more of 200 unix accounts because
    is a emails server, when i edit manually, the quotas works
    fine (edquota -u jhazin), the command repquota -a /var shows:

    Bad number of arguments.
    repquota: Utility for reporting quotas.
    Usage:
    repquota [-vugsi] [-c|C] [-t|n] [-F quotaformat] (-a | mntpoint)
    Bugs to mvw@planets.elm.net, jack@suse.cz

    Whith only -a option shows something like that:
    *** Report for user quotas on device /dev/md1
    Block grace time: 7days; Inode grace time: 7days
    Block limits File limits
    User used soft hard grace used soft hard
    grace
    ----------------------------------------------------------------------
    root -- 52 0 0 4 0 0
    *
    *
    "More Users"
    I tested this points:

    1. Delete and next re-create the aquota.user files
    (/home, /var), and didn't work.

    2. quotaoff, reconfigure the system with no quotas, reboot the
    system, configuring quotas again, reboot system to apply
    changes, quotaon, edit user quota (jhazin) and didn't work.

    3. On Webmin 1.230 i install the quota module V1.220 and
    didn't work.

    4.Go back to webmin 1.220 and works fine.

    I hope this tests will helpful.

     
  • Jamie Cameron

    Jamie Cameron - 2005-09-28

    Logged In: YES
    user_id=129364

    That all looks OK as well..
    How did you install the quota module from Webmin 1.220 into
    1.230 though?
    Also, do you have SElinux enabled? Does disabling it help?

     
  • jhazin

    jhazin - 2005-09-28

    Logged In: YES
    user_id=1268904

    Hi, i delete the quota module v1.230 normally (Webmin --> Webmin
    Configuration ...), the quota.tar.gz V1.220 file, casually i
    was download it one month ago, and this file is was i use
    to install on webmin 1.230 normally. I have disable the
    SELinux in my FC2 system from the installation.

    My last test was install webmin 1.230 on Fedora 4 with
    SELinux disable in my pc with No Logic Raid, and the same
    problem with the v1.230, but v1.220,1210 works fine.

     
  • Jamie Cameron

    Jamie Cameron - 2005-09-29

    Logged In: YES
    user_id=129364

    I think I would need access to a system on which is
    happening in order to debug it. jhazin - email me at
    jcameron@webmin.com if you can provide remote access to
    Webmin for me.

     
  • Jamie Cameron

    Jamie Cameron - 2005-09-30
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2005-09-30

    Logged In: YES
    user_id=129364

    An update to fix this problem is now available from :
    http://www.webmin.com/updates.html

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks