Bug#905454: php-common: Update to php-common (1:62) stuck in php.common-post at systemd-tty-ask

Jaap Keuter jaap.keuter at xs4all.nl
Sun Aug 5 17:14:22 BST 2018


On 05-08-18 09:29, Michael Biebl wrote:
> Am 05.08.2018 um 09:12 schrieb Michael Biebl:
> 
>> hm, update-debian.s /home/jaap/bin/update-debian.sh
>> /home/jaap/bin/update-debian.sh...
>> How exactly do you trigger the update?
>> Is system fully booted at this point?
>> Can you provide us with steps how to reproduce the issue?

Sure, the process tree shows what's going on. let me elaborate.

konsole -session 10dd616e75000153319032500000014310008_1533191244_922307
Booted into a KDE plasma session, which gives me konsole.

  |   |   |-bash
Konsole runs bash as the shell.

  |   |   |   `-update-debian.s /home/jaap/bin/update-debian.sh
In the shell I manually run a script
(https://gitlab.com/JaapKeuter/update-debian) that supports me in updating Debian.

  |   |   |       `-sudo aptitude
The script runs sudo aptitude to do the updates. I have typed in my password for
sudo.

  |   |   |           `-aptitude
It runs aptitude to do the work.

  |   |   |               |-dpkg --status-fd 96 --configure --pending
It runs dpkg to work with the package.

  |   |   |               |   `-php-common.post
/var/lib/dpkg/info/php-common.postinst configure 1:61
It runs the package script to finish up the update of the package.

  |   |   |               |       `-systemctl start phpsessionclean.timer
It runs systemctl to start a systemd timer.

  |   |   |               |           `-systemd-tty-ask --watch

It runs systemd-tty-ask-password-agent to ask for permission.


As a further experiment I've entered the following in a bash shell to see what
would happen:

$ systemctl start phpsessionclean.timer

It pops up a dialog "Authentication Required - PolicyKit1 KDE Agent"
which says "Authentication is required to start 'phpsessionclean.timer".
It sits there for 25 seconds, after which it disappears outputting on the shell:
"Failed to start phpsessionclean.timer: Connection timed out
See system logs and 'systemctl status phpsessionclean.timer' for details."

So this is what might be happening on the update as well. As I was doing other
things at the time, the dialog must have long since disappeared during the update.

> 
> Please also attach the output of "reportbug --template systemd" to this
> bug report,

Done, see reportbug-systemd-backup-20180805-3946-zyzamfhh.gz


> Assuming you haven't rebooted the system, please also include the output
> of "journalctl -alb" and dmesg.
> 

The system is normally switched off, so that info isn't available anymore.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug-systemd-backup-20180805-3946-zyzamfhh.gz
Type: application/gzip
Size: 95927 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180805/3023d3ba/attachment-0002.gz>


More information about the Pkg-systemd-maintainers mailing list