[Bug 890465] [NEW] init script should cleanup environment

Matthias Pgiulla 890465 at bugs.launchpad.net
Mon Nov 14 23:01:43 UTC 2011


Public bug reported:

The puppet agent init script does not take any attempts to clean or
sanitize the environment.

While it may not be of relevance for puppet itself (at least I haven't
noticed any cases yet), it may differ for programs started under puppet.

If, for example, you just "sudo /etc/init.d/puppet start", programs run
under puppet will have HOME={your_home}. "sudo -i /etc/init.d/..." leads
to other results and is probably consistent with what you get when
upstart takes care of starting the service.

Which variables should be present and how they should best be set is
open to discussion.

** Affects: puppet (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/890465

Title:
  init script should cleanup environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/890465/+subscriptions



More information about the Ubuntu-server-bugs mailing list