Hi!

I am trying to run puppetmaster in a vanilla ubuntu lxc container.
Upon startup, I get the following error:

/usr/lib/ruby/1.8/puppet/util/pidlock.rb:39:in `initialize':
Permission denied - /var/lib/puppet/run/master.pid (Errno::EACCES)
    from /usr/lib/ruby/1.8/puppet/util/pidlock.rb:39:in `open'
    from /usr/lib/ruby/1.8/puppet/util/pidlock.rb:39:in `lock'
    from /usr/lib/ruby/1.8/puppet/daemon.rb:47:in `create_pidfile'
    from /usr/lib/ruby/1.8/puppet/util.rb:42:in `synchronize_on'
    from /usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
    from /usr/lib/ruby/1.8/puppet/util.rb:42:in `synchronize_on'
    from /usr/lib/ruby/1.8/puppet/daemon.rb:46:in `create_pidfile'
    from /usr/lib/ruby/1.8/puppet/daemon.rb:22:in `daemonize'
    from /usr/lib/ruby/1.8/puppet/application/master.rb:191:in `main'
    from /usr/lib/ruby/1.8/puppet/application/master.rb:144:in `run_command'
    from /usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
    from /usr/lib/ruby/1.8/puppet/application.rb:413:in `hook'
    from /usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
    from /usr/lib/ruby/1.8/puppet/application.rb:404:in `exit_on_fail'
    from /usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
    from /usr/lib/ruby/1.8/puppet/util/command_line.rb:69:in `execute'
    from /usr/bin/puppet:4

Touching /var/lib/puppet/run/master.pid works as root. Starting
puppetmaster in a 'real' ubuntu (same version) works without problem
so this must be lxc-related...? Am I missing some service in the
minimal ubuntu server installation?

Thanks,
Kaj

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to