FS#23240 - [filesystem] add utmp group in the default /etc/group
Attached to Project:
Arch Linux
Opened by Greg (dolby) - Friday, 11 March 2011, 12:16 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 08 April 2011, 10:03 GMT
Opened by Greg (dolby) - Friday, 11 March 2011, 12:16 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 08 April 2011, 10:03 GMT
|
Details
A utmp group is needed for members of the group to be able
to write in /var/run/utmp.
See PS.The permissions of /var/run/utmp also need to be changed to 0644 root:utmp so /etc/rc.sysinit needs to change as well. A different FS# will be opened for that. |
This task depends upon
FS#23309for rc.sysinitFS#19392but heres a short(er) version:As can be read in utmp(5) the /var/run/utmp file exists in order to record information about who is currently using the system.
Right now, none of the terminal emulators in Arch has support for it. If a user has logged in from an xterm, instead of a tty, utmp is not updated so who(1) which "shows who is logged on" wont show that user as logged in.
For that to work properly the terminal emulators need either to be compiled with libutempter ( https://aur.archlinux.org/packages.php?ID=26483 ) support , which works only for xterm and gnu screen AFAIK, or create a utmp group and recompile all the terminal emulators with whatever is needed for them to be able to write to the /var/run/utmp file. https://bugs.archlinux.org/task/19392#comment61413 describes what eterm , aterm and urxvt need, gathered from their man pages, for xterm also in https://bugs.archlinux.org/task/19392#comment61383 . The later way seems to work universally.
edit: correction, this is an issue only non vte terminal emulators, not all, including tmux and screen.
FS#23309. That commit wont do.