Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#23309 - [initscripts] add utmp group support
Attached to Project:
Arch Linux
Opened by Greg (dolby) - Thursday, 17 March 2011, 09:10 GMT
Last edited by Tom Gundersen (tomegun) - Wednesday, 13 April 2011, 12:53 GMT
Opened by Greg (dolby) - Thursday, 17 March 2011, 09:10 GMT
Last edited by Tom Gundersen (tomegun) - Wednesday, 13 April 2011, 12:53 GMT
|
DetailsA utmp group should be created in order for members of the group to be able to write in /var/run/utmp.
In /etc/rc.sysinit also needs to set permissions to /var/run/tmp to have root:utmp The attached patch does that, according to whats in the first comment |
Edit: BTW: http://projects.archlinux.org/initscripts.git/commit/?id=0e4ff39e5a5c72b7d4e8d251d029d4342f68b7b6 based on
FS#12557The permissions can/should stay 664.
I had made the patch based on https://bugs.archlinux.org/task/19392#comment61383
Thanks!
# Create a fresh utmp file:
touch /var/run/utmp
chown root:utmp /var/run/utmp
chmod 664 /var/run/utmp
Good (that's what I did).
Thanks for following up on this!