-
Notifications
You must be signed in to change notification settings - Fork 882
Invalid group error #235
Comments
I met a similar problem. But it turned out that it is caused by domain. My laptop joins the domain of my office. When it doesn't connect to the domain, a invalid group error will occurs. |
I am also getting this error at the same place and other places. Here are the log files, I've tried searching everywhere for a solution for this, does anyone have any more insight? Mon Apr 15 15:23:37 -0700 2013 Puppet (err): Unable to set ownership of log file |
It's definitely do with being joined to a Network Account Server (a Windows Domain in my case). @bluesalt and @bitbier have the same cause. Check your primary group: Notice that when you are not connected to the domain, the group name will not resolve in most places. Try an 'ls -l in your ~. You'll see the number not the name, unless connected to the domain. Any ideas of how to get boxen (or it's dependencies) to play nice when the group information is not available? |
I have quite similar issue... my Mac is joined in Windows Domain as well. I try to run script/boxen and I get a lot of errors, but most of them having to do with: Any ideas? |
Figured it out "sorta"... :) It works if I hardcode my user uid (found from Though I haven't yet figured out how I can read the user uid automatically to site.pp without hardcoding it. |
This is probably related to the problems above:
Where |
@aripalo I receive group errors not user errors, but will give a it a try. When you said that you hardcoded your UID in site.pp, what did you mean (which lines & just the UID number or entire name)? A copy of the line(s) would be useful. |
I guess my error is related:
Please help fix it since I couldn't run boxen at home... |
FWIW, my fix was to add my group ID to the /etc/group - then it resolves. Just give it an arbitrary name, and follow the format that is already there, replace the number from your error message. Not sure if I want this as a permanent fix, but it's better then putting it in site.pp imo |
@rtgibbons solution worked for me as well |
@rtgibbons solution worked for me too! I got my group id by running the "id" command. |
thanks worked for me too! |
If I understand correctly, an account set up without a domain uses the 'staff' group, right ? If you set a group in /etc/group when not joined to the domain, won't that cause problems when rejoining the domain ? |
I'm seeing this same issue, but like other @rtgibbons solution fixed it for me. I just added this line to the bottom of my /etc/group file:
Where ##### is the number in your boxen error that looks like this:
So any thoughts on what's the non-hackish way to do this? |
I don't have any experience whatsoever with running Macs in a network domain controlled environment. However, I'd be very interested to see if the solution @dieterdemeyer proposed works for any of you folks: add your user to the If that works, I'll happily add a note to the README documenting this as a solution! |
@dgoodlad I can confirm that adding the user to the |
Supporting machines attached to a network domain is a pretty low priority for me right now, so I am not going to actively pursue it. I'll happily review and merge any PRs submitted that help out on this front (docs, code, whatever), though 😉 For now, I'm going to close this, as the original issue seems to be solved. |
This fixes boxen#235 in a more permanent way
Thanks @rtgibbons, your fix worked for me too. You saved the day! |
This reverts commit 0db3cbc.
FWIW this seems to be a bug in puppet, I've reported it here: https://tickets.puppetlabs.com/browse/PUP-5047 This fix here: lstoll/puppet@53efaff seems to validate it. If I ever get anywhere, I'll open a PR to revert the hack in #581 and bump puppet. |
I'm a bit late to the game, but I'm hitting this now. And FWIW, this is still an issue. Half of our macs are on a windows domain and they fail. So I'm using the hack above, which is a hack, not a fix, so I'm not sure why this is closed. Anyway, what if we just used the user's main group? Thoughts? |
Homebrew just updated ~2 hours ago and I've started getting this error while running boxen. Is this related to #172 ?
More errors:
The text was updated successfully, but these errors were encountered: