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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code