Bug 951243
| Summary: | [RFE] log the remote command results on the machine that runs them | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Grant Gainey <ggainey> |
| Component: | Clients | Assignee: | Grant Gainey <ggainey> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.10 | CC: | adellape, cperry, ggainey, jwest, tao, tkasparek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rhncfg-5.10.46-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 579885 | Environment: | |
| Last Closed: | 2013-08-02 13:02:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 579885 | ||
| Bug Blocks: | 991452 | ||
|
Description
Grant Gainey
2013-04-11 18:36:41 UTC
Implementing this would mean that the output of scripts run as root would end up on the client-machine's drive. There are some security and disk-space issues that come to mind. To give the admin of the client-machine (as possibly separate from the spacewalk-admin that can arrange for remote-cmds to run on the client) more control of the impacts to their machine, propose adding two new settings to /etc/sysconfig/rhn/rhncfg-client.conf : script_log_file = /var/log/rhn/rhncfg-actions.log script_log_file_enable = 1 If script_log_file_enable = 0, we don't log on the client. script_log_file should have 600 perms for root, only. spacewalk commit 9f89d22a515a710ceaadd475a000d3827061c2ae Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE. |