Issue #13536 has been updated by Chris Price.

Priority changed from Normal to Urgent

It's fairly likely that this is what is causing the acceptance test failures on 
master right now.  The first order of business, though, is to get the master to 
do a better job of logging errors during startup so that it will be easier to 
diagnose what is going on on the jenkins nodes.  Creating and linking a new 
ticket for that now.
----------------------------------------
Bug #13536: Default rundir now /var/run/puppet and not home dir
https://projects.puppetlabs.com/issues/13536#change-59121

Author: Dominic Cleal
Status: Accepted
Priority: Urgent
Assignee: Chris Price
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