Bug#919795: thunderbird: cannot save changes to addressbook
Few more data points (3rd being most important): 1) while I can't edit or create new contacts under "Personal Address Book", I: - can create new list - via "New List" button - can add/remove members on existing list by right clicking on the list, selecting "Edit List" - but can't add member on existing list by right clicking on the list, and selecting "New contact" (as that bring the same form as original "New Contact" button) 2) I've managed to find somewhat similar simptoms ("OK" buttons does not do anything, contact screen does not go away, and contact does not get added). But it's ten years old, on Windows XP, and shows additional error messages so does not look too related unfortunately. Still, here it is: https://bugzilla.mozilla.org/show_bug.cgi?id=473966 3) Driven by desparation, I've used debootstrap to create chrooted minbase Stretch chroot, installed thunderbird inside it (via "chroot stretch_root apt-get install --no-install-recommends thunderbird") copied /etc/hosts, /etc/machine-id to it, done "adduser mnalis" and used "mount --bind" to include directories /home/mnalis /tmp /proc /dev /dev/pts /sys /run/shm inside chroot. Then I've run thunderbird in chrooted Stretch, and it worked without problem (using same /home/mnalis/.thunderbird that original onn-chrooted Stretch system has problems with). But debootstrap installed thunderbird 1:60.2.1-2~deb9u1. After exiting chroot and starting regular thunderbird (with same profile in homedir), it again doesn't work. Then in chroot I upgraded just thunderbird from Default Stretch main repo 1:60.2.1-2~deb9u1 to Security version 1:60.4.0-1~deb9u1 and it stopped working in chroot too. Downgrading to 1:60.2.1-2~deb9u1 fixes addressbook again. So it seems that it is regression in the Stretch security upgrade from 1:60.2.1-2~deb9u1 to 1:60.4.0-1~deb9u1 that breaks addressbook functionality. -- Opinions above are GNU-copylefted.
Bug#919795: thunderbird: cannot save changes to addressbook
On Sat, Jan 19, 2019 at 06:48:46PM +0100, Carsten Schoenert wrote: > > -- Configuration Files: > > /etc/apparmor.d/usr.bin.thunderbird [Errno 2] No such file or directory: > > '/etc/apparmor.d/usr.bin.thunderbird' > > you have AppAprmor installed and there is some problem with the AA > profile for TB which can't be found. I do have apparmor installed, but it is not enabled. % sudo aa-status apparmor module is loaded. apparmor filesystem is not mounted. > I expect you will see some 'ACCESS denied' messages in the output of the > dmesg command so Thunderbird can't write the information to the > harddisk. Please check for such messages. I've cleared message buffer with "dmesg -c", run thunderbird and experienced problem, and then run "dmesg" again, which produced no output. So I would guess apparmor has not blocked anything. (on other machine where I do have it enabled, it always log to dmesg any access denied messages) Also, I do not think it is probable that it is permission problem with write access to "abook.mab" - if it were, I probably also couldn't delete entries from addressbook, which I CAN do. I just can't add new contact or modify existing ones. It feels like the OK button in GUI is not linked to doing anything. Could that perhaps be the case (linked to that "Gtk-WARNING **: Theme parsing error" messages when starting up Thunderbird)? > $ sudo apt install --reinstall thunderbird Interestingly enough, this did not reinstall /etc/apparmor.d/usr.bin.thunderbird file. I did "dpkg --purge thunderbird; apt-get install thunderbird" which did reinstall it. But since apparmor isn't enabled, it didn't help. > If you don't want to use the ApprArmor functionality you can disable the > profile for TB. But we prefer to fix such issues. Yeah, I would prefer that too, but too many things break on this system with apparmor, so I disabled it after some period of testing. Just to make sure, I have now completely removed apparmor, apparmor-utils, apparmor-profiles, and apparmor-profiles-extra packages from the system and rebooted. The same bug in thunderburd is still there. Any other ideas? Or can you reproduce the bug? -- Opinions above are GNU-copylefted.
Bug#919795: thunderbird: cannot save changes to addressbook
Hello Matija, Am 19.01.19 um 18:03 schrieb Matija Nalis: > -- System Information: > Debian Release: 9.6 > APT prefers stable > APT policy: (700, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores) > Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8), > LANGUAGE=hr_HR.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: sysvinit (via /sbin/init) > > Versions of packages thunderbird depends on: > ... > Versions of packages thunderbird suggests: > ii apparmor 2.11.0-3+deb9u2 > ... > -- Configuration Files: > /etc/apparmor.d/usr.bin.thunderbird [Errno 2] No such file or directory: > '/etc/apparmor.d/usr.bin.thunderbird' you have AppAprmor installed and there is some problem with the AA profile for TB which can't be found. I expect you will see some 'ACCESS denied' messages in the output of the dmesg command so Thunderbird can't write the information to the harddisk. Please check for such messages. You will find some additional information in the file /usr/share/doc/thunderbird/README.apparmor You should be able to fix the missing AA profle by reinstalling thunderbird. $ sudo apt install --reinstall thunderbird If you don't want to use the ApprArmor functionality you can disable the profile for TB. But we prefer to fix such issues. $ sudo ln -s /etc/apparmor.d/usr.bin.thunderbird \ /etc/apparmor.d/disable/usr.bin.thunderbird -- Regards Carsten Schoenert
Bug#919795: thunderbird: cannot save changes to addressbook
Package: thunderbird Version: 1:60.4.0-1~deb9u1 Severity: important When I try to make a change to address book contact (either "Personal Address Book" or "Collected Addresses") I am unable to do so. For example, I doubleclick the contact to open it, then change e-mail address field. But when I press "OK" the dialog does not go away as it should. It just stays there open (see attached picture) no matter how many times I click "OK". (I expected the screen to close and contact information be updated) When I finally give up and press "Cancel", the dialog goes away, and the addressbook *looks* like it was updated afterall, but as soon as addressbook is closed and reopened again I can see that no changes have taken place. Same problem arises when I try to add new contact. Only write operation on addressbook that DOES work is "Delete" - i can right click on contact and select Delete and it is really gone forever. Running "thunderbird --verbose" shows: INFO -> [[ ... using verbose mode ... ]] DEBUG -> Found folder /home/mnalis/.icedove, found a symlink /home/mnalis/.thunderbird pointing to /home/mnalis/.icedove DEBUG -> call '/usr/lib/thunderbird/thunderbird ' (thunderbird:2851): Gtk-WARNING **: Theme parsing error: :1:34: Expected ')' in color definition (thunderbird:2851): Gtk-WARNING **: Theme parsing error: :1:77: Expected ')' in color definition I'm running thunderbird 1:60.4.0-1~deb9u1 on XFCE on Debian 9.6 (Stretch) with no active apparmor (apparmor filesystem is not mounted). No messages in dmesg are visible. It was upgraded regularily from old debian versions on each cycle (including thunderbird -> icedove -> thunderbird migration). Addressbook worked normally in the past, but I cannot pinpoint when it stopped working. I've tried (with no success): - starting as icedove wrapper (same issue) - removing icedove package (same issue) - starting thunderbird --safe-mode (same issue) - removing abook.mab file (the thunderbird starts with empty personal address book, but I'm still unable to add new entries to it) - creating new profile (address book is empty, but I can't add anything to it) - doing rm -rf ~/.icedove ~/.thunderbird (get new wizard etc, but still can't add to address book) - trying with another user on the same machine (same issue) -- System Information: Debian Release: 9.6 APT prefers stable APT policy: (700, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores) Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8), LANGUAGE=hr_HR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages thunderbird depends on: ii debianutils 4.8.1.1 ii fontconfig2.11.0-6.7+b1 ii libatk1.0-0 2.22.0-1 ii libc6 2.24-11+deb9u3 ii libcairo-gobject2 1.14.8-1 ii libcairo2 1.14.8-1 ii libdbus-1-3 1.10.26-0+deb9u1 ii libdbus-glib-1-2 0.108-2 ii libevent-2.0-52.0.21-stable-3 ii libffi6 3.2.1-6 ii libfontconfig12.11.0-6.7+b1 ii libfreetype6 2.6.3-3.2 ii libgcc1 1:6.3.0-18+deb9u1 ii libgdk-pixbuf2.0-02.36.5-2+deb9u2 ii libglib2.0-0 2.50.3-2 ii libgtk-3-03.22.11-1 ii libgtk2.0-0 2.24.31-2 ii libjsoncpp1 1.7.4-3 ii libpango-1.0-01.40.5-1 ii libpangocairo-1.0-0 1.40.5-1 ii libpangoft2-1.0-0 1.40.5-1 ii libstartup-notification0 0.12-4+b2 ii libstdc++66.3.0-18+deb9u1 ii libvpx4 1.6.1-3+deb9u1 ii libx11-6 2:1.6.4-3+deb9u1 ii libx11-xcb1 2:1.6.4-3+deb9u1 ii libxcb-shm0 1.12-1 ii libxcb1 1.12-1 ii libxext6 2:1.3.3-1+b2 ii libxrender1 1:0.9.10-1 ii libxt61:1.1.5-1 ii psmisc22.21-2.1+b2 ii x11-utils 7.7+3+b1 ii zlib1g1:1.2.8.dfsg-5 Versions of packages thunderbird recommends: ii hunspell-en-gb [hunspell-dictionary] 1:5.2.5-1 ii hunspell-hr [hunspell-dictionary] 1:5.2.5-1 pn lightning Versions of packages thunderbird suggests: ii apparmor 2.11.0-3+deb9u2 ii fonts-lyx 2.2.2-1 ii libgssapi-krb5-2 1.15-1+deb9u1 -- Configuration Files: /etc/apparmor.d/usr.bin.thunderbird [Errno 2] No such file or directory: '/etc/apparmor.d/usr.bin.thunderbird' -- no debconf information