Changing passphrase of Persistent Storage reports an error even if it eventually succeeds after the frontend stopped waiting for it
From wb:7052d016b3824a8af9d43e2ce295fc9, I understand the frontend times out after waiting ~30s, while the operation succeeds in the backend after ~45s:
фев 20 16:06:15 amnesia tpsd[7221]: INFO:service.py:478: Changing passphrase...
фев 20 16:06:17 amnesia kernel: Dropped outbound packet: IN= OUT=lo SRC=[IPV4 REMOVED] DST=[IPV4 REMOVED] LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=1632 DF PROTO=TCP SPT=55974 DPT=9050 WINDOW=512 RES=0x00 ACK PSH FIN URGP=0
фев 20 16:06:17 amnesia kernel: Dropped outbound packet: IN= OUT=lo SRC=[IPV4 REMOVED] DST=[IPV4 REMOVED] LEN=80 TOS=0x00 PREC=0xC0 TTL=64 ID=7519 PROTO=ICMP TYPE=3 CODE=3 [SRC=[IPV4 REMOVED] DST=[IPV4 REMOVED] LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=1632
DF PROTO=TCP SPT=55974 DPT=9050 WINDOW=512 RES=0x00 ACK PSH FIN URGP=0 ]
фев 20 16:06:43 amnesia org.boum.tails.PersistentStorage.desktop[19635]: ERROR:change_passphrase_dialog.py:83: failed to change passphrase: Timeout was reached
фев 20 16:06:58 amnesia tpsd[7221]: INFO:service.py:486: Done changing passphrase
Any reason why we should not switch to timeout_msec=GLib.MAXINT
, that the frontend uses for activation/deactivation of features, and deletion/creation of Persistent Storage?
Alternatively, I suppose that bumping the timeout to 1 min should work most of the time.
And in wb:c36cc391a0761b8618b76029e7202c65:
Dec 20 20:09:39 amnesia tpsd[5207]: INFO:service.py:445: Changing passphrase...
Dec 21 02:10:01 amnesia org.boum.tails.PersistentStorage.desktop[11038]: ERROR:change_passphrase_dialog.py:79: failed to change passphrase: Timeout was reached
Dec 21 02:10:09 amnesia tpsd[5207]: INFO:service.py:453: Done changing passphrase
And in wb:5d38a757ea97a65bbc810bc05d31bb93:
Mar 05 12:02:17 amnesia tpsd[5640]: INFO:service.py:478: Changing passphrase...
Mar 05 12:02:43 amnesia org.boum.tails.PersistentStorage.desktop[100287]: ERROR:change_passphrase_dialog.py:83: failed to change passphrase: Timeout was reached
Mar 05 12:02:55 amnesia org.boum.tails.PersistentStorage.desktop[100287]: INFO:change_passphrase_dialog.py:104: Passphrase was changed successfully
Mar 05 12:02:56 amnesia tpsd[5640]: INFO:service.py:486: Done changing passphrase
Edited by intrigeri