Hello community,

here is the log from the commit of package systemd for openSUSE:Factory checked 
in at 2012-11-05 20:55:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd (Old)
 and      /work/SRC/openSUSE:Factory/.systemd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemd", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/systemd/systemd-mini.changes     2012-11-03 
08:37:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.systemd.new/systemd-mini.changes        
2012-11-05 20:55:03.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Nov  5 14:37:46 UTC 2012 - [email protected]
+
+- Don't hardcode path for systemctl in udev post script.
+- Ensure systemd-udevd.service is shadowing boot.udev when booting
+  under systemd.
+- Fix udev daemon upgrade under both systemd and sysvinit.
+- Add fix-logind-pty-seat.patch: fix logind complaining when doing
+  su/sudo in X terminal.
+
+-------------------------------------------------------------------
systemd.changes: same change

New:
----
  fix-logind-pty-seat.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ systemd-mini.spec ++++++
--- /var/tmp/diff_new_pack.Gollnf/_old  2012-11-05 20:55:20.000000000 +0100
+++ /var/tmp/diff_new_pack.Gollnf/_new  2012-11-05 20:55:20.000000000 +0100
@@ -131,6 +131,8 @@
 # Never add any patches to this package without the upstream commit id
 # in the patch. Any patches added here without a very good reason to make
 # an exception will be silently removed with the next version update.
+# PATCH-FIX-UPSTREAM fix-logind-pty-seat.patch [email protected] -- fix logind 
complaining when doing su/sudo in X terminal
+Patch61:        fix-logind-pty-seat.patch
 
 # udev patches
 # PATCH-FIX-OPENSUSE 0001-Reinstate-TIMEOUT-handling.patch
@@ -311,6 +313,7 @@
 %patch56 -p1
 %patch59 -p1
 %patch60 -p1
+%patch61 -p1
 
 %build
 %if ! 0%{?bootstrap}
@@ -348,6 +351,7 @@
 ln -sf /lib/firmware $RPM_BUILD_ROOT/usr/lib/firmware
 
 install -m755 -D %{S:1060} $RPM_BUILD_ROOT/etc/init.d/boot.udev
+ln -s systemd-udevd.service 
$RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/udev.service
 install -m755 -D %{S:1061} 
$RPM_BUILD_ROOT/%{_prefix}/lib/udev/write_dev_root_rule
 install -m644 -D %{S:1062} 
$RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/udev-root-symlink.service
 mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants
@@ -496,6 +500,13 @@
   mv /lib/udev /usr/lib
   ln -s /usr/lib/udev /lib/udev
 fi
+# kill daemon if we are not in a chroot
+if test -f /proc/1/exe -a -d /proc/1/root ; then
+        if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' 
/proc/1/root)"; then
+                systemctl stop systemd-udevd-control.socket 
systemd-udevd-kernel.socket systemd-udevd.service udev.service 
udev-control.socket udev-kernel.socket >/dev/null 2>&1 || :
+                udevadm control --exit 2>&1 || :
+        fi
+fi
 
 %post -n %{udevpkgname}
 %{fillup_and_insserv -Y boot.udev}
@@ -507,13 +518,14 @@
 rm -f /etc/udev/rules.d/20-cdrom.rules
 rm -f /etc/udev/rules.d/55-cdrom.rules
 rm -f /etc/udev/rules.d/65-cdrom.rules
-/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+systemctl daemon-reload >/dev/null 2>&1 || :
 # start daemon if we are not in a chroot
 if test -f /proc/1/exe -a -d /proc/1/root; then
        if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' 
/proc/1/root)"; then
-               /usr/bin/systemctl start systemd-udevd.service >/dev/null 2>&1 
|| :
+               if ! systemctl start systemd-udevd.service >/dev/null 2>&1; then
                /usr/lib/systemd/systemd-udevd --daemon >/dev/null 2>&1 || :
        fi
+       fi
 fi
 
 [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
@@ -526,7 +538,7 @@
 
 %postun -n %{udevpkgname}
 %insserv_cleanup
-/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+systemctl daemon-reload >/dev/null 2>&1 || :
 
 [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
 if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
@@ -586,6 +598,7 @@
 %dir %{_prefix}/lib/systemd/user
 %dir %{_prefix}/lib/systemd/system
 %exclude %{_prefix}/lib/systemd/system/systemd-udev*.*
+%exclude %{_prefix}/lib/systemd/system/udev.service
 %exclude %{_prefix}/lib/systemd/system/udev-root-symlink.service
 %exclude %{_prefix}/lib/systemd/system/*.target.wants/systemd-udev*.*
 %exclude 
%{_prefix}/lib/systemd/system/basic.target.wants/udev-root-symlink.service

++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.Gollnf/_old  2012-11-05 20:55:20.000000000 +0100
+++ /var/tmp/diff_new_pack.Gollnf/_new  2012-11-05 20:55:20.000000000 +0100
@@ -126,6 +126,8 @@
 # Never add any patches to this package without the upstream commit id
 # in the patch. Any patches added here without a very good reason to make
 # an exception will be silently removed with the next version update.
+# PATCH-FIX-UPSTREAM fix-logind-pty-seat.patch [email protected] -- fix logind 
complaining when doing su/sudo in X terminal
+Patch61:        fix-logind-pty-seat.patch
 
 # udev patches
 # PATCH-FIX-OPENSUSE 0001-Reinstate-TIMEOUT-handling.patch
@@ -306,6 +308,7 @@
 %patch56 -p1
 %patch59 -p1
 %patch60 -p1
+%patch61 -p1
 
 %build
 %if ! 0%{?bootstrap}
@@ -343,6 +346,7 @@
 ln -sf /lib/firmware $RPM_BUILD_ROOT/usr/lib/firmware
 
 install -m755 -D %{S:1060} $RPM_BUILD_ROOT/etc/init.d/boot.udev
+ln -s systemd-udevd.service 
$RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/udev.service
 install -m755 -D %{S:1061} 
$RPM_BUILD_ROOT/%{_prefix}/lib/udev/write_dev_root_rule
 install -m644 -D %{S:1062} 
$RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/udev-root-symlink.service
 mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants
@@ -491,6 +495,13 @@
   mv /lib/udev /usr/lib
   ln -s /usr/lib/udev /lib/udev
 fi
+# kill daemon if we are not in a chroot
+if test -f /proc/1/exe -a -d /proc/1/root ; then
+        if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' 
/proc/1/root)"; then
+                systemctl stop systemd-udevd-control.socket 
systemd-udevd-kernel.socket systemd-udevd.service udev.service 
udev-control.socket udev-kernel.socket >/dev/null 2>&1 || :
+                udevadm control --exit 2>&1 || :
+        fi
+fi
 
 %post -n %{udevpkgname}
 %{fillup_and_insserv -Y boot.udev}
@@ -502,13 +513,14 @@
 rm -f /etc/udev/rules.d/20-cdrom.rules
 rm -f /etc/udev/rules.d/55-cdrom.rules
 rm -f /etc/udev/rules.d/65-cdrom.rules
-/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+systemctl daemon-reload >/dev/null 2>&1 || :
 # start daemon if we are not in a chroot
 if test -f /proc/1/exe -a -d /proc/1/root; then
        if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' 
/proc/1/root)"; then
-               /usr/bin/systemctl start systemd-udevd.service >/dev/null 2>&1 
|| :
+               if ! systemctl start systemd-udevd.service >/dev/null 2>&1; then
                /usr/lib/systemd/systemd-udevd --daemon >/dev/null 2>&1 || :
        fi
+       fi
 fi
 
 [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
@@ -521,7 +533,7 @@
 
 %postun -n %{udevpkgname}
 %insserv_cleanup
-/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+systemctl daemon-reload >/dev/null 2>&1 || :
 
 [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
 if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
@@ -581,6 +593,7 @@
 %dir %{_prefix}/lib/systemd/user
 %dir %{_prefix}/lib/systemd/system
 %exclude %{_prefix}/lib/systemd/system/systemd-udev*.*
+%exclude %{_prefix}/lib/systemd/system/udev.service
 %exclude %{_prefix}/lib/systemd/system/udev-root-symlink.service
 %exclude %{_prefix}/lib/systemd/system/*.target.wants/systemd-udev*.*
 %exclude 
%{_prefix}/lib/systemd/system/basic.target.wants/udev-root-symlink.service

++++++ fix-logind-pty-seat.patch ++++++
>From 978cf3c75fbd94fd0e046206ada6169b35edd919 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <[email protected]>
Date: Sun, 28 Oct 2012 17:37:16 +0100
Subject: [PATCH] logind: it's OK if a process on an pty requests a session
 for seat0

After all, if a sudo/su inside an X terminal should get added to the
same session as the X session itself.
---
 src/login/logind-dbus.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 4326e5b..8b6021d 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -415,8 +415,7 @@ static int bus_manager_create_session(Manager *m, 
DBusMessage *message, DBusMess
                 if (vtnr != 0)
                         return -EINVAL;
 
-        } else if (!isempty(tty) && s && seat_is_vtconsole(s))
-                return -EINVAL;
+        }
 
         if (s) {
                 if (seat_can_multi_session(s)) {
-- 
1.7.10.4


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to