Menu

#30 Do not report missing utmp record to syslog

closed-accepted
nobody
None
5
2011-08-17
2011-08-17
No

I got report about messages in syslog:

quota_nld: Failed to find tty of user 0 to report warning to.

that abuse log. After long thinking I concluded the error message is useless (see attached patch for explanation, imagine cron job of a user who is lazy to clean his home), so I propose patch that reports this failure to stderr in foreground mode only (mainly for debugging purposes).

Discussion

  • Petr Písař

    Petr Písař - 2011-08-17

    0001-Do-not-report-missing-utmp-record-to-syslog.patch

     
  • Jan Kara

    Jan Kara - 2011-08-17
    • status: open --> closed-accepted
     
  • Jan Kara

    Jan Kara - 2011-08-17

    Thanks. I've added explanatory comment to the code and committed your patch.

     

Anonymous
Anonymous

Add attachments
Cancel