[3218] in Athena Bugs
[MAILER-DAEMON@ATHENA.MIT.EDU: Returned mail: unknown mailer error 1]
daemon@ATHENA.MIT.EDU (mar@ATHENA.MIT.EDU)
Sun Sep 17 20:02:14 1989
From: <mar@ATHENA.MIT.EDU>
Date: Sun, 17 Sep 89 20:02:00 -0400
To: bugs@ATHENA.MIT.EDU
Date: Fri, 15 Sep 89 20:30:45 EDT
From: Mail Delivery Subsystem <MAILER-DAEMON@ATHENA.MIT.EDU>
Subject: Returned mail: unknown mailer error 1
To: <mar@ATHENA.MIT.EDU>
----- Transcript of session follows -----
Can't connect to discuss server: Unknown host
554 "|/usr/local/dsmail -d /usr/spool/discuss/bugs"@menelaus.LOCAL... unknown mailer error 1
----- Unsent message follows -----
Received: by MENELAUS.MIT.EDU (5.45/4.7) id AA19462; Fri, 15 Sep 89 20:30:45 EDT
From: <mar@ATHENA.MIT.EDU>
Received: by ATHENA.MIT.EDU (5.45/4.7) id AA00304; Fri, 15 Sep 89 14:40:23 EDT
Received: by TOTO.MIT.EDU (5.61/4.7) id AA07578; Fri, 15 Sep 89 14:35:47 -0400
Date: Fri, 15 Sep 89 14:35:47 -0400
Message-Id: <8909151835.AA07578@TOTO.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: ops@ATHENA.MIT.EDU, jnrees@ATHENA.MIT.EDU
Subject: NFS server quota problems
I believe this bug was reported about a year ago, but here it is
again.
The quotactl system call cannot set a quota for a user whose UID is
higher than the highest UID of a user with an existing quota. This is
because in sys/ufs/quota_syscalls.c: sequota(), it attempts to read
the current quota for the user using getdiskquota(), which returns
NULL in this case instead of a record full of zeros.
What this means in real-world terms is that Moira is incapable of
setting quotas for users on a new partition because it uses the
setquota command which tries this system call but fails. The edquota
and quotacheck commands work because they touch the quotas file
directly rather than going through the system call, but this means
that it is dangerous to use those commands on an active filesystem.
A workaround for this is to make sure than user nobody (UID 32766)
gets a small quota set on each new partition.
-Mark