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

 
 

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

Submitter:  Bill McGonigle <bill_mcgonigle>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-6ae7.
    Corresponding source code