From owner-freebsd-xfce@freebsd.org Sun Jan 31 21:01:05 2016 Return-Path: Delivered-To: freebsd-xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D59DA73434 for ; Sun, 31 Jan 2016 21:01:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F384F303 for ; Sun, 31 Jan 2016 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id F2F50A73433; Sun, 31 Jan 2016 21:01:04 +0000 (UTC) Delivered-To: xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F299FA73432 for ; Sun, 31 Jan 2016 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0D02300 for ; Sun, 31 Jan 2016 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0VL01SV085275 for ; Sun, 31 Jan 2016 21:01:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201601312101.u0VL01SV085275@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: xfce@FreeBSD.org Subject: Problem reports for xfce@FreeBSD.org that need special attention Date: Sun, 31 Jan 2016 21:01:04 +0000 X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 21:01:05 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 199166 | sysutils/xfce4-power-manager: allocates ALL memor 1 problems total for which you should take action. From owner-freebsd-xfce@freebsd.org Mon Feb 1 08:37:12 2016 Return-Path: Delivered-To: freebsd-xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 037B8A9716B for ; Mon, 1 Feb 2016 08:37:12 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E75952BD for ; Mon, 1 Feb 2016 08:37:11 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E6002A9716A; Mon, 1 Feb 2016 08:37:11 +0000 (UTC) Delivered-To: xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5A90A97169 for ; Mon, 1 Feb 2016 08:37:11 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org (portscout.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAE1F2BB for ; Mon, 1 Feb 2016 08:37:11 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org ([127.0.1.123]) by portscout.freebsd.org (8.15.2/8.15.2) with ESMTP id u118bBCI057063 for ; Mon, 1 Feb 2016 08:37:11 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.freebsd.org (8.15.2/8.15.2/Submit) id u118bBvm057062; Mon, 1 Feb 2016 08:37:11 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201602010837.u118bBvm057062@portscout.freebsd.org> X-Authentication-Warning: portscout.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Mon, 1 Feb 2016 08:37:11 +0000 From: portscout@FreeBSD.org To: xfce@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 08:37:12 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/xfce@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ x11/xfce4-dashboard | 0.4.2 | 0.5.5 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-xfce@freebsd.org Mon Feb 1 17:24:15 2016 Return-Path: Delivered-To: freebsd-xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A80DCA977B2 for ; Mon, 1 Feb 2016 17:24:15 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 404CE1C37 for ; Mon, 1 Feb 2016 17:24:15 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id p63so81923932wmp.1 for ; Mon, 01 Feb 2016 09:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=fy/o7CFndMgJSWhEEfe9Bc9bmakRwvRE9FhlwfYuPyQ=; b=aZ9ARGlCZBEhPYhmUkRFm+FJilGYlv1Si8Ge/VrlZKfDH9a0kuy5siQRNpegIDp1Vh 0XT75XpYuXTDy0AKEVkeaJaVfcb2DET/8hOY40OLpWUIQh1fwOtpNbNmZkgtAQ/L2KV8 u7fUtoSIWq+7x0YLOEdJiNuP206kLHUSwcDsJfOrRF4Kjjv1wqjDA0TrAGgQEavpPhjy gGSMB4QeHee/aNh4n93RxVBSOHPlqwTmGmxR8PUZ/wuMQc1bLCqaWHjKW199Mx891BP6 2jdzK1f8d/kMTh3C3PrOggOkWBylmHs0weVfGGqzP0+aSyIN3xEWlF17kepd4FfFgHmp fFSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=fy/o7CFndMgJSWhEEfe9Bc9bmakRwvRE9FhlwfYuPyQ=; b=NbvalRE+rHIXcbQugG3k8DNWEKck/YtLgSJnxDcsdS7XT9kbiqezlnCjY4qsqJVYpX UET+HtiXPA/L6tgOm398UZnAgNWtoko3V9AkaDJ6lFE13Wm4vMTr61sr3wxh2i/kc7z/ 5ueJ01HFxnbdQgkeWvHcGGJIgGOFKg/6+o3BuRr/7QkWTngPpmTq5eTmgwONwxND1cXP XZ+wtBiFCJGtU62OOlxhYfBhgAYGtHKA1OSuKIj6b9Y/unQEb+MC7x+w9M4IPvBRipAD +Bf6m6CAf0GlD4LrLUR6+mKrUWrrFXKl0yKjj+wEZG91kFGn7Ni8wVumx6r1n849c+vm +aNQ== X-Gm-Message-State: AG10YORLDjsiFexJV9xNMcT/5vmE+BHNtZeqtcad5TF8M9/r/USfULcP6hbG+XbA89/2tw== X-Received: by 10.28.24.85 with SMTP id 82mr13732100wmy.58.1454347453685; Mon, 01 Feb 2016 09:24:13 -0800 (PST) Received: from tuborg (AMarseille-655-1-778-245.w92-158.abo.wanadoo.fr. [92.158.19.245]) by smtp.gmail.com with ESMTPSA id w80sm12507743wme.17.2016.02.01.09.24.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Feb 2016 09:24:12 -0800 (PST) Date: Mon, 1 Feb 2016 18:21:24 +0000 From: Olivier Duchateau To: Pasi Koivisto Cc: freebsd-xfce@freebsd.org Subject: Re: I keep getting errors about power-manager in my logs Message-Id: <20160201182124.a2d6efd0083ea86c336e6430@gmail.com> In-Reply-To: <1454109164.41619.8.camel@me.com> References: <1454109164.41619.8.camel@me.com> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; i386-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 17:24:15 -0000 On Sat, 30 Jan 2016 00:12:44 +0100 Pasi Koivisto wrote: Hi Pasi, > This is what I get in my logs. > > dbus[980]: [system] Rejected send message, 2 matched rules; > type="method_call", sender=":1.107" (uid=502 pid=34333 comm="xfce4 > -power-manager --restart --sm-client-id 2160b") > interface="org.freedesktop.ConsoleKit.Manager" member="CanSuspend" > error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 > pid=1191 comm="/usr/local/sbin/console-kit-daemon --no-daemon ") > Please could you post complete log somewhere. Kill the xfce4-power-manager daemon, then restarts it. % xfce4-power-manager --quit % xfce4-power-manager --no-daemon --debug --dump > I have tried to add rules like this. I can't remember where I found it > but probably archwiki or similar. xfce4-session contains information how to create / add rules. Try: % pkg query %M xfce4-session > > # cat /usr/local/etc/polkit-1/rules.d/51-upower.rules > polkit.addRule(function(action, subject) { > if (action.id == "org.freedesktop.upower.suspend" || > action.id == "org.freedesktop.upower.hibernate") { > return polkit.Result.YES; > } > }); If you add your main group, it works? Theses rules are not anymore needed, since polkit 0.113, you can remove these files. > > And also this in /usr/local/etc/polkit-1/localauthority/50-local.d/xfce > -power-manager.pkla > > [Restart] > Identity=unix-group:wheel > Action=org.freedesktop.consolekit.system.restart > ResultAny=yes > ResultInactive=yes > ResultActive=yes > > [Shutdown] > Identity=unix-group:wheel > Action=org.freedesktop.consolekit.system.stop > ResultAny=yes > ResultInactive=yes > ResultActive=yes > > [Suspend] > Identity=unix-group:wheel > Action=org.freedesktop.upower.suspend > ResultAny=yes > ResultInactive=yes > ResultActive=yes > > > But nothing seems to work. Suspend/restart etc works despite of this. > > I can't figure this out. > _______________________________________________ > freebsd-xfce@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-xfce > To unsubscribe, send any mail to "freebsd-xfce-unsubscribe@freebsd.org" -- olivier From owner-freebsd-xfce@freebsd.org Tue Feb 2 14:25:33 2016 Return-Path: Delivered-To: freebsd-xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21792A995EC for ; Tue, 2 Feb 2016 14:25:33 +0000 (UTC) (envelope-from pasi@me.com) Received: from st11p00im-asmtp002.me.com (st11p00im-asmtp002.me.com [17.172.80.96]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1DCAD68 for ; Tue, 2 Feb 2016 14:25:32 +0000 (UTC) (envelope-from pasi@me.com) Received: from X230 (94-137-101-194.customers.ownit.se [94.137.101.194]) by st11p00im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) with ESMTPSA id <0O1X00N0E9A62O30@st11p00im-asmtp002.me.com> for freebsd-xfce@freebsd.org; Tue, 02 Feb 2016 13:25:21 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-02-02_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1602020230 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=me.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=4d515a; bh=S7vZ6ofrgUQ7J9Ov1hIptWZm9Af0f5GjLE7Z+UCPXEA=; b=JV+JeXdVNaVxTBTkW9HW9lyxhEMRdEpOzHCrNHxu6m+Dzpd4dMWl0C6YrnMCwNgPc8Ty dzyoMrpYRKvSLwfub+uY2Mqins1IQzCuhPmX4Hat4N8kz2ZAEGzM0IHo1f79X2ANH4bX 9+WZ4q1Tee+CneJyAUaRE/rMY0M+CFIrqfDHzbv0bzkDv75aLEL6wYHxNJ42Pljdm5DZ JLNib59KPeHRqDuE1v1Gz7rIYSz0ReuL7JQYPdyuQchkq3YMW+l2eLkuGveuTQkX7lHO RYJDPWbRKBlT/NDdUHgqtBrdoAQVPYbsCtWaRD1747k02JXirX49EP0YBmRdYhz5nzAT Ww== Message-id: <1454419518.2207.7.camel@me.com> Subject: Re: I keep getting errors about power-manager in my logs From: Pasi Koivisto To: Olivier Duchateau Cc: freebsd-xfce@freebsd.org Date: Tue, 02 Feb 2016 14:25:18 +0100 In-reply-to: <20160201182124.a2d6efd0083ea86c336e6430@gmail.com> References: <1454109164.41619.8.camel@me.com> <20160201182124.a2d6efd0083ea86c336e6430@gmail.com> Content-type: text/plain; charset=UTF-8 X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port MIME-version: 1.0 Content-transfer-encoding: 7bit X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 14:25:33 -0000 Hi and thanks for helping Olivier! > Please could you post complete log somewhere. Kill the xfce4-power > -manager daemon, then restarts it. > > % xfce4-power-manager --quit > % xfce4-power-manager --no-daemon --debug --dump This is my log without the rules. https://dpaste.de/pkZK This is my log with the rules. https://dpaste.de/HyHZ When I tried xfce4-power-manager --no-daemon --debug --dump I got a core dump and all that was added to the log file was this: Feb 2 14:07:17 X230 su: pasi to root on /dev/pts/0 Feb 2 14:07:55 X230 sm-mta[2059]: unable to qualify my own domain name (X230) -- using short name Feb 2 14:07:55 X230 sm-msp-queue[2197]: My unqualified host name (X230) unknown; sleeping for retry Feb 2 14:08:49 X230 gcr-prompter[2242]: GLib-GObject: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. Feb 2 14:08:49 X230 gcr-prompter[2242]: Gtk: GtkDialog mapped without a transient parent. This is discouraged. Feb 2 14:08:55 X230 sm-msp-queue[2197]: unable to qualify my own domain name (X230) -- using short name Feb 2 14:09:03 X230 kernel: error: [drm:pid909:gen6_sanitize_pm] *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 00070000, was 16070000 Feb 2 14:09:41 X230 su: pasi to root on /dev/pts/0 Feb 2 14:10:09 X230 kernel: pid 2367 (xfce4-power-manager), uid 0: exited on signal 5 (core dumped) Link to the dump file. https://www.dropbox.com/s/paw3jqxj4t0k9c3/xfce4-power-manager.core?dl=0 > xfce4-session contains information how to create / add rules. Try: > > % pkg query %M xfce4-session I removed everything I have tried and created the rules following the examples in the pkg message. And this is how it looks: In /usr/local/etc/polkit-1/rules.d/60-xfce-power.rules polkit.addRule(function (action, subject) { if (action.id == "org.freedesktop.consolekit.system.restart" || action.id == "org.freedesktop.consolekit.system.stop" && subject.isInGroup("pasi")) { return polkit.Result.YES; } }); polkit.addRule(function (action, subject) { if (action.id == "org.freedesktop.consolekit.system.suspend" && subject.isInGroup("pasi")) { return polkit.Result.YES; } }); Kind regards Pasi From owner-freebsd-xfce@freebsd.org Fri Feb 5 10:09:28 2016 Return-Path: Delivered-To: freebsd-xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE8BBA77A81 for ; Fri, 5 Feb 2016 10:09:28 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8043717E0 for ; Fri, 5 Feb 2016 10:09:28 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id g62so19946364wme.0 for ; Fri, 05 Feb 2016 02:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=sMi2TV5EQ1byBSBRfbJDH4iCYTZ6YhNcRqu0mVMON3g=; b=piRxBScmzpEoo1LI9QiTCtJR0fjdyu4s51ciQWlx01A+yv2rB4dLNrtCp4FGDTUv8X eTra/ZSjsXlmog8gWXQqUPZqh/imVpeVZt2fk3AspL5J7XrjGkmYp51plUdH0jA1XQ8y 3FvMfC78dgFBjEXjiUSsgg/1VsBpdKdBdxurZwPIsa+/zLoOi5O+ojpbt76W+bjCa3pS k1XvYfl3wGiV2COdV1QAiINDzM7inQl/C8ipW9oiMiXwnti3SRiPkePo5h+kTYIz7KGP Dtb4cZQcsDvkuJ+4pQbaBylnXnHLCYNid/n5cBL7ENNpuOYG7yWnAeQY5Wbd60JQ2htJ AQ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=sMi2TV5EQ1byBSBRfbJDH4iCYTZ6YhNcRqu0mVMON3g=; b=LLaLM+uD1w1mGgiywd1UIZ1X+kR5ouj09lZDSq3YpUoGiZSxDxEFWCbSBpJzhW/6yk CD1DFOJ6xmyZgILt0Gs+VIK70w9jnH6M+Se6gQhlzv9stlZ3FTe3iRZRPetUYf8PC3zq uhWW7UnXCYGbKiTujE6FAhJdz503lvCN0TyDqkbvErjEEOBmWWISUcryHpkPeQeYKQnp NObMRe0dkyOg8bwwP39M11RiQtIo0l2XWUXyH83v8LyUbzkfHpVWaei5MDrdmL2ehFUj jS4dLU5fJ+jDHTLLhRfpc8ddV4IslpsBmpVDDh58nfWvFentDE1NsJzEn2nP8U4kEhG/ bVTg== X-Gm-Message-State: AG10YOSHDXPa9ozZFRxm9S9xe5iR2T2qI2n6Fv1aGgh3EQKN0bqR4vJa+ViqnXrKExtphw== X-Received: by 10.194.5.36 with SMTP id p4mr13227804wjp.167.1454666966392; Fri, 05 Feb 2016 02:09:26 -0800 (PST) Received: from tuborg (AMarseille-655-1-778-245.w92-158.abo.wanadoo.fr. [92.158.19.245]) by smtp.gmail.com with ESMTPSA id ks5sm12715972wjb.13.2016.02.05.02.09.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 02:09:25 -0800 (PST) Date: Fri, 5 Feb 2016 11:06:34 +0000 From: Olivier Duchateau To: Pasi Koivisto Cc: freebsd-xfce@freebsd.org Subject: Re: I keep getting errors about power-manager in my logs Message-Id: <20160205110634.be601b5813f6e66731e416cd@gmail.com> In-Reply-To: <1454419518.2207.7.camel@me.com> References: <1454109164.41619.8.camel@me.com> <20160201182124.a2d6efd0083ea86c336e6430@gmail.com> <1454419518.2207.7.camel@me.com> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; i386-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 10:09:29 -0000 On Tue, 02 Feb 2016 14:25:18 +0100 Pasi Koivisto wrote: > Hi and thanks for helping Olivier! > > > Please could you post complete log somewhere. Kill the xfce4-power > > -manager daemon, then restarts it. > > > > % xfce4-power-manager --quit > > % xfce4-power-manager --no-daemon --debug --dump > > This is my log without the rules. > https://dpaste.de/pkZK > This is my log with the rules. > https://dpaste.de/HyHZ > > When I tried xfce4-power-manager --no-daemon --debug --dump I got a > core dump and all that was added to the log file was this: > > Feb 2 14:07:17 X230 su: pasi to root on /dev/pts/0 > Feb 2 14:07:55 X230 sm-mta[2059]: unable to qualify my own domain name > (X230) -- using short name > Feb 2 14:07:55 X230 sm-msp-queue[2197]: My unqualified host name > (X230) unknown; sleeping for retry > Feb 2 14:08:49 X230 gcr-prompter[2242]: GLib-GObject: The property > GtkSettings:gtk-button-images is deprecated and shouldn't be used > anymore. It will be removed in a future version. > Feb 2 14:08:49 X230 gcr-prompter[2242]: Gtk: GtkDialog mapped without > a transient parent. This is discouraged. > Feb 2 14:08:55 X230 sm-msp-queue[2197]: unable to qualify my own > domain name (X230) -- using short name > Feb 2 14:09:03 X230 kernel: error: [drm:pid909:gen6_sanitize_pm] > *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected > 00070000, was 16070000 > Feb 2 14:09:41 X230 su: pasi to root on /dev/pts/0 > Feb 2 14:10:09 X230 kernel: pid 2367 (xfce4-power-manager), uid 0: > exited on signal 5 (core dumped) > > Link to the dump file. > https://www.dropbox.com/s/paw3jqxj4t0k9c3/xfce4-power-manager.core?dl=0 > > > > xfce4-session contains information how to create / add rules. Try: > > > > % pkg query %M xfce4-session > > I removed everything I have tried and created the rules following the > examples in the pkg message. And this is how it looks: > > In /usr/local/etc/polkit-1/rules.d/60-xfce-power.rules > > polkit.addRule(function (action, subject) { > if (action.id == "org.freedesktop.consolekit.system.restart" || > action.id == "org.freedesktop.consolekit.system.stop" > && subject.isInGroup("pasi")) { > return polkit.Result.YES; > } > }); > > polkit.addRule(function (action, subject) { > if (action.id == "org.freedesktop.consolekit.system.suspend" > && subject.isInGroup("pasi")) { > return polkit.Result.YES; > } > }); > > > Kind regards > Pasi > > Hi, Sorry for the delay, I was away from my computer for my day job. Unfortunately gdb complains about core dump. Can you post command of uname -a? As I use ConsoleKit2 (fork of ConsoleKit), suspend/resume support is better, debug output is different. Are you able to recompile some ports? If not, give me result of following commands: % pkg query %ro consolekit % pkg -vv | grep url | awk -F' ' '{printf "%s\n", $3}' Regards, -- olivier From owner-freebsd-xfce@freebsd.org Sat Feb 6 21:12:19 2016 Return-Path: Delivered-To: freebsd-xfce@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D631EA9F9F1 for ; Sat, 6 Feb 2016 21:12:19 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADFE415A9 for ; Sat, 6 Feb 2016 21:12:19 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id g73so162262877ioe.3 for ; Sat, 06 Feb 2016 13:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZxcBU6O74VlSsd30YQFoHaE6bSSZkr7NH/06IWu9cnU=; b=A1hMEQEFnlEed1tISfckI4uLHhhG1CG9534Do11zNE7P07kWOLJ1wflDeHRF3NSV68 jdRdF7l64NH/5CkYO8k/rnQm5XNOdeWLg3WaqVEVhfud4/IuI7nP2JpkTP5y+cd1ue4A FxKE+V6kfrwM02Yl+RGWhdZlU0FtAQ0R0T2UX9sDXSvF2B1GiEWH0SuAKy5OZDIaHSGS UyDh08HW//BWqxFInNmlSAzadcDu50mA7PjD9g7mnx1nEgHzEb8tGBRudieQIUrWwRgD P/R9l9mXm4TsACChTQfpj7L9ZmZY2MVUKJXN3NKplWyKMREnhBOsBTNnLfbmrNP/nUjP 18Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZxcBU6O74VlSsd30YQFoHaE6bSSZkr7NH/06IWu9cnU=; b=G59pfDQC8wK3mp51uuYYffBRmybkInLpQnB+nt3QwqIfzc2xYmMmx81Met1ZirxmEQ TG255BzyfUn8znOljQ/1JGejhLdY+ZhXVCB/FpVnJ31mo8caTF5Uok5uGovMc7OwrDX5 ruWvYCAIAk47C6gEKOKWV8IrmtPmWONWBqt2uwOuaeyPwvQdjw2IIKoee+uEFRWJToj/ qeg3a7RVGN6Q0iqEmz3nrAMJSoGpnbMT8wuOfakSXidj4aw+f5Ro/DdBucNT2DnMQ1Cc VDP+ymttxgsOXjewbHq90bQDnvFedoxarOMcvWg3TgZh1gbhYhsOyNTeSGe0cG1r3HV9 KXsQ== X-Gm-Message-State: AG10YOSL3vOIDLxHSB2HON5b/HU4puihGtCTDUuA57aTn6sqtwB9rFwFmbBqokyeQOlbomUGUYwiIQ7x6RxzFg== MIME-Version: 1.0 X-Received: by 10.107.129.89 with SMTP id c86mr22279272iod.102.1454793139128; Sat, 06 Feb 2016 13:12:19 -0800 (PST) Received: by 10.107.31.7 with HTTP; Sat, 6 Feb 2016 13:12:19 -0800 (PST) In-Reply-To: <1454710344.5569.5.camel@me.com> References: <1454109164.41619.8.camel@me.com> <20160201182124.a2d6efd0083ea86c336e6430@gmail.com> <1454419518.2207.7.camel@me.com> <20160205110634.be601b5813f6e66731e416cd@gmail.com> <1454710344.5569.5.camel@me.com> Date: Sat, 6 Feb 2016 22:12:19 +0100 Message-ID: Subject: Re: I keep getting errors about power-manager in my logs From: Olivier Duchateau To: Pasi Koivisto Cc: freebsd-xfce@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 21:12:20 -0000 2016-02-05 23:12 GMT+01:00 Pasi Koivisto : > On Fri, 2016-02-05 at 11:06 +0000, Olivier Duchateau wrote: > >> Hi, >> >> Sorry for the delay, I was away from my computer for my day job. > > No problem, I am grateful for any help I can get! > >> Unfortunately gdb complains about core dump. Can you post command of >> uname -a? > > FreeBSD X230 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #17 r295259: Thu > Feb 4 17:16:33 CET 2016 root@X230:/usr/obj/usr/src/sys/GENERIC > amd64 > > >> As I use ConsoleKit2 (fork of ConsoleKit), suspend/resume support is >> better, debug output is different. >> >> Are you able to recompile some ports? If not, give me result of >> following commands: >> >> % pkg query %ro consolekit >> % pkg -vv | grep url | awk -F' ' '{printf "%s\n", $3}' > > I can recompile but I would prefer to use packages Great, I just created new repository on my own server. You can add the "xfpm" repo. 1. Download my public key, and copy into /usr/local/etc/ssl (for example) https://people.freebsd.org/~olivierd/81-7-17-160.blue.kundencontroller.cert 2. Create the following file /usr/local/etc/pkg/repos/xfpm.conf xfpm: { url: "pkg+http://81.7.17.160/packages/xfpm/${ABI}", mirror_type: "srv", signature_type: "pubkey", pubkey: "/usr/local/etc/ssl/81-7-17-160.blue.kundencontroller.cert", enabled: yes, priority: 100 } 3. Update database pkg update pkg upgrade Xfce4-power-manager was build with debug symbols. I also updated sysutils/consolekit. I hope xfce4-power-manager will no crash. Then try to launch daemon (make sure it is not running) with following command: % xfce4-power-manager --no-daemon --debug --dump > > pkg query %ro consolekit > x11/slim > sysutils/hal > x11-wm/xfce4-session > audio/pulseaudio > > pkg -vv | grep url | awk -F' ' '{printf "%s\n", $3}' > "pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest", > > > Cheers > Pasi > -- olivier