Mailinglist Archive: opensuse-bugs (4882 mails)

< Previous Next >
[Bug 652877] New: /var/run/utmp has wrong ownership with systemd
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 11 Nov 2010 09:08:46 +0000
  • Message-id: <bug-652877-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

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@xxxxxxxxxx
ReportedBy: aj@xxxxxxxxxx
QAContact: qa@xxxxxxx
CC: ro@xxxxxxxxxx, kasievers@xxxxxxxxxx
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.

< Previous Next >