[Clfs-dev] Changing gid's in clfs

Martin Ward macros_the_black at ntlworld.com
Sat Sep 7 10:50:06 PDT 2013


Hi Everyone

Just came across this issue of incorrect gid in the setup we use.

Since pt_chown is no longer installed by default , I was getting 
failures in dvtm(console terminal multiplexer) , I would get no bash 
prompt as a normal unprivileged user but worked fine as root


>From https://sourceware.org/glibc/wiki/Release/2.18#Packaging_Changes 
and hence applying to eglibc-2.18


> By default the GNU C Library no longer ships or requires the pt_chown 
> helper binary.
>
> Your system *must* use /dev/pts and mount it with gid 5 in order to 
> support automatically handling permission changes.
>
> Your distribution should avoid using pt_chown and should instead rely 
> on /dev/pts to handle the required permission changes. You can still 
> enable the building and use of pt_chown but you must understand and 
> accept the risks involved before using --enable-pt_chown as a 
> configure switch


At the moment we use a gid of 4, hence the problem

Solution move tty to a gid of 5, but this means moving tape's gid, I 
suggest 39  as that's the next free one.


Rather do this than install pt_chown as it is considered a security 
risk, what do others think



regards

Martin Ward



More information about the Clfs-dev mailing list