Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2021-06-10 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-5504  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: `puppet resource service` as non-root on Mac OS X spews errors   
 

  
 
 
 
 

 
 I can't reproduce this using more recent puppet:  
 
 
 
 
 languid-rye:~ bob$ id  
 
 
 uid=1002(bob) gid=1000 groups=1000,12(everyone),61(localaccounts),100(_lpoperator)  
 
 
 languid-rye:~ bob$ puppet resource service  
 
 
 service { 'com.apple.AEServer':  
 
 
   ensure   => 'stopped',  
 
 
   enable   => 'false',  
 
 
   provider => 'launchd',  
 
 
 }  
 
 
 ...
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

 

Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2019-03-29 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5504  
 
 
  `puppet resource service` as non-root on Mac OS X spews errors   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Puppet Romania  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2019-03-29 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5504  
 
 
  `puppet resource service` as non-root on Mac OS X spews errors   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Assignee: 
 Eric Sorenson  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2017-05-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Eric Sorenson 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5504 
 
 
 
  `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Eric Sorenson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2017-05-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5504 
 
 
 
  `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Labels:
 
 triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2017-05-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5504 
 
 
 
  `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2015-11-13 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  PUP-5504 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 
 
I would expect it to refer to a different plist each time. 
The errors are somewhat alarming, when running as non-root you may be unable to access 100+ plists. It might be better to batch them all together somehow. I'm not really sure what would make sense, as there are plenty of services we can't query as non-root. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2015-11-13 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5504 
 
 
 
  `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Sorenson 
 
 
 
 
 
 
 
 
 
 When running {{puppet resource service}} as a non-root user on Mac OS X, I get a spray of error messages. It does eventually complete but the messages are  disturbing  alarming .The output is:{code}[e...@fermium.hsd1.or ~]% puppet resource serviceWarning: Cannot read file /Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist; Puppet is skipping it.Details: Execution of '/usr/bin/plutil -convert xml1 -o /dev/stdout /Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist' returned 1: /Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=257 "The file “com.puppetlabs.operations.puppet.plist” couldn’t be opened because you don’t have permission to view it." UserInfo=0x7fd2bbc14550 {NSFilePath=/Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist, NSUnderlyingError=0x7fd2bbc141b0 "The operation couldn’t be completed. Permission denied"})Warning: Cannot read file /var/db/com.apple.xpc.launchd/disabled.plist; Puppet is skipping it.Details: Execution of '/usr/bin/plutil -convert xml1 -o /dev/stdout /var/db/com.apple.xpc.launchd/disabled.plist' returned 1: /var/db/com.apple.xpc.launchd/disabled.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=257 "The file “disabled.plist” couldn’t be opened because you don’t have permission to view it." UserInfo=0x7fef01c14510 {NSFilePath=/var/db/com.apple.xpc.launchd/disabled.plist, NSUnderlyingError=0x7fef01c14170 "The operation couldn’t be completed. Permission denied"}){code}Then this second error repeats itself with different {{UserInfo}} and {{NSUnderlyingError}} IDs until I kill the process. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 

Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2015-11-13 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5504 
 
 
 
  `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Sorenson 
 
 
 

Summary:
 
 `puppet resource service` as non-root on Mac OS X  causes infinite loop  spews errors 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5504) `puppet resource service` as non-root on Mac OS X spews errors

2015-11-13 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5504 
 
 
 
  `puppet resource service` as non-root on Mac OS X spews errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Sorenson 
 
 
 
 
 
 
 
 
 
 When running {{puppet resource service}} as a non-root user on Mac OS X, I get  an infinite loop (hah, see what I did there?) of errors that requires  a  ^C to break out and kill  spray of error messages. It does eventually complete but  the  process  messages are disturbing .The output is:{code}[e...@fermium.hsd1.or ~]% puppet resource serviceWarning: Cannot read file /Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist; Puppet is skipping it.Details: Execution of '/usr/bin/plutil -convert xml1 -o /dev/stdout /Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist' returned 1: /Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=257 "The file “com.puppetlabs.operations.puppet.plist” couldn’t be opened because you don’t have permission to view it." UserInfo=0x7fd2bbc14550 {NSFilePath=/Library/LaunchDaemons/com.puppetlabs.operations.puppet.plist, NSUnderlyingError=0x7fd2bbc141b0 "The operation couldn’t be completed. Permission denied"})Warning: Cannot read file /var/db/com.apple.xpc.launchd/disabled.plist; Puppet is skipping it.Details: Execution of '/usr/bin/plutil -convert xml1 -o /dev/stdout /var/db/com.apple.xpc.launchd/disabled.plist' returned 1: /var/db/com.apple.xpc.launchd/disabled.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=257 "The file “disabled.plist” couldn’t be opened because you don’t have permission to view it." UserInfo=0x7fef01c14510 {NSFilePath=/var/db/com.apple.xpc.launchd/disabled.plist, NSUnderlyingError=0x7fef01c14170 "The operation couldn’t be completed. Permission denied"}){code}Then this second error repeats itself with different {{UserInfo}} and {{NSUnderlyingError}} IDs until I kill the process. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This mess