bugGNU Accounting Utilities - Bugs: bug #34748, accton violates 'principle of...


bug #34748: accton violates 'principle of least surprise' standard

Submitted by:  Bill McGonigle <bill_mcgonigle>
Submitted on:  Fri 04 Nov 2011 09:03:15 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 04 Nov 2011 09:03:15 PM UTC, original submission:

When turning on process accounting, accton should be silent on success.

Actual results: accton reports, e.g.:

"Turning on process accounting, file set to '/var/account/pacct'.

Expect results: no output

This violates the *nix principle of 'least surprise' - that is silence upon success, no messages to read if there's no need to.

Things like cron jobs expect this kind of behavior and mail output to sysadmins. Most cron jobs generate no output unless the sysadmin needs to look at it, but a job that turns on (or ensures on) process accounting will generate mail every day. We don't want to redirect the output to /dev/null in case there's something we do need to know about.

The current behavior might be appropriate for a [-v,--verbose] flag.

Bill McGonigle <bill_mcgonigle>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bill_mcgonigle (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3