+++ This bug was initially created as a clone of Bug #730057 +++
Description of problem:
We are getting this log warning:
quota_nld: Failed to find tty of user 0 to report warning to.
over and over again in our logs on rhel 6.1 + updates
Version-Release number of selected component (if applicable):
this has a small fix provided by you for our use of nss_db
We don't know how to reproduce it, we'd like it to stop or at least be explained.
--- Additional comment from email@example.com on 2011-08-17 13:47:56 GMT ---
I achieve to reproduce it. It's not caused by the patch.
This happens if limits exceeds for user having no interactive session. More precisely if utmp database is missing records for given user.
1. Enable quotas on a file system and set limit for a user.
2. Start quota_nld service.
3. Log in as the user and start a screen session (make sure no other sessions
for that user exist).
4. Run a delayed command that exceeds the limit. E.g:
# sleep 3; dd if=/dev/zero of=file bs=1k count=200
5. Detach from session and log out before the command takes effect (3 seconds
in this example).
You will get the error message in system log because quota_nld daemon could not find a record for the user in /var/log/wtmp.
--- Additional comment from firstname.lastname@example.org on 2011-08-17 15:29:57 GMT ---
Patch submitted to upstream for review (https://sourceforge.net/tracker/?func=detail&aid=3393151&group_id=18136&atid=318136).
--- Additional comment from email@example.com on 2011-08-18 06:04:05 GMT ---
Created attachment 518805 [details]
The patch has been accepted by upstream in slightly more commented form.
All Fedoras affected.
quota-4.00-0.17.pre1.fc16 has been submitted as an update for Fedora 16.
quota-4.00-0.14.pre1.fc15 has been submitted as an update for Fedora 15.
quota-3.17-18.fc14 has been submitted as an update for Fedora 14.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing quota-4.00-0.17.pre1.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
quota-4.00-0.17.pre1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
quota-3.17-18.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
quota-4.00-0.14.pre1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.