[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#690337: marked as done (unblock: gnome-system-log/3.4.1-2)



Your message dated Mon, 15 Oct 2012 15:18:03 +0200
with message-id <20121015131803.GU17465@radis.cristau.org>
and subject line Re: Bug#690337: unblock: gnome-system-log/3.4.1-2
has caused the Debian Bug report #690337,
regarding unblock: gnome-system-log/3.4.1-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
690337: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690337
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package gnome-system-log

gnome-system-log is a viewer to display system logs like
/var/log/syslog. For that it needs special privileges.
We changed the .desktop file to use

Exec=pkexec gnome-system-log

some time ago.

That works for DEs like GNOME shell or KDE but fails in others like Xfce
or GNOME fallback mode. According to policykit upstream, this is
ultimately a bug in those applications launchers (xfce-panel,
gnome-panel) using double forking.

A quick test shows that E17 is also affected by this, there a possibly
more. While we might eventually fix all affected application launchers
(e.g. [1] has a patch for gnome-panel), for wheezy we decided to use a
simple shell wrapper script which works around that problem.

Thanks,
Michael

unblock gnome-system-log/3.4.1-2

[1] https://bugzilla.gnome.org/show_bug.cgi?id=686059
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gnome-system-log-3.4.1/debian/changelog gnome-system-log-3.4.1/debian/changelog
--- gnome-system-log-3.4.1/debian/changelog	2012-04-19 03:04:04.000000000 +0200
+++ gnome-system-log-3.4.1/debian/changelog	2012-10-12 17:13:31.000000000 +0200
@@ -1,3 +1,16 @@
+gnome-system-log (3.4.1-2) unstable; urgency=low
+
+  [ Jeremy Bicha ]
+  * debian/org.debian.pkexec.gnome-system-log.policy:
+    - Use simpler language when requesting authentication
+
+  [ Michael Biebl ]
+  * Use a small wrapper script gnome-system-tools-pkexec which starts
+    gnome-system-log directly if /var/log/syslog is readable and otherwise
+    uses pkexec to start the program with elevated privileges. Closes: #650038
+
+ -- Michael Biebl <biebl@debian.org>  Fri, 12 Oct 2012 17:13:27 +0200
+
 gnome-system-log (3.4.1-1) unstable; urgency=low
 
   * Upload to unstable.
diff -Nru gnome-system-log-3.4.1/debian/gnome-system-log.install gnome-system-log-3.4.1/debian/gnome-system-log.install
--- gnome-system-log-3.4.1/debian/gnome-system-log.install	2012-03-13 00:39:12.000000000 +0100
+++ gnome-system-log-3.4.1/debian/gnome-system-log.install	2012-10-12 16:42:34.000000000 +0200
@@ -1 +1,2 @@
 debian/org.debian.pkexec.gnome-system-log.policy /usr/share/polkit-1/actions
+debian/gnome-system-log-pkexec /usr/bin/
diff -Nru gnome-system-log-3.4.1/debian/gnome-system-log-pkexec gnome-system-log-3.4.1/debian/gnome-system-log-pkexec
--- gnome-system-log-3.4.1/debian/gnome-system-log-pkexec	1970-01-01 01:00:00.000000000 +0100
+++ gnome-system-log-3.4.1/debian/gnome-system-log-pkexec	2012-10-12 16:41:38.000000000 +0200
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if test -r /var/log/syslog ; then
+	exec /usr/bin/gnome-system-log "$@"
+else
+	pkexec /usr/bin/gnome-system-log "$@"
+fi
diff -Nru gnome-system-log-3.4.1/debian/org.debian.pkexec.gnome-system-log.policy gnome-system-log-3.4.1/debian/org.debian.pkexec.gnome-system-log.policy
--- gnome-system-log-3.4.1/debian/org.debian.pkexec.gnome-system-log.policy	2012-03-12 19:05:52.000000000 +0100
+++ gnome-system-log-3.4.1/debian/org.debian.pkexec.gnome-system-log.policy	2012-05-10 00:50:18.000000000 +0200
@@ -6,7 +6,7 @@
 
   <action id="org.debian.pkexec.gnome-system-log.run">
     <description>Run gnome-system-log</description>
-    <message>Authentication is required to run gnome-system-log</message>
+    <message>Authentication is required to view system logs</message>
     <defaults>
       <allow_any>no</allow_any>
       <allow_inactive>no</allow_inactive>
diff -Nru gnome-system-log-3.4.1/debian/patches/01_logview_pkexec.patch gnome-system-log-3.4.1/debian/patches/01_logview_pkexec.patch
--- gnome-system-log-3.4.1/debian/patches/01_logview_pkexec.patch	2012-03-13 00:47:38.000000000 +0100
+++ gnome-system-log-3.4.1/debian/patches/01_logview_pkexec.patch	2012-10-12 16:43:40.000000000 +0200
@@ -10,7 +10,7 @@
  _Name=Log File Viewer
  _Comment=View or monitor system log files
 -Exec=gnome-system-log
-+Exec=pkexec gnome-system-log
++Exec=gnome-system-log-pkexec
  Icon=logview
  Terminal=false
  Type=Application

--- End Message ---
--- Begin Message ---
On Mon, Oct 15, 2012 at 15:10:40 +0200, Michael Biebl wrote:

> Hi Julien,
> 
> On 15.10.2012 10:52, Julien Cristau wrote:
> > Control: tags -1 moreinfo
> > 
> > On Sat, Oct 13, 2012 at 00:25:59 +0200, Michael Biebl wrote:
> > 
> >> +  [ Jeremy Bicha ]
> >> +  * debian/org.debian.pkexec.gnome-system-log.policy:
> >> +    - Use simpler language when requesting authentication
> > 
> > How does this affect translations?
> 
> This policy file is currently Debian only and not translated, so it has
> no effect.
> 
Sad.  Unblocked.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: