LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-28-2004, 07:22 PM   #1
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
"Warning: unknown group floppy"


hi,
i have slackware 10. whenever i log into root using "su," the message "Warning: unknown group floppy" is printed out. neither "pwck" nor "grpck" returns any errors.
what is the problem? is it serious?
thanks.

----edit:
actually, i also receive the warning when i log in as a normal user (init level 3). and before the warning started showing up, i'd run "userdel floppy" and "groupdel floppy" (i don't remember which was run first, though.)

Last edited by rgiggs; 08-28-2004 at 08:10 PM.
 
Old 08-28-2004, 08:50 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
On my system the floppy group exists and was created by the installation not by me :

cat /etc/group | grep floppy
floppy:x:11:root

Just for know, do you run a 2.6 kernel with udev ?

Last edited by Cedrik; 08-28-2004 at 08:51 PM.
 
Old 08-28-2004, 09:15 PM   #3
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
Quote:
On my system the floppy group exists and was created by the installation not by me :

cat /etc/group | grep floppy
floppy:x:11:root
same here. but i deleted the user and the group.
Quote:

Just for know, do you run a 2.6 kernel with udev ?
yes. kernel 2.6.5 and udev.
 
Old 08-28-2004, 11:11 PM   #4
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
well, i tried adding the group floppy back, and then the warning went away. then i deleted the group again, then the warning returned.
 
Old 08-28-2004, 11:23 PM   #5
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
The warning is happening because both root and your other user are probably members of the floppy group, and you're getting the warning since the group doesn't exist. Either just leave the group or make it so you're not a member of that group.
 
Old 08-29-2004, 02:16 AM   #6
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by blk96gt
The warning is happening because both root and your other user are probably members of the floppy group, and you're getting the warning since the group doesn't exist.
that can't be. /etc/group does not have the 'floppy' entry, so I believe no user can be a member of 'floppy.' also, i created a new user called 'temp' with all the default options (which i believe makes 'temp' a member of only 'users' and no other group). i login as 'temp' and still see the warning.
 
Old 08-29-2004, 02:19 AM   #7
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Maybe by default when you create a user they are automatically added to the floppy group, and it doesn't check to see whether or not that group exists maybe? This is just a guess, maybe someone who knows more can possibly chime in.
 
Old 08-29-2004, 03:27 AM   #8
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Cedrik
do you run a 2.6 kernel with udev ?
since you mentioned udev, i've noticed that during boot (after grub OS selection and before login prompt), i see this (trying to remember):
Code:
initializing udev dynamic directory
chown: 'uucp': invalid group
chown: 'floppy': invalid group
hope that gives some clues.
 
Old 08-29-2004, 03:55 AM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Yes, as udev create devices files at boot, it assigns permissions for these files too.

You can try comment the relevant lines in :
/etc/udev/permissions.d/udev.permissions
/etc/udev/rules.d/udev.rules

But I think you won't be able to use floppy after that
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When I run rpm -Uvh it says "warning: waiting for transaction lock" Niceman2005 Linux - Software 5 11-12-2004 07:47 PM
"adduser" not adding users to default group "users" PunkPT Slackware 2 09-23-2004 11:50 AM
warning "conflicting types for buit-in function" while cross-compiling cheema Programming 0 07-07-2004 03:02 AM
Small linux giving "Warning: dev (4:01)...." error during bootup. WJWhite Linux - Newbie 1 01-23-2004 11:03 PM
Debian kernels: "warning: can't open /etc/mtab: No such file or directory" brurien Debian 1 10-22-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration