Package: thunderbird
Version: 1:45.8.0-2
Severity: normal

Dear Maintainer,

On a laptop running Debian stretch, the following sequence of events
occurred:

  * Upgraded icdeove package from 1:45.6.0-2 to 1:45.8.0-2

  * Launched Thunderbird for the first time after package upgrade (log
    attached).

  * Migration completed successfully after a few minutes (lot's of disk
    I/O from 'find' subprocesses)

  * Then a window poped up saying "Thunderbird is already running, but
    is not responding" (screenshot attached).

  * The kernel logged many AppArmor denials, mainly for the lockfile in
    ~/.icedove (but also some peculiar PCI device access, log attached).

I resolved the problem by executing:

  $ rm .thunderbird
  $ mv .icedove .thunderbird

I suggest appending a message within the migration zenity popup message
or in README.Debian.gz that reads something like:

  Users of AppArmor will need to manually delete the ~/.thunderbird
  symlink and move ~/.icedove to ~/.thunderbird due to the AppArmor
  policy installed by Thunderbird having prohibited access to the old
  directory.

I thought about coming up with little bit of automation, perhaps
conditiionally appending the above message, but there doesn't seem to be
any good way to detect AppArmor, for instance "/usr/sbin/aa-status
--enabled" fails unless run as root.

BTW, I'm having a frustrating time post-migration: My profile is 49GB,
Thunderbird decided it needs to re-download all that mail, and it has
also fogotten my per-folder "Sort By > Threaded" preference, that I'll
have to re-click hundreds of times, but only after waiting few days for
that 49GB to be synchronized so that the UI is less frozen.  I have two
other installations of Thunderbird that will likely face the same fate.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages thunderbird depends on:
ii  debianutils               4.8.1
ii  fontconfig                2.11.0-6.7+b1
ii  libasound2                1.1.3-5
ii  libatk1.0-0               2.22.0-1
ii  libc6                     2.24-9
ii  libcairo2                 1.14.8-1
ii  libdbus-1-3               1.10.16-1
ii  libdbus-glib-1-2          0.108-2
ii  libevent-2.0-5            2.0.21-stable-3
ii  libffi6                   3.2.1-6
ii  libfontconfig1            2.11.0-6.7+b1
ii  libfreetype6              2.6.3-3+b2
ii  libgcc1                   1:6.3.0-10
ii  libgdk-pixbuf2.0-0        2.36.5-2
ii  libglib2.0-0              2.50.3-1
ii  libgtk2.0-0               2.24.31-2
ii  libhunspell-1.4-0         1.4.1-2+b2
ii  libicu57                  57.1-5
ii  libnspr4                  2:4.12-6
ii  libnss3                   2:3.26.2-1
ii  libpango-1.0-0            1.40.4-1
ii  libpangocairo-1.0-0       1.40.4-1
ii  libpangoft2-1.0-0         1.40.4-1
ii  libpixman-1-0             0.34.0-1
ii  libsqlite3-0              3.16.2-3
ii  libstartup-notification0  0.12-4+b2
ii  libstdc++6                6.3.0-10
ii  libvpx4                   1.6.1-2
ii  libx11-6                  2:1.6.4-3
ii  libxcomposite1            1:0.4.4-2
ii  libxdamage1               1:1.1.4-2+b3
ii  libxext6                  2:1.3.3-1+b2
ii  libxfixes3                1:5.0.3-1
ii  libxrender1               1:0.9.10-1
ii  libxt6                    1:1.1.5-1
ii  psmisc                    22.21-2.1+b2
ii  x11-utils                 7.7+3+b1
ii  zlib1g                    1:1.2.8.dfsg-5

Versions of packages thunderbird recommends:
ii  hunspell-en-us [hunspell-dictionary]  20070829-7
ii  lightning                             1:45.8.0-2

Versions of packages thunderbird suggests:
ii  apparmor          2.11.0-2
ii  fonts-lyx         2.2.2-1
ii  libgssapi-krb5-2  1.15-1

-- no debconf information

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
# Output from running "thunderbird --verbose" for the first time prior to
# .icedove migration

INFO  -> [[ ... using verbose mode ... ]]
DEBUG -> found folder '/home/gturner/.icedove'
DEBUG -> not found folder or symlink '/home/gturner/.thunderbird'
DEBUG -> Start Thunderbird profile adoptions, please be patient!
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG -> Try to symlink '/home/gturner/.thunderbird' to '/home/gturner/.icedove'
DEBUG -> Success!

# Migration stalled for several minutes at this point, heavy disk I/O with
# "find" subprocess... 

INFO  -> No fix up for /home/gturner/.thunderbird/default/mimeTypes.rdf needed.
DEBUG -> No migration mark '/home/gturner/.thunderbird/.migrated' found, 
checking mimeapps.list files for possible migration.
DEBUG -> Fixing broken '/home/gturner/.config/mimeapps.list'.
DEBUG -> A copy of the configuration file of default applications for some MIME 
types
DEBUG -> was saved into 
'/home/gturner/.config/mimeapps.list.backup_thunderbird_migration-2017-03-25-111152'.
INFO  -> No fix up for /home/gturner/.local/share/applications/mimeapps.list 
needed.
DEBUG -> Setting migration mark '/home/gturner/.thunderbird/.migrated'.
INFO  -> Thunderbird Profile adoptions done.
DEBUG -> Collect all files we've made a backup.
INFO  -> No backups related to the Icedove to Thunderbird transition found.
DEBUG -> Found folder /home/gturner/.icedove, found a symlink 
/home/gturner/.thunderbird pointing to /home/gturner/.icedove
DEBUG -> call '/usr/lib/thunderbird/thunderbird '

(thunderbird:6847): GnomeUI-WARNING **: While connecting to session manager:
None of the authentication protocols specified are supported.

# Thunderbird poped up the "Thunderbird is already running, but is not
# responding" dialog, then exited once "OK" was clicked
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.553:409): 
apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=8527 comm="thunderbird" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.553:410): 
apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=8527 comm="thunderbird" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.553:411): 
apparmor="DENIED" operation="open" profile="thunderbird" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=8527 comm="thunderbird" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.569:412): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.673:413): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.773:414): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.873:415): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Mar 25 11:44:21 p4xb3k kernel: audit: type=1400 audit(1490467461.973:416): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Mar 25 11:44:22 p4xb3k kernel: audit: type=1400 audit(1490467462.073:417): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Mar 25 11:44:22 p4xb3k kernel: audit: type=1400 audit(1490467462.173:418): 
apparmor="DENIED" operation="file_lock" profile="thunderbird" 
name="/home/gturner/.icedove/default/.parentlock" pid=8525 comm="thunderbird" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000

Attachment: signature.asc
Description: PGP signature

Reply via email to