all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#53250: icedove clears user data on upgrade
@ 2022-01-14 11:47 Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-14 12:02 ` bug#53250: icedove clears data Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-17 20:49 ` Jonathan Brielmaier
  0 siblings, 2 replies; 8+ messages in thread
From: Nicholas von Klitzing via Bug reports for GNU Guix @ 2022-01-14 11:47 UTC (permalink / raw)
  To: 53250

Hello Guix,

Every time I upgrade icedove (via guix pull && guix system reconfigure), all of my user data is cleared from icedove.

All of my mail settings, accounts, etc. are just gone and I need to manually set them all up again.

When I check ~/.icedove, my profile and settings are still there after the upgrades, but they're not loaded by icedove.

```
nicholas@guix14 ~$ ls .icedove/
dz83arz0.default/  profiles.ini
nicholas@guix14 ~$ cat .icedove/profiles.ini
[Profile0]
Name=default
IsRelative=1
Path=dz83arz0.default
Default=1

[General]
StartWithLastProfile=1
Version=2
```

Kind regards,
Nicholas




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears data
  2022-01-14 11:47 bug#53250: icedove clears user data on upgrade Nicholas von Klitzing via Bug reports for GNU Guix
@ 2022-01-14 12:02 ` Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-14 14:52   ` Maxime Devos
  2022-01-14 15:25   ` bug#53250: icedove clears user data on upgrade Ludovic Courtès
  2022-01-17 20:49 ` Jonathan Brielmaier
  1 sibling, 2 replies; 8+ messages in thread
From: Nicholas von Klitzing via Bug reports for GNU Guix @ 2022-01-14 12:02 UTC (permalink / raw)
  To: 53250

A brief follow up:

It seems the ~/.icedove folder is not used by icedove (it was probably a relic of when I used icedove-wayland).

Now looking into ~./thunderbird instead I see several more profiles.

```
nicholas@guix14 ~/.thunderbird$ ls
bv7r86h9.default/            installs.ini               profiles.ini
gdmykixq.default-default-1/  k6sjw3jm.default-default/
nicholas@guix14 ~/.thunderbird$ cat profiles.ini
[Profile2]
Name=default-default-1
IsRelative=1
Path=gdmykixq.default-default-1

[Profile1]
Name=default
IsRelative=1
Path=bv7r86h9.default
Default=1

[Profile0]
Name=default-default
IsRelative=1
Path=k6sjw3jm.default-default

[Install281FC43567D8867D]
Default=gdmykixq.default-default-1
Locked=1

[General]
StartWithLastProfile=1
Version=2

[Install3F4F07DFB18472B1]
Default=k6sjw3jm.default-default
Locked=1
```

Launching icedove with `icedove -p` and then iterating through the 3 listed profiles all leads to a blank profile, except for default-default. The default-default profile contains all of my mail account and settings.

I now set default-default to be my main profile (resolving my issue) but I doubt this is what users expect the software to do.

Is it possible that icedove creates a new profile on upgrades and sets it as default? I definitely did not manually create 3 profiles.

Kind regards,
Nicholas





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears data
  2022-01-14 12:02 ` bug#53250: icedove clears data Nicholas von Klitzing via Bug reports for GNU Guix
@ 2022-01-14 14:52   ` Maxime Devos
  2022-01-17  9:44     ` Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-14 15:25   ` bug#53250: icedove clears user data on upgrade Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: Maxime Devos @ 2022-01-14 14:52 UTC (permalink / raw)
  To: Nicholas von Klitzing, 53250

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

Nicholas von Klitzing via Bug reports for GNU Guix schreef op vr 14-01-
2022 om 12:02 [+0000]:
> A brief follow up:
> 
> It seems the ~/.icedove folder is not used by icedove (it was probably a relic of when I used icedove-wayland).
> 
> Now looking into ~./thunderbird instead I see several more profiles.
> 
> ```
> nicholas@guix14 ~/.thunderbird$ ls
> bv7r86h9.default/            installs.ini               profiles.ini
> gdmykixq.default-default-1/  k6sjw3jm.default-default/
> nicholas@guix14 ~/.thunderbird$ cat profiles.ini
> [Profile2]
> [...]
> [Profile1]
> [...]
> [Profile0]
> [...]
> [Install281FC43567D8867D]
> [General]
> [...]
> [Install3F4F07DFB18472B1]
> [...]
> ```
> 
> Launching icedove with `icedove -p` and then iterating through the 3 listed profiles all leads to a blank profile, except for default-default. The default-default profile contains all of my mail account and settings.
> 
> I now set default-default to be my main profile (resolving my issue) but I doubt this is what users expect the software to do.
> 
> Is it possible that icedove creates a new profile on upgrades and sets it as default? I definitely did not manually create 3 profiles.

Maybe take a look at the following code in 'icedove':

         ;; Fixes issue where each installation directory generates its
own profile.
         ;; See e.g.
https://trac.torproject.org/projects/tor/ticket/31457
         (add-after 'patch-source-shebangs 'fix-profile-setting
           (lambda _
             (substitute* "comm/mail/moz.configure"
               (("MOZ_DEDICATED_PROFILES, True")
                "MOZ_DEDICATED_PROFILES, False"))
             #t))

Seems like this was fixed at some point but the fix broke?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears user data on upgrade
  2022-01-14 12:02 ` bug#53250: icedove clears data Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-14 14:52   ` Maxime Devos
@ 2022-01-14 15:25   ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2022-01-14 15:25 UTC (permalink / raw)
  To: Nicholas von Klitzing; +Cc: 53250

Hi,

Nicholas von Klitzing <nicholas@nvk.pm> skribis:

> It seems the ~/.icedove folder is not used by icedove (it was probably a relic of when I used icedove-wayland).
>
> Now looking into ~./thunderbird instead I see several more profiles.

Indeed; when running ‘guix pull’, you might have seen this entry:

  Icedove 91: profile folder moved to @file{~/.thunderbird}

  Icedove 91 expects your profile folder under @file{~/.thunderbird}.
  You need to manually copy your Icedove profiles from @file{~/.icedove} to
  @file{~./thunderbird}.  It may be required to start Icedove with
  @option{--ProfileManager} for the first time after the migration.

HTH,
Ludo’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears data
  2022-01-14 14:52   ` Maxime Devos
@ 2022-01-17  9:44     ` Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-17  9:50       ` Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-17 10:36       ` Maxime Devos
  0 siblings, 2 replies; 8+ messages in thread
From: Nicholas von Klitzing via Bug reports for GNU Guix @ 2022-01-17  9:44 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 53250

Hi Maxime,

It seems that this issue is describing the new fix that is needed:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/33734

Only a simple patch would be necessary:
https://gitlab.torproject.org/acat/tor-browser/-/commit/92f480c30178c0847e6866a4115a9393f1d49a28

Kind regards,
Nicholas

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Friday, January 14th, 2022 at 2:52 PM, Maxime Devos <maximedevos@telenet.be> wrote:

> Nicholas von Klitzing via Bug reports for GNU Guix schreef op vr 14-01-
>
> 2022 om 12:02 [+0000]:
>
> > A brief follow up:
> >
> > It seems the ~/.icedove folder is not used by icedove (it was probably a relic of when I used icedove-wayland).
> >
> > Now looking into ~./thunderbird instead I see several more profiles.
> >
> >     nicholas@guix14 ~/.thunderbird$ ls
> >     bv7r86h9.default/            installs.ini               profiles.ini
> >     gdmykixq.default-default-1/  k6sjw3jm.default-default/
> >     nicholas@guix14 ~/.thunderbird$ cat profiles.ini
> >     [Profile2]
> >     [...]
> >     [Profile1]
> >     [...]
> >     [Profile0]
> >     [...]
> >     [Install281FC43567D8867D]
> >     [General]
> >     [...]
> >     [Install3F4F07DFB18472B1]
> >     [...]
> >
> >
> > Launching icedove with `icedove -p` and then iterating through the 3 listed profiles all leads to a blank profile, except for default-default. The default-default profile contains all of my mail account and settings.
> >
> > I now set default-default to be my main profile (resolving my issue) but I doubt this is what users expect the software to do.
> >
> > Is it possible that icedove creates a new profile on upgrades and sets it as default? I definitely did not manually create 3 profiles.
>
> Maybe take a look at the following code in 'icedove':
>
> ;; Fixes issue where each installation directory generates its
>
> own profile.
>
> ;; See e.g.
>
> https://trac.torproject.org/projects/tor/ticket/31457
>
> (add-after 'patch-source-shebangs 'fix-profile-setting
>
> (lambda _
>
> (substitute* "comm/mail/moz.configure"
>
> (("MOZ_DEDICATED_PROFILES, True")
>
> "MOZ_DEDICATED_PROFILES, False"))
>
> #t))
>
> Seems like this was fixed at some point but the fix broke?
>
> Greetings,
>
> Maxime.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears data
  2022-01-17  9:44     ` Nicholas von Klitzing via Bug reports for GNU Guix
@ 2022-01-17  9:50       ` Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-17 10:36       ` Maxime Devos
  1 sibling, 0 replies; 8+ messages in thread
From: Nicholas von Klitzing via Bug reports for GNU Guix @ 2022-01-17  9:50 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 53250

[-- Attachment #1: Type: text/plain, Size: 2644 bytes --]



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Monday, January 17th, 2022 at 9:44 AM, Nicholas von Klitzing <nicholas@nvk.pm> wrote:

> Hi Maxime,
>
> It seems that this issue is describing the new fix that is needed:
>
> https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/33734
>
> Only a simple patch would be necessary:
>
> https://gitlab.torproject.org/acat/tor-browser/-/commit/92f480c30178c0847e6866a4115a9393f1d49a28
>
> Kind regards,
>
> Nicholas
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Friday, January 14th, 2022 at 2:52 PM, Maxime Devos maximedevos@telenet.be wrote:
>
> > Nicholas von Klitzing via Bug reports for GNU Guix schreef op vr 14-01-
> >
> > 2022 om 12:02 [+0000]:
> >
> > > A brief follow up:
> > >
> > > It seems the ~/.icedove folder is not used by icedove (it was probably a relic of when I used icedove-wayland).
> > >
> > > Now looking into ~./thunderbird instead I see several more profiles.
> > >
> > >     nicholas@guix14 ~/.thunderbird$ ls
> > >     bv7r86h9.default/            installs.ini               profiles.ini
> > >     gdmykixq.default-default-1/  k6sjw3jm.default-default/
> > >     nicholas@guix14 ~/.thunderbird$ cat profiles.ini
> > >     [Profile2]
> > >     [...]
> > >     [Profile1]
> > >     [...]
> > >     [Profile0]
> > >     [...]
> > >     [Install281FC43567D8867D]
> > >     [General]
> > >     [...]
> > >     [Install3F4F07DFB18472B1]
> > >     [...]
> > >
> > >
> > > Launching icedove with `icedove -p` and then iterating through the 3 listed profiles all leads to a blank profile, except for default-default. The default-default profile contains all of my mail account and settings.
> > >
> > > I now set default-default to be my main profile (resolving my issue) but I doubt this is what users expect the software to do.
> > >
> > > Is it possible that icedove creates a new profile on upgrades and sets it as default? I definitely did not manually create 3 profiles.
> >
> > Maybe take a look at the following code in 'icedove':
> >
> > ;; Fixes issue where each installation directory generates its
> >
> > own profile.
> >
> > ;; See e.g.
> >
> > https://trac.torproject.org/projects/tor/ticket/31457
> >
> > (add-after 'patch-source-shebangs 'fix-profile-setting
> >
> > (lambda _
> >
> > (substitute* "comm/mail/moz.configure"
> >
> > (("MOZ_DEDICATED_PROFILES, True")
> >
> > "MOZ_DEDICATED_PROFILES, False"))
> >
> > #t))
> >
> > Seems like this was fixed at some point but the fix broke?
> >
> > Greetings,
> >
> > Maxime.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-icedove-stop-per-install-profile-generation.patch --]
[-- Type: text/x-patch; name=0001-gnu-icedove-stop-per-install-profile-generation.patch, Size: 1016 bytes --]

From 300eb9cc705f4529672f900bd107ba1dc7b69ad5 Mon Sep 17 00:00:00 2001
From: Nicholas von Klitzing <nicholas@nvk.pm>
Date: Mon, 17 Jan 2022 10:46:36 +0100
Subject: [PATCH] gnu: icedove: stop per-install profile generation.

* gnu/packages/gnuzilla.scm (): New variable.
---
 gnu/packages/gnuzilla.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 27a9d099ce..bc7f32131b 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1371,8 +1371,8 @@ (define-public icedove
          (add-after 'patch-source-shebangs 'fix-profile-setting
            (lambda _
              (substitute* "comm/mail/moz.configure"
-               (("MOZ_DEDICATED_PROFILES, True")
-                "MOZ_DEDICATED_PROFILES, False"))
+               (("MOZ_NORMANDY, True")
+                "MOZ_NORMANDY, False"))
              #t))
          (add-after 'prepare-thunderbird-sources 'rename-to-icedove
            (lambda _
-- 
2.34.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears data
  2022-01-17  9:44     ` Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-17  9:50       ` Nicholas von Klitzing via Bug reports for GNU Guix
@ 2022-01-17 10:36       ` Maxime Devos
  1 sibling, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2022-01-17 10:36 UTC (permalink / raw)
  To: Nicholas von Klitzing; +Cc: 53250

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

Nicholas von Klitzing schreef op ma 17-01-2022 om 09:44 [+0000]:
> It seems that this issue is describing the new fix that is needed:
> https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/33734
> 
> Only a simple patch would be necessary:
> https://gitlab.torproject.org/acat/tor-browser/-/commit/92f480c30178c0847e6866a4115a9393f1d49a28
> 

Seems reasonable to me (untested).

Greetings
Maxime (not a committer)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#53250: icedove clears user data on upgrade
  2022-01-14 11:47 bug#53250: icedove clears user data on upgrade Nicholas von Klitzing via Bug reports for GNU Guix
  2022-01-14 12:02 ` bug#53250: icedove clears data Nicholas von Klitzing via Bug reports for GNU Guix
@ 2022-01-17 20:49 ` Jonathan Brielmaier
  1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Brielmaier @ 2022-01-17 20:49 UTC (permalink / raw)
  To: 53250


Hello Nicholas,

thanks for the patch, I test it right now :)

~Jonathan




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-17 20:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 11:47 bug#53250: icedove clears user data on upgrade Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-14 12:02 ` bug#53250: icedove clears data Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-14 14:52   ` Maxime Devos
2022-01-17  9:44     ` Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-17  9:50       ` Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-17 10:36       ` Maxime Devos
2022-01-14 15:25   ` bug#53250: icedove clears user data on upgrade Ludovic Courtès
2022-01-17 20:49 ` Jonathan Brielmaier

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.