Your message dated Mon, 12 Jul 2021 11:07:08 +0200 (CEST)
with message-id <[email protected]>
and subject line Re: Bug#990807: thunderbird incapable to run only with 
~/.thunderbird that was migrated from icedove
has caused the Debian Bug report #990807,
regarding thunderbird incapable to run only with ~/.thunderbird that was 
migrated from icedove
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
990807: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990807
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: thunderbird
Version: 1:78.11.0-2
Severity: normal
X-Debbugs-Cc: Carsten Schoenert <[email protected]>, Paul Menzel 
<[email protected]>

I'd like to describe my problem, which is related to #950941.

I have copyied over ~/thunderbird from my old laptop. Now when
I start thunderbird, it start's normally. However at next start it
will fail and complain and tell me that I should resolve the
situation.

Why?

Because on first start, the second layer of wrappers will
apparently make a **copy** of ~/.thunderbird to ~/.icedove.

And on the second start the first layer wrapper will see:

    $ ls -l .thunderbird/ .icedove/ -d
    drwx------ 3 me mi 4096  7. Jul 22:24 .icedove/
    drwx------ 5 me mi 4096  2. Jul 21:57 .thunderbird/

and ... fail.

So I've tried to find out. Took me now over 1.5 hours and
I still haven't found out because... well it's complex.
And even with the whole complexity the wrapper is still
not able to handle (in the sense of behaving like
thunderbird itself would in the same situation) the
situation.

So I'd suggest something in the vein of:

    $ cat /usr/bin/thunderbird
    #!/bin/bash
    if [ "$SKIP_THUNDERBIRD_WRAPPER" != "" ]; then 
/usr/lib/thunderbird/thunderbird "$@"; fi

But then again one could simply do:

    alias thunderbird=/usr/lib/thunderbird/thunderbird

(the path /usr/lib/thunderbird/thunderbird not being
trivial to find...). Or maybe [also] document that...

Yet another alternative is to use upstream?

What do you think?

Greetings and thanks!
*t

-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_CH:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages thunderbird depends on:
ii  debianutils          4.11.2
ii  fontconfig           2.13.1-4.2
ii  libatk1.0-0          2.36.0-2
ii  libbotan-2-17        2.17.3+dfsg-2
ii  libbz2-1.0           1.0.8-4
ii  libc6                2.31-12
ii  libcairo-gobject2    1.16.0-5
ii  libcairo2            1.16.0-5
ii  libdbus-1-3          1.12.20-2
ii  libdbus-glib-1-2     0.110-6
ii  libevent-2.1-7       2.1.12-stable-1
ii  libffi7              3.3-6
ii  libfontconfig1       2.13.1-4.2
ii  libfreetype6         2.10.4+dfsg-1
ii  libgcc-s1            10.2.1-6
ii  libgdk-pixbuf-2.0-0  2.42.2+dfsg-1
ii  libglib2.0-0         2.66.8-1
ii  libgtk-3-0           3.24.24-4
ii  libicu67             67.1-6
ii  libjson-c5           0.15-2
ii  libnspr4             2:4.29-1
ii  libpango-1.0-0       1.46.2-3
ii  libstdc++6           10.2.1-6
ii  libvpx6              1.9.0-1
ii  libx11-6             2:1.7.1-1
ii  libx11-xcb1          2:1.7.1-1
ii  libxcb-shm0          1.14-3
ii  libxcb1              1.14-3
ii  libxext6             2:1.3.3-1.1
ii  libxrender1          1:0.9.10-1
ii  psmisc               23.4-2
ii  x11-utils            7.7+5
ii  zlib1g               1:1.2.11.dfsg-2

Versions of packages thunderbird recommends:
ii  hunspell-de-de [hunspell-dictionary]  20161207-9
ii  hunspell-en-us [hunspell-dictionary]  1:2019.10.06-1

Versions of packages thunderbird suggests:
ii  apparmor          2.13.6-10
pn  fonts-lyx         <none>
ii  libgssapi-krb5-2  1.18.3-5
ii  libgtk2.0-0       2.24.33-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Carsten,

thanks a lot for bearing with me!

On Sun, 11 Jul 2021, Carsten Schoenert wrote:

Hello Tomas,

Am 07.07.21 um 22:58 schrieb Tomas Pospisek:

I'd like to describe my problem, which is related to #950941.

I have copyied over ~/thunderbird from my old laptop. Now when
I start thunderbird, it start's normally. However at next start it
will fail and complain and tell me that I should resolve the
situation.

Why?

Because on first start, the second layer of wrappers will
apparently make a **copy** of ~/.thunderbird to ~/.icedove.

the wrapper will never start a copy of any folder. We were thinking in
2017 if simply copying the old profile to the new folder is a good idea.
But we concluded rather quickly this is a bad idea for several reasons.

So no, you making here a wrong assumption, the wrapper isn't copying
anything.

And on the second start the first layer wrapper will see:

    $ ls -l .thunderbird/ .icedove/ -d
    drwx------ 3 me mi 4096  7. Jul 22:24 .icedove/
    drwx------ 5 me mi 4096  2. Jul 21:57 .thunderbird/

and ... fail.

I can't say why you have two folders here, but I can think of you copied
the symlinked folder into a real folder,

That was it! Thank you!

What I apparently originally did was:

    $ scp -r old_laptop:.thunderbird .thunderbird

the result of which was:

    $ ssh old_laptop "ls -ld .thunderbird"
    lrwxrwxrwx 1 tpo tpo 8 Nov 25  2012 .thunderbird -> .icedove

    $ ls -ld .thunderbird
    drwx------ 5 tpo tpo 4096 Jul 12 10:47 .thunderbird

this was happen to my back in
2017 while testing the stuff. And then the wrapper refuses to start
anything because we don't know what to use for (from a PoV of the wrapper).

If you don't need the old .icedove folder anymore then remove it. The
wrapper script will start Thunderbird without further modifications.
It's the Thunderbird binary that is requiring the folder
$(HOME)/.thunderbird.

I've now copied ~/.icedove and ~/.thunderbird over from the old laptop as they were there and thunderbird now works correctly here:

    $ ls -ld .thunderbird .icedove
    drwx------ 5 tpo tpo 4096 Jul 12 10:47 .icedove
    lrwxrwxrwx 1 tpo tpo    8 Nov 25  2012 .thunderbird -> .icedove

If I'd like to get rid of ~/.icedove and only have a standard ~/.thunderbird directory - which I am assuming is possible - then what would the correct way to do that be?

So I've tried to find out. Took me now over 1.5 hours and
I still haven't found out because... well it's complex.
And even with the whole complexity the wrapper is still
not able to handle (in the sense of behaving like
thunderbird itself would in the same situation) the
situation.

So I'd suggest something in the vein of:

    $ cat /usr/bin/thunderbird
    #!/bin/bash
    if [ "$SKIP_THUNDERBIRD_WRAPPER" != "" ]; then /usr/lib/thunderbird/thunderbird 
"$@"; fi

But then again one could simply do:

    alias thunderbird=/usr/lib/thunderbird/thunderbird

(the path /usr/lib/thunderbird/thunderbird not being
trivial to find...). Or maybe [also] document that...

Yet another alternative is to use upstream?

I don't want to add any more complexity to the wrapper, it's not worth
in my eyes. You reported for a very very long time the first new issue
regarding the Icedove -> Thunderbird transition, that let me assume
there is no real issue in the wrapper today.

The wrapper script has a commented out line 'set -x' in line 21. I
suggest to activate this setting and look into the output while calling
'thunderbird' from the command line. This will give more ozutput that is
helpful for a diagnose.

Thanks a lot!
*t

--- End Message ---

Reply via email to