[Bug 652877] New: /var/run/utmp has wrong ownership with systemd
https://bugzilla.novell.com/show_bug.cgi?id=652877 https://bugzilla.novell.com/show_bug.cgi?id=652877#c0 Summary: /var/run/utmp has wrong ownership with systemd Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: meissner@novell.com ReportedBy: aj@novell.com QAContact: qa@suse.de CC: ro@novell.com, kasievers@novell.com Found By: Product Management Blocker: --- utempter cannot write in /var/run/utmp with systemd. Problem is: aj@byrd:~> ls -l /var/run/utmp -rw-rw-r-- 1 root utmp 3456 Nov 11 09:54 /var/run/utmp aj@byrd:~> ls -l /usr/sbin/utempter -rwxr-sr-x 1 root tty 10680 Nov 2 11:14 /usr/sbin/utempter After a chgrp tty to /var/run/utmp it works fine. Marcus, Kay, how shall we solve this? utempter.spec has: %attr(02755, root, %{utmpGroup}) /usr/sbin/utempter I propose to change utmpGroup from tty to utmp - or where could this bite us? This also needs changes in aaa_base for creation of /var/run/utmp. Everybody ok with these changes or what should be done? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c2
--- Comment #2 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c3
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c4
Olaf Kirch
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c5
--- Comment #5 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c6
--- Comment #6 from Olaf Kirch
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c7
--- Comment #7 from Andreas Jaeger
there are files in /var/log/ that are writeable by group tty too. Also gnome-pty-helper is setgid tty. setgid tty on utempter is quite old, there are no records why group tty was chosen instead of introducing yet another group.
I see only utmp related files with group tty in /var/log. Which ones do you have? I'm updating gnome-pty-helper, permissions, aaa_base and utempter now - first on my own system ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c8
--- Comment #8 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c9
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c10
--- Comment #10 from Ludwig Nussel
(In reply to comment #2)
there are files in /var/log/ that are writeable by group tty too. Also gnome-pty-helper is setgid tty. setgid tty on utempter is quite old, there are no records why group tty was chosen instead of introducing yet another group.
I see only utmp related files with group tty in /var/log. Which ones do you have?
/var/log/wtmp* and /var/log/lastlog*. The latter comes from aaa_base -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c11
--- Comment #11 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c12
--- Comment #12 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c13
--- Comment #13 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c14
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=652877
https://bugzilla.novell.com/show_bug.cgi?id=652877#c15
--- Comment #15 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com