Issue #13536 has been updated by Jeff Weiss.

Status changed from Accepted to Needs More Information
Assignee changed from Jeff Weiss to Dominic Cleal

Should have tried to repro first. It exhibiting the behavior for me.  Dominic, 
is it still a problem? Can you provide more info?

<code>
<pre>
[jeff@pe-centos6 puppet]$ git log -n 1 --oneline
e465c16 (#7749) Improvements to handling settings, bootstrapping puppet
[jeff@pe-centos6 puppet]$ bin/puppet apply --genconfig | grep "rundir ="
    rundir = /home/jeff/.puppet/var/run
</pre>
</code>
----------------------------------------
Bug #13536: Default rundir now /var/run/puppet and not home dir
https://projects.puppetlabs.com/issues/13536#change-61324

Author: Dominic Cleal
Status: Needs More Information
Priority: Urgent
Assignee: Dominic Cleal
Category: 
Target version: Telly
Affected Puppet version: development
Keywords: 
Branch: 


Since ticket #7749 was merged into master (commit e465c16), the default rundir 
value when running as an unprivileged user has changed to "/var/run/puppet".  
It used to be $vardir/run.

Now:
    $ git co e465c16
    $ puppet apply --genconfig | grep -B 1 "rundir ="
        # Where Puppet PID files are kept.
        rundir = /var/run/puppet

And before:
    $ git co e465c16~1
    $ puppet agent --genconfig | grep -B 2 "rundir ="
        # Where Puppet PID files are kept.
        # The default value is '$vardir/run'.
    rundir = /home/dcleal/.puppet/var/run

This causes errors as it tries to manage these directories while unprivileged:
    err: failed to set mode 755 on /var/run/puppet: Operation not permitted - 
/var/run/puppet
    err: /File[/var/run/puppet]/mode: change from 0755 to 1777 failed: failed 
to set mode 755 on /var/run/puppet: Operation not permitted - /var/run/puppet
    err: Got 2 failure(s) while initializing: failed to set mode 755 on 
/var/run/puppet: Operation not permitted - /var/run/puppet; change from 0755 to 
1777 failed: failed to set mode 755 on /var/run/puppet: Operation not permitted 
- /var/run/puppet



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to