Bug#772131: systemd: Suspending by closing the lid opens Polkit dialogue after resume

2016-02-02 Thread Michael Biebl
Control: reassign -1 kdelibs-bin
Control: retitle -1 kde does not properly cope with logind being restarted

On Mon, 08 Dec 2014 21:51:24 +0100 Ralf Jung  wrote:
> Hi,
> 
> > postinst has:
> > 
> > if [ -n "$2" ]; then
> > systemctl daemon-reexec || true
> > systemctl try-restart systemd-logind.service || true
> > systemctl try-restart systemd-networkd.service || true
> > systemctl try-restart systemd-resolved.service || true
> > systemctl try-restart systemd-timesyncd.service || true
> > fi
> > 
> > 
> > Can you run those commands step-by-step and check if a specific restart
> > is able to trigger the issue?
> > Might be, that some KDE program doesn't cope with the restart of
> > systemd-logind and doesn't properly reconnect to the logind D-Bus service.
> 
> As you guessed: After the systemd-logind restart, suspend is broken.
> 
> It was my understanding that D-Bus operates on a per-call basis and
> there is no such thing as a "connection" between a d-bus client and a
> service it's accessing (there's of course a "connection" between each
> peer and the bus daemon, but that's an implementation detail) - but that
> may just as well be wrong.
> 

I'm going to re-assign this to kdelibs-bin, the package shipping kdeinit4,
which you mentioned in your initial message.
The KDE maintainers can then handle it from there.
It would probably help if you posted the KDE versions you use.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#772131: systemd: Suspending by closing the lid opens Polkit dialogue after resume

2014-12-08 Thread Ralf Jung
Hi,

 postinst has:
 
 if [ -n $2 ]; then
 systemctl daemon-reexec || true
 systemctl try-restart systemd-logind.service || true
 systemctl try-restart systemd-networkd.service || true
 systemctl try-restart systemd-resolved.service || true
 systemctl try-restart systemd-timesyncd.service || true
 fi
 
 
 Can you run those commands step-by-step and check if a specific restart
 is able to trigger the issue?
 Might be, that some KDE program doesn't cope with the restart of
 systemd-logind and doesn't properly reconnect to the logind D-Bus service.

As you guessed: After the systemd-logind restart, suspend is broken.

It was my understanding that D-Bus operates on a per-call basis and
there is no such thing as a connection between a d-bus client and a
service it's accessing (there's of course a connection between each
peer and the bus daemon, but that's an implementation detail) - but that
may just as well be wrong.

Kind regards,
Ralf


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772131: systemd: Suspending by closing the lid opens Polkit dialogue after resume

2014-12-07 Thread Ralf Jung
Hi,

 This behavior only started recently, about the same time as the upgrade to 
 systemd 215-7.
 KDE has not seen updates in 2 weeks. That's why I reported this against 
 systemd.
 
 Is this behaviour reproducible after a reboot?

Indeed it is not, though I was sure I saw this not just after systemd
upgrades... sorry for this. It's probably just another duplicate of
systemd upgrade restarts something, and some things break until next
reboot.

Kind regards,
Ralf


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772131: systemd: Suspending by closing the lid opens Polkit dialogue after resume

2014-12-07 Thread Michael Biebl
Am 07.12.2014 um 19:39 schrieb Ralf Jung:
 Hi,
 
 This behavior only started recently, about the same time as the upgrade to 
 systemd 215-7.
 KDE has not seen updates in 2 weeks. That's why I reported this against 
 systemd.

 Is this behaviour reproducible after a reboot?
 
 Indeed it is not, though I was sure I saw this not just after systemd
 upgrades... sorry for this. It's probably just another duplicate of
 systemd upgrade restarts something, and some things break until next
 reboot.

postinst has:

if [ -n $2 ]; then
systemctl daemon-reexec || true
systemctl try-restart systemd-logind.service || true
systemctl try-restart systemd-networkd.service || true
systemctl try-restart systemd-resolved.service || true
systemctl try-restart systemd-timesyncd.service || true
fi


Can you run those commands step-by-step and check if a specific restart
is able to trigger the issue?
Might be, that some KDE program doesn't cope with the restart of
systemd-logind and doesn't properly reconnect to the logind D-Bus service.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#772131: systemd: Suspending by closing the lid opens Polkit dialogue after resume

2014-12-05 Thread Michael Biebl
Am 05.12.2014 um 12:52 schrieb Ralf Jung:
 Package: systemd
 Version: 215-7
 Severity: normal
 
 Dear Maintainer,
 
 when I close my laptop's lid to suspend the machine, after I resume it, a 
 Polkit
 dialogue is shown, asking for permission to suspend the system.
 The caller-PID belongs to systemd-logind. The subject PID is kdeinit4.
 If I select the Suspend option in the K-menu, the screen is locked, but the
 machine does not suspend. After unlocking, I see the same Polkit dialogue.
 
 I would expext no dialogue to appear when I suspend via the lid, and 
 suspending
 through the menu should work without entering my password - as was the case 
 previously.
 
 loginctl does see my session:
 $ loginctl list-sessions 
SESSIONUID USER SEAT
  1   1000 rseat0   
 c1110 lightdm  seat0   
 
 2 sessions listed.
 
 This behavior only started recently, about the same time as the upgrade to 
 systemd 215-7.
 KDE has not seen updates in 2 weeks. That's why I reported this against 
 systemd.

Is this behaviour reproducible after a reboot?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature