#3061: Creating Essential Files and Symlinks question
--------------------+-------------------------------------------------------
 Reporter:  Krejzi  |       Owner:  lfs-book@…                   
     Type:  defect  |      Status:  new                          
 Priority:  normal  |   Milestone:  7.2                          
Component:  Book    |     Version:  SVN                          
 Severity:  normal  |    Keywords:                               
--------------------+-------------------------------------------------------
 I had a look at /etc/group creation and noticed something.

 This is /etc/group from Red Hat
 root:x:0:root
 bin:x:1:root,bin,daemon
 daemon:x:2:root,bin,daemon
 sys:x:3:root,bin,adm
 adm:x:4:root,adm,daemon
 tty:x:5:
 disk:x:6:root
 lp:x:7:daemon,lp
 mem:x:8:
 kmem:x:9:
 wheel:x:10:root

 This is /etc/group from Debian
 root:x:0:
 daemon:x:1:
 bin:x:2:
 sys:x:3:
 adm:x:4:
 tty:x:5:
 disk:x:6:
 lp:x:7:
 mail:x:8:
 news:x:9:
 uucp:x:10:

 This is /etc/group from Arch Linux
 root:x:0:root
 bin:x:1:root,bin,daemon
 daemon:x:2:root,bin,daemon
 sys:x:3:root,bin
 adm:x:4:root,daemon
 tty:x:5:
 disk:x:6:root
 lp:x:7:daemon
 mem:x:8:
 kmem:x:9:
 wheel:x:10:root

 If you take a good look, you will see first 7 GID's and group names are
 same for all of them. Now take a look at LFS /etc/group

 root:x:0:
 bin:x:1:
 sys:x:2:
 kmem:x:3:
 tty:x:4:
 tape:x:5:
 daemon:x:6:
 floppy:x:7:
 disk:x:8:
 lp:x:9:
 dialout:x:10:

 Question is, why does LFS change standard gid's of some groups? I had some
 problems with package using tty group for which was tought it has gid 5,
 but in LFS it is gid 4.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3061>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to