Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.2.12] waagent -configuration-path:/path -start not take effect #764

Closed
yuhuijiang opened this issue Jun 16, 2017 · 1 comment
Closed
Milestone

Comments

@yuhuijiang
Copy link

hi there,
I've ran the command "waagent -configuration-path:/path -start",but the parameter "-configuration-path" not take effect.
This will affect WALA running on RHEL6.x
(Because on RHEL6.x, execute WALA service through "serivce waagent start",it will invoke /etc/init.d/waaget.And in this file,execute WALA through "waagent -start",so this will affect WALA)

below is code in agent.py

220 def start():
221     """
222     Start agent daemon in a background process and set stdout/stderr to
223     /dev/null
224     """
225     devnull = open(os.devnull, 'w')
226     subprocess.Popen([sys.argv[0], '-daemon'], stdout=devnull, stderr=devnull)
@brendandixon
Copy link
Contributor

Addressed by #776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants