tpsd gets very confused when the user tries to use tps frontend to delete a Persistent Storage that was unlocked and mounted in GNOME Disks
This is probably a corner case, but the log suggests we fail to correctly detect whether the Persistent Storage is correctly unlocked and mounted, which might have worse consequences than this:
Oct 30 05:33:31 amnesia polkitd(authority=local)[4236]: Operator of unix-session:2 successfully authenticated as unix-user:amnesia to gain TEMPORARY authorization for action
org.freedesktop.udisks2.modify-device-system for system-bus-nam[IPV6 REMOVED]1.173 [/usr/bin/gnome-disks --gapplication-service] (owned by unix-user:amnesia)
Oct 30 05:33:45 amnesia sudo[13636]: amnesia : PWD=/home/amnesia ; USER=tails-persistent-storage ; COMMAND=/usr/local/bin/tails-persistent-storage
Oct 30 05:33:45 amnesia sudo[13636]: pam_unix(sudo:session): session opened for user tails-persistent-storage(uid=115) by (uid=1000)
Oct 30 05:33:45 amnesia systemd[7096]: Started app-gnome-org.boum.tails.PersistentStorage-13636.scope.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://[URL REMOVED]
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 760.
Oct 30 05:33:45 amnesia sudo[13641]: tails-persistent-storage : PWD=/home/amnesia ; USER=amnesia ; ENV=INHERIT_FD=3 ; COMMAND=/usr/local/lib/run-with-env --env-file=/tmp/tmp.1KUieg7CJd-env --delete --
/usr/local/lib/tps-frontend
Oct 30 05:33:45 amnesia sudo[13641]: pam_unix(sudo:session): session opened for user amnesia(uid=1000) by (uid=115)
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.State
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'UNLOCKED' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.Error
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.IsCreated
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.IsUnlocked
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:177: [0] Calling is_upgraded()
Oct 30 05:33:46 amnesia tpsd[6028]: INFO:device.py:179: [0] Executing command cryptsetup luksDump --dump-json-metadata /dev/sda2
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:179: [0] Done executing command
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:197: [0] LUKS keyslots JSON dump: {'0': {'type': 'luks2', 'key_size': 64, 'af': {'type': 'luks1', 'stripes': 4000, 'hash': 'sha256'}, 'area': {'type': 'raw',
'offset': '32768', 'size': '258048', 'encryption': 'aes-xts-plain64', 'key_size': 64}, 'kdf': {'type': 'argon2id', 'time': 4, 'memory': 1048576, 'cpus': 4, 'salt': 'redacted'}}}
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:213: [0] cryptsetup_adjusted_memory_kib = 8073574
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:224: [0] upgraded_keyslots = ['0']
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:232: [0] is_upgraded() = True
Oct 30 05:33:46 amnesia tpsd[6028]: INFO:device.py:645: [0] Executing command findmnt --source=/dev/dm-0 --mountpoint=/live/persistence/TailsData_unlocked
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:645: [0] Done executing command
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.IsUpgraded
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:177: [0] Calling is_upgraded()
Oct 30 05:33:46 amnesia tpsd[6028]: INFO:device.py:179: [0] Executing command cryptsetup luksDump --dump-json-metadata /dev/sda2
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:179: [0] Done executing command
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:197: [0] LUKS keyslots JSON dump: {'0': {'type': 'luks2', 'key_size': 64, 'af': {'type': 'luks1', 'stripes': 4000, 'hash': 'sha256'}, 'area': {'type': 'raw',
'offset': '32768', 'size': '258048', 'encryption': 'aes-xts-plain64', 'key_size': 64}, 'kdf': {'type': 'argon2id', 'time': 4, 'memory': 1048576, 'cpus': 4, 'salt': 'redacted'}}}
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:213: [0] cryptsetup_adjusted_memory_kib = 8073574
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:224: [0] upgraded_keyslots = ['0']
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:232: [0] is_upgraded() = True
Oct 30 05:33:46 amnesia tpsd[6028]: INFO:device.py:645: [0] Executing command findmnt --source=/dev/dm-0 --mountpoint=/live/persistence/TailsData_unlocked
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:device.py:645: [0] Done executing command
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.BootDeviceIsSupported
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.Device
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/dev/sda2' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/PersistentDirectory.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'PersistentDirectory' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/PersistentDirectory.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/PersistentDirectory.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/PersistentDirectory.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/PersistentDirectory.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/PersistentDirectory.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/BrowserBookmarks.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'BrowserBookmarks' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/BrowserBookmarks.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/BrowserBookmarks.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/BrowserBookmarks.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/BrowserBookmarks.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/BrowserBookmarks.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/WelcomeScreen.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'WelcomeScreen' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/WelcomeScreen.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/WelcomeScreen.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/WelcomeScreen.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/WelcomeScreen.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/WelcomeScreen.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Printers.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'Printers' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Printers.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Printers.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Printers.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Printers.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Printers.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/NetworkConnections.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'NetworkConnections' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/NetworkConnections.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/NetworkConnections.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/NetworkConnections.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/NetworkConnections.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/NetworkConnections.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/TorConfiguration.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'TorConfiguration' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/TorConfiguration.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/TorConfiguration.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/TorConfiguration.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/TorConfiguration.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/TorConfiguration.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Electrum.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'Electrum' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Electrum.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Electrum.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Electrum.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Electrum.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Electrum.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Thunderbird.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'Thunderbird' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Thunderbird.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Thunderbird.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Thunderbird.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Thunderbird.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Thunderbird.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/GnuPG.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'GnuPG' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/GnuPG.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/GnuPG.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/GnuPG.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/GnuPG.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/GnuPG.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Pidgin.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'Pidgin' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Pidgin.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Pidgin.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Pidgin.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Pidgin.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Pidgin.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/SSHClient.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'SSHClient' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/SSHClient.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/SSHClient.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/SSHClient.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/SSHClient.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/SSHClient.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/AdditionalSoftware.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'AdditionalSoftware' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/AdditionalSoftware.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/AdditionalSoftware.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/AdditionalSoftware.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/AdditionalSoftware.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/AdditionalSoftware.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Dotfiles.Id
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value 'Dotfiles' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Dotfiles.Description
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '' to Variant type 's'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Dotfiles.IsActive
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Dotfiles.IsEnabled
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value True to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Dotfiles.HasData
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value False to Variant type 'b'
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:220: [0] Handling property read of /org/boum/tails/PersistentStorage/Features/Dotfiles.Job
Oct 30 05:33:46 amnesia tpsd[6028]: DEBUG:object.py:226: [0] Converting value '/' to Variant type 'o'
Oct 30 05:34:00 amnesia sudo[13655]: amnesia : PWD=/home/amnesia ; USER=root ; COMMAND=/usr/local/lib/tails-get-date
Oct 30 05:34:00 amnesia sudo[13655]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Oct 30 05:34:00 amnesia sudo[13655]: pam_unix(sudo:session): session closed for user root
Oct 30 05:34:00 amnesia sudo[13657]: amnesia : PWD=/home/amnesia ; USER=root ; COMMAND=/usr/local/lib/tails-get-date
Oct 30 05:34:00 amnesia sudo[13657]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Oct 30 05:34:00 amnesia sudo[13657]: pam_unix(sudo:session): session closed for user root
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:object.py:133: [3] Handling method call Service.Delete
Oct 30 05:34:07 amnesia tpsd[6028]: INFO:service.py:234: Deleting Persistent Storage...
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:177: [3] Calling is_upgraded()
Oct 30 05:34:07 amnesia tpsd[6028]: INFO:device.py:179: [3] Executing command cryptsetup luksDump --dump-json-metadata /dev/sda2
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:179: [3] Done executing command
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:197: [3] LUKS keyslots JSON dump: {'0': {'type': 'luks2', 'key_size': 64, 'af': {'type': 'luks1', 'stripes': 4000, 'hash': 'sha256'}, 'area': {'type': 'raw',
'offset': '32768', 'size': '258048', 'encryption': 'aes-xts-plain64', 'key_size': 64}, 'kdf': {'type': 'argon2id', 'time': 4, 'memory': 1048576, 'cpus': 4, 'salt': 'redacted'}}}
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:213: [3] cryptsetup_adjusted_memory_kib = 8073574
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:224: [3] upgraded_keyslots = ['0']
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:232: [3] is_upgraded() = True
Oct 30 05:34:07 amnesia tpsd[6028]: INFO:device.py:645: [3] Executing command findmnt --source=/dev/dm-0 --mountpoint=/live/persistence/TailsData_unlocked
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:device.py:645: [3] Done executing command
Oct 30 05:34:07 amnesia tpsd[13662]: chattr: Operation not supported while setting flags on /live/persistence/TailsData_unlocked/persistence.conf
Oct 30 05:34:07 amnesia tpsd[6028]: ERROR:object.py:193: [3] Command '['chattr', '+S', '/live/persistence/TailsData_unlocked/persistence.conf']' returned non-zero exit status 1.
Oct 30 05:34:07 amnesia tpsd[6028]: Traceback (most recent call last):
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/service.py", line 241, in Delete
Oct 30 05:34:07 amnesia tpsd[6028]: feature.Deactivate()
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/feature.py", line 139, in Deactivate
Oct 30 05:34:07 amnesia tpsd[6028]: raise FailedPreconditionError(msg)
Oct 30 05:34:07 amnesia tpsd[6028]: tps.dbus.errors.FailedPreconditionError: Can't deactivate features when state is 'NOT_UNLOCKED'
Oct 30 05:34:07 amnesia tpsd[6028]: During handling of the above exception, another exception occurred:
Oct 30 05:34:07 amnesia tpsd[6028]: Traceback (most recent call last):
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/dbus/object.py", line 178, in handle_method_call_inner
Oct 30 05:34:07 amnesia tpsd[6028]: result = func(*parameters)
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/service.py", line 245, in Delete
Oct 30 05:34:07 amnesia tpsd[6028]: self.refresh_features()
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/service.py", line 661, in refresh_features
Oct 30 05:34:07 amnesia tpsd[6028]: bindings = self.config_file.parse()
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/config_file.py", line 107, in parse
Oct 30 05:34:07 amnesia tpsd[6028]: with self._open(self.path) as f:
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
Oct 30 05:34:07 amnesia tpsd[6028]: return next(self.gen)
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/config_file.py", line 183, in _open
Oct 30 05:34:07 amnesia tpsd[6028]: with open(path, *args, **kwargs, opener=self._opener) as f:
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/config_file.py", line 178, in _opener
Oct 30 05:34:07 amnesia tpsd[6028]: subprocess.check_call(["chattr", "+S", path])
Oct 30 05:34:07 amnesia tpsd[6028]: File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Oct 30 05:34:07 amnesia tpsd[6028]: raise CalledProcessError(retcode, cmd)
Oct 30 05:34:07 amnesia tpsd[6028]: subprocess.CalledProcessError: Command '['chattr', '+S', '/live/persistence/TailsData_unlocked/persistence.conf']' returned non-zero exit status 1.
Oct 30 05:34:07 amnesia tpsd[6028]: DEBUG:object.py:154: [3] Done handling method call Service.Delete
Oct 30 05:34:07 amnesia org.boum.tails.PersistentStorage.desktop[13645]: ERROR:window.py:233: failed to delete Persistent Storage: GDBus.Error:subprocess.CalledProcessError: Command '['chattr', '+S',
'/live/persistence/TailsData_unlocked/persistence.conf']' returned non-zero exit status 1.
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:object.py:133: [4] Handling method call Service.Delete
Oct 30 05:34:13 amnesia tpsd[6028]: INFO:service.py:234: Deleting Persistent Storage...
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:177: [4] Calling is_upgraded()
Oct 30 05:34:13 amnesia tpsd[6028]: INFO:device.py:179: [4] Executing command cryptsetup luksDump --dump-json-metadata /dev/sda2
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:179: [4] Done executing command
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:197: [4] LUKS keyslots JSON dump: {'0': {'type': 'luks2', 'key_size': 64, 'af': {'type': 'luks1', 'stripes': 4000, 'hash': 'sha256'}, 'area': {'type': 'raw',
'offset': '32768', 'size': '258048', 'encryption': 'aes-xts-plain64', 'key_size': 64}, 'kdf': {'type': 'argon2id', 'time': 4, 'memory': 1048576, 'cpus': 4, 'salt': 'redacted'}}}
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:213: [4] cryptsetup_adjusted_memory_kib = 8073574
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:224: [4] upgraded_keyslots = ['0']
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:232: [4] is_upgraded() = True
Oct 30 05:34:13 amnesia tpsd[6028]: INFO:device.py:645: [4] Executing command findmnt --source=/dev/dm-0 --mountpoint=/live/persistence/TailsData_unlocked
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:device.py:645: [4] Done executing command
Oct 30 05:34:13 amnesia tpsd[13666]: chattr: Operation not supported while setting flags on /live/persistence/TailsData_unlocked/persistence.conf
Oct 30 05:34:13 amnesia tpsd[6028]: ERROR:object.py:193: [4] Command '['chattr', '+S', '/live/persistence/TailsData_unlocked/persistence.conf']' returned non-zero exit status 1.
Oct 30 05:34:13 amnesia tpsd[6028]: Traceback (most recent call last):
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/service.py", line 241, in Delete
Oct 30 05:34:13 amnesia tpsd[6028]: feature.Deactivate()
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/feature.py", line 139, in Deactivate
Oct 30 05:34:13 amnesia tpsd[6028]: raise FailedPreconditionError(msg)
Oct 30 05:34:13 amnesia tpsd[6028]: tps.dbus.errors.FailedPreconditionError: Can't deactivate features when state is 'NOT_UNLOCKED'
Oct 30 05:34:13 amnesia tpsd[6028]: During handling of the above exception, another exception occurred:
Oct 30 05:34:13 amnesia tpsd[6028]: Traceback (most recent call last):
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/dbus/object.py", line 178, in handle_method_call_inner
Oct 30 05:34:13 amnesia tpsd[6028]: result = func(*parameters)
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/service.py", line 245, in Delete
Oct 30 05:34:13 amnesia tpsd[6028]: self.refresh_features()
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/service.py", line 661, in refresh_features
Oct 30 05:34:13 amnesia tpsd[6028]: bindings = self.config_file.parse()
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/config_file.py", line 107, in parse
Oct 30 05:34:13 amnesia tpsd[6028]: with self._open(self.path) as f:
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
Oct 30 05:34:13 amnesia tpsd[6028]: return next(self.gen)
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/config_file.py", line 183, in _open
Oct 30 05:34:13 amnesia tpsd[6028]: with open(path, *args, **kwargs, opener=self._opener) as f:
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3/dist-packages/tps/configuration/config_file.py", line 178, in _opener
Oct 30 05:34:13 amnesia tpsd[6028]: subprocess.check_call(["chattr", "+S", path])
Oct 30 05:34:13 amnesia tpsd[6028]: File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Oct 30 05:34:13 amnesia tpsd[6028]: raise CalledProcessError(retcode, cmd)
Oct 30 05:34:13 amnesia tpsd[6028]: subprocess.CalledProcessError: Command '['chattr', '+S', '/live/persistence/TailsData_unlocked/persistence.conf']' returned non-zero exit status 1.
Oct 30 05:34:13 amnesia tpsd[6028]: DEBUG:object.py:154: [4] Done handling method call Service.Delete
Oct 30 05:34:13 amnesia org.boum.tails.PersistentStorage.desktop[13645]: ERROR:window.py:233: failed to delete Persistent Storage: GDBus.Error:subprocess.CalledProcessError: Command '['chattr', '+S',
'/live/persistence/TailsData_unlocked/persistence.conf']' returned non-zero exit status 1.
Oct 30 05:34:16 amnesia sudo[13677]: amnesia : PWD=/home/amnesia ; USER=root ; COMMAND=/usr/local/sbin/tails-debugging-info