Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 07:39:03 -0700 (PDT)
From:      Minas <bigbrother@iapetos.ee.duth.gr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/30958: QUOTA with 0 bytes in quota.user hangs up the system in boot
Message-ID:  <200110011439.f91Ed3W50014@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         30958
>Category:       kern
>Synopsis:       QUOTA with 0 bytes in quota.user hangs up the system in boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 07:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Minas
>Release:        4.4-RELEASE FreeBSD 4.4-RELEASE #1:
>Organization:
DUTH
>Environment:
FreeBSD ikaros.ee.duth.gr 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Thu Sep 27 17:11:36 EEST 2001     root@ikaros.ee.duth.gr:/usr/src/sys/compile/IKAROS_D  i386
>Description:

I disabled in boot time quotacheck. I compiled the kernel with quota support. I 'touch quota.user' on every filesystem. So quota.user had 0 bytes length. I edited fstab to include option with userquota in mount. When the system rebooted, all the initialization scripts where executed and the login prompt appear. When I logged in as root after a couple of seconds the system hang. It din't appear any message on the console or the syslog. The system responding at ping from the network, but the shell didn't respond to any command. I tried to login in ttyv? but the login process hang too. I had to hard reboot the machine. For 4-5 times this was happening, until bypass the quota-on command and I tried a quotacheck on the filesystem. Then the problem had been solved.
>How-To-Repeat:

Enable quotas on the kernel. Touch quota.user. DO NOT do quotacheck (thus quota.user is 0 bytes) and reboot. The machine will hung up after a couple of sec after the booting is complete and the logging prompt appear.
>Fix:

Maybe the quotaon command has to check the file quota.user if it has 0 bytes, and if this is valid it has to do a quotacheck on the filesystem.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110011439.f91Ed3W50014>