History | Log In     View a printable version of the current page.  
HQ 4.0 EE Release is Now Available | HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-1032
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Scott Feldstein
Reporter: Ryan Morgan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Sendmail plugin causes 'Password:' to be echoed to agent terminal

Created: 10/Aug/07 02:36 PM   Updated: 13/Sep/07 11:13 AM
Component/s: Plugins
Affects Version/s: 3.1.1
Fix Version/s: 3.1.1

File Attachments: 1. XML File sendmail-plugin.xml (5 kb)


Last comment: 62 weeks ago
Resolution Date: 14/Aug/07 01:40 PM


 Description  « Hide

This is due to the template assuming that the agent will be able to sudo without a password. My terminal looks like:

[rmorgan@shovel load-test]$ Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Scott Feldstein - 14/Aug/07 01:40 PM
we should start the agent with setsid() and trunc the agent.startup file every now and again to avoid this type of issue in the future.

To test run the sendmail plugin and log into the console to make sure Password: does not pop up.

Scott Feldstein - 15/Aug/07 09:27 AM
to update:

add file to
jboss/default/deploy/hq.ear/hq-plugins/sendmail-plugin.xml
and
agent/pdk/plugins/sendmail-plugin.xml
(restart the agent)

Nipuna Bhayani - 13/Sep/07 11:13 AM
Verified using vmlin-008 and it works fine for release 3.1.1-EE build 484