From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INVALID_MSGID, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 02CB3216BD for ; Mon, 30 Sep 2024 09:58:25 +0200 (CEST) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1svBIV-00000009JSN-1B9o for ml@inbox.vuxu.org; Mon, 30 Sep 2024 02:58:23 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1svBIT-00000004nM2-2K7J for ml@inbox.vuxu.org; Mon, 30 Sep 2024 02:58:21 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1svBIQ-00000004nLt-1dD8 for ding@lists.math.uh.edu; Mon, 30 Sep 2024 02:58:18 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1svBIP-00000009JRu-040n for ding@lists.math.uh.edu; Mon, 30 Sep 2024 02:58:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ITNNOJ5h1JNdj2AZkj94Q9ZXzoG5lxnM2p4x4o5QEPE=; b=MWfSUDWG2fFqwMEUmrjCduMgLi K/CA2xyB52WewuMoEAyp2tFPAUufTDdgDuHTIi69EX2EXKhimyLv0dU9Lh4wURcdzUoirqvXVT+go MBGnG4U9kQwhrHmQPBwuAbEWCp0vv4m05oNkInouHaonjOnxfajxadtZSYGFFDz95gmA=; Received: from thaodan.de ([185.216.177.71]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1svBII-0005pJ-6G for ding@gnus.org; Mon, 30 Sep 2024 09:58:12 +0200 Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154]) by thaodan.de (Postfix) with ESMTPSA id 7155AD00024; Mon, 30 Sep 2024 10:58:08 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1727683088; bh=YD5ht0zx4o84RaBkfcnwcNVdnYJHQCY/JVwHHLPsa6s=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=J1mokEEtrx3t9r30FRZRgGE93TmFQflsQNXoEess+ClbSjjOgSZolvLRrd03YytYS yJTC+e9CnM20c0Cnz3M+HR7/2AGm0d2BUZSu0dNrc/JtMWdHcI9aESS+7TUvL55vu2 OPVMUfMTkb+fn3/ItGfwIbZd4eMm83VUJFrdK9d/mVZQGi9WHwurXG7qYPXbi4Nzzj kdjll3YQGq9PuY1Muy/r1TB7qXFUEgu4J0WFAXLYou7yuANlixBBueA5hEcBJydPw/ dHM/PZDnfivS/15SIJnEN0IoS6IRSO5hUKBMQBRjpx7DYXCyuEtAHk8Y++WlnkLGP7 1EtP58dYg9rnC63aVBmTcUM+pgQewtYm9uFByXGa/BU3tkQXSMu5uq9Es/xXDnz8oQ hzMtvdIHkO6uR61cBqDSaGQvspzMdmliymhl1EY8zJzSht6uvnLWxFUWZ5R7RCRywU AQd50BkPn0++QZjIp/zwJE+AujIsMikoCE7+xGELk+wxvOvnKaEjlZ0mN/CDuzMkNu LtYpjSN3+EB8mqmIALfQDAsUiu/okGM7ZBab/W2k5JCnZg++b7R/8YFV1k8N6a/O4l xRyAK6yQH85J5LFsl96ZfWGwyUxtQHJYoB/KapEHHzwbz5eUol6eFBBQSWQHUb7FBb FwZoLQkQR+/fxl0ryMoVvwqs= From: =?utf-8?Q?Bj=C3=B6rn?= Bidar To: Michael Albinus Cc: ding@gnus.org Subject: Re: gnus-dbus-close-on-sleep does not close servers In-Reply-To: <87msjqbb2m.fsf@gmx.de> (Michael Albinus's message of "Sun, 29 Sep 2024 19:53:53 +0200") References: <877cax5f1p.fsf@gmx.de> <87msjqbb2m.fsf@gmx.de> Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 c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WZYZCU9Q7LBA== Mail-Followup-To: Michael Albinus , ding@gnus.org Date: Mon, 30 Sep 2024 10:58:07 +0300 Message-ID: <87plolshdc.fsf@> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk Michael Albinus writes: > Bj=C3=B6rn Bidar writes: > > Hi Bj=C3=B6rn, > >>> What is the value of gnus-dbus-sleep-registration-object after >>> starting gnus? >> >> The value is: >> ((:signal :system "org.freedesktop.login1.Manager" "PrepareForSleep") >> ("org.freedesktop.login1" "/org/freedesktop/login1" >> gnus-dbus-sleep-handler)) > > This looks proper. > > Please evaluate (dbus-list-known-names :system) - it must contain the > service "org.freedesktop.login1". $ (dbus-list-known-names :system)=20 ("org.freedesktop.DBus" "org.freedesktop.systemd1" "org.fedoraproject.FirewallD1" "org.freedesktop.ModemManager1" "org.freedesktop.NetworkManager" "net.hadess.PowerProfiles" "org.freedesktop.RealtimeKit1" "org.freedesktop.machine1" "org.freedesktop.PolicyKit1" "org.bluez" "com.redhat.NewPrinterNotification" "org.freedesktop.Avahi" "org.freedesktop.UDisks2" "fi.w1.wpa_supplicant1" "org.freedesktop.fwupd" "org.freedesktop.GeoClue2" "org.freedesktop.login1" "org.freedesktop.DisplayManager" "org.freedesktop.UPower" "org.freedesktop.UPower.PowerProfiles") > > Instrument gnus-dbus-sleep-handler, for example by > (trace-function-background 'gnus-dbus-sleep-handler) > > Send your system to sleep. After it wakes up, Emacs shall have a buffer > *trace-output* which shows the calls of gnus-dbus-sleep-handler. Here's the output: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 -> (gnus-dbus-sleep-handler t) 1 <- gnus-dbus-sleep-handler: nil =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 -> (gnus-dbus-sleep-handler nil) 1 <- gnus-dbus-sleep-handler: nil Thank you. Best Regards, Bj=C3=B6rn