Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-21-2009, 01:09 PM
|
#1
|
|
Member
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 279
Rep:
|
I get "Warning: add_groups: Invalid Argument" after logging in.
I am currently running wicd 1.6.2 on Slackware 12.2 using a slightly modified version of wicd.SlackBuild from Slackware -current. Only modification I made was txz to tgz. I know that I had to add myself to the netdev group to get wicd to work as it did before. Although, now when I log in I get this error.
Code:
Warning: add_groups: Invalid Argument
I've had this warning error message before but it was removed when I removed the user from the appropriate group. Just to verify I deleted my user from the netdev group and then re-logged in and the warning message went away. Adding my user back to that group made the warning come back. Any ideas how to to get rid of this warning message?
I did a quick google search and came upon this old forum post.
http://www.linuxquestions.org/questi...gument-426383/
It just reaffirmed what I had already verified.
|
|
|
|
08-21-2009, 07:02 PM
|
#2
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,905
|
probably because netdev is not listed on your /etc/group since you are still running 12.2
|
|
|
|
08-21-2009, 07:31 PM
|
#3
|
|
Member
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 279
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
probably because netdev is not listed on your /etc/group since you are still running 12.2
|
I checked before I added my user to the group. It is listed in /etc/group.
|
|
|
|
08-25-2009, 03:21 PM
|
#4
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,895
Rep: 
|
I've seen this before, but I simply cannot remember what was causing it and how I made it go away :/
Does "shadowconfig on" as root throw any errors at you?
|
|
|
|
08-25-2009, 06:04 PM
|
#5
|
|
Member
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 279
Original Poster
Rep:
|
Quote:
Originally Posted by rworkman
Does "shadowconfig on" as root throw any errors at you?
|
Here is what I get when I run "shadowconfig on".
Code:
# shadowconfig on
Shadow passwords are now on.
So no errors when the command is issued. Unfortunately, only removing the user from the group prevents the error from happening.
|
|
|
|
08-25-2009, 10:13 PM
|
#6
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,895
Rep: 
|
Poke me on IRC via private msg, and if we can figure out the solution, we'll post it here. I've got a few ideas, but it will be easier to try them on IRC :-)
|
|
|
|
08-30-2009, 11:57 AM
|
#7
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,895
Rep: 
|
Someone else ran across this and sent their /etc/group file to me, and while I don't have a solution (yet?), I think I know what's causing it. Count up the groups to which you're adding the relevant user, and I suspect that it will be >16. It seems that 2^4 is the largest number of groups to which any specific user can be added to by login. :/
|
|
|
|
08-30-2009, 12:38 PM
|
#8
|
|
Member
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 279
Original Poster
Rep:
|
That's good to know for future reference. Unfortunately, I've already wiped my system clean and installed Slackware 13.0. So, I can't test this out. It seems plausible as my previous user belonged to a lot of groups.
Now I just need to figure out why plasma sometimes eats up a lot of cpu cycles and freezes the panel.
|
|
|
|
08-30-2009, 01:29 PM
|
#9
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,969
|
Quote:
|
Count up the groups to which you're adding the relevant user, and I suspect that it will be >16.
|
I'll confirm the problem and conjecture. Recently I tried to create a new group called mediausers, which would provide appropriate permissions for handling media files on my new HTPC. I received the same error message all the time. When I removed my normal user from the new group then the error message stopped. My normal account is a member of 16 groups.
A while back when testing Currrent I experienced the same problem with adding root to additional groups. Yup, root is a member of 16 groups.
The error seems harmless but like many error messages, is irritating.
Quote:
|
It seems that 2^4 is the largest number of groups to which any specific user can be added to by login.
|
What a silly idea!
Any possibility to patch the source code?
|
|
|
|
08-30-2009, 02:32 PM
|
#10
|
|
LQ Newbie
Registered: Jul 2009
Posts: 3
Rep:
|
Quote:
Originally Posted by rworkman
Someone else ran across this and sent their /etc/group file to me, and while I don't have a solution (yet?), I think I know what's causing it. Count up the groups to which you're adding the relevant user, and I suspect that it will be >16. It seems that 2^4 is the largest number of groups to which any specific user can be added to by login. :/
|
Yes, I will confirm this issue too. My root account has same message after logging (in my case, user root is a member of 18 groups  )
Sorry, for my bad english
|
|
|
|
08-30-2009, 11:20 PM
|
#11
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,895
Rep: 
|
Small update:
1. It seems that this warning is harmless - I put root in eighteen groups, then logged in on the console, got the warning, but root is correctly placed in all eighteen groups.
2. In shadow's source directory, ./libmisc/newgrps.c has a loop starting with "i = 16" -- if you change that to "32" instead and rebuild, the warning goes away. Note that I am NOT recommending that change, especially since the warning seems harmless, because I don't know what other ramifications it might have.
|
|
|
|
08-31-2009, 12:25 AM
|
#12
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,969
|
Quote:
|
if you change that to "32" instead and rebuild, the warning goes away. Note that I am NOT recommending that change, especially since the warning seems harmless, because I don't know what other ramifications it might have.
|
Checking around the web seems to reveal that NFS is the culprit for the 16 group limit. However, there might be a patch available. This stuff is over my head and makes my eyes water.
|
|
|
|
09-11-2009, 04:11 PM
|
#13
|
|
LQ Newbie
Registered: Jul 2009
Location: Copenhagen, Denmark
Distribution: Fedora 15, Gnome 3
Posts: 12
Rep:
|
Hi! I was also getting this warning at login. As advised from this thread, I shaved off a couple of groups from my user account, and that brought down the total number of groups I want attached to my account to 14. The warning disappeared at the subsequent logins. But I was wondering if the warning actually is harmless, and that all listed groups that need to be added to a user account is executed, or if only the first 16 list groups are added?
|
|
|
|
09-12-2009, 04:18 AM
|
#14
|
|
Member
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 172
Rep:
|
Quote:
Originally Posted by rworkman
Small update:
1. It seems that this warning is harmless - I put root in eighteen groups, then logged in on the console, got the warning, but root is correctly placed in all eighteen groups.
2. In shadow's source directory, ./libmisc/newgrps.c has a loop starting with "i = 16" -- if you change that to "32" instead and rebuild, the warning goes away. Note that I am NOT recommending that change, especially since the warning seems harmless, because I don't know what other ramifications it might have.
|
As mentioned a couple of posts above you. As far as we know it is harmless.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|