Re: [Evolution] Move Evolution disk

2022-03-07 Thread Patrick O'Callaghan
On Mon, 2022-03-07 at 15:22 +, Mark Stanton wrote:
> On Mon, 2022-03-07 at 10:18 +, Patrick O'Callaghan wrote:
> > What exactly is being unlocked here? Evo doesn't use Kwallet for
> > anything. Do you mean the system is asking for authorization to
> > mount
> > the drive? That has nothing to do with Evo either.
> 
> That's interesting, so I experimented. I cut back to just the one
> machine, everything's on it, nothing mounted from outside.
> 
> When I start Evo I get a (modal) dialog asking me to unlock login
> keyring because it didn't get unlocked when I logged in.  I can't do
> *anything* else with the computer before I give it my keyring
> password.
> I tried clicking on everything and anything before giving in.
> 

Evo's dialogue has nothing to do with Kwallet but with gnome-keyring.
The corresponding app for managing the keyring is seahorse, which you
can run from the terminal. Normally if the keyring password is the same
as the local user login password, this isn't necessary, but IIRC there
can be a timing issue with older versions of Evo which cause the
dialogue to pop up randomly on KDE. Personally I haven't seen this
happen recently with an up to date system, but it used to happen quite
a lot.

poc
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Move Evolution disk

2022-03-07 Thread Mark Stanton
On Mon, 2022-03-07 at 10:18 +, Patrick O'Callaghan wrote:
> What exactly is being unlocked here? Evo doesn't use Kwallet for
> anything. Do you mean the system is asking for authorization to mount
> the drive? That has nothing to do with Evo either.

That's interesting, so I experimented. I cut back to just the one
machine, everything's on it, nothing mounted from outside.

When I start Evo I get a (modal) dialog asking me to unlock login
keyring because it didn't get unlocked when I logged in.  I can't do
*anything* else with the computer before I give it my keyring password.
I tried clicking on everything and anything before giving in.

At that point I went to the Evo window and it was showing a warning
message (& several subsequent ones when as I dismissed it and them)
complaining that it couldn't log in to a (named) mail account.

So I would guess that you're initially right that Evolution itself
doesn't use the keyring, but since my mail accounts *do* use it to
supply passwords, it comes to the same thing.

Would that be a fair analysis?

So, if it's the mail accounts (I have several on various services) that
use the keyring, how do I achieve my aim of moving the disk?

In answer to

> Can you access the disk from (say) the command line?

Yes, the whole disk, and the specific mounts required for Evolution are
all present and correct.

Mark
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Move Evolution disk

2022-03-07 Thread Milan Crha via evolution-list
On Mon, 2022-03-07 at 10:49 +0100, Mark Stanton wrote:
> This works just fine, but when I restart the machine actually holding
> the files (eg for a reboot after a kernel update) I have to unlock it
> by supplying my password to KDE Wallet.

Hi,
do you restart that server while having Evolution running? Note that
Evolution uses background processes provided by the evolution-data-
server, which are not closed when the Evolution is closed. The restart
under the hood can cause breakage of the data stored there.

You can use:

   $ evolution --force-shutdown

to stop also the background processes and if nothing else is using (and
starting) them, you should have:

   $ ps ax | grep evolution

with no "evolution-..." processes in the list.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Move Evolution disk

2022-03-07 Thread Patrick O'Callaghan
On Mon, 2022-03-07 at 09:49 +, Mark Stanton wrote:
> On Sun, 2022-03-06 at 22:26 +0100, Andre Klapper via evolution-list
> wrote:
> > On Sun, 2022-03-06 at 21:09 +, Mark Stanton wrote:
> > > My Evo setup is on the only disk in a (Linux) machine.  I want to
> > > move
> > > it to be an "additional" disk in a server.
> > 
> > By "setup" you mean configuration settings and data?
> > 
> > > I can easily do this and mount the email/ files in the right
> > > places
> > > on my workstation but I can't then access them because the wallet
> > > fails
> > > to unlock (I think).
> > 
> > What makes you think so? Please elaborate what you have tried and
> > what
> > does happen, preferably without paraphrasing.
> > 
> > Also, which Evolution version, which desktop environment, which
> > distro?
> > 
> 
> Thanks Andre, my bad, not a terribly helpful initial message of mine.
> Ok. 
> 
> I currently have Evo 3.42.4 on my old(er) Linux (Fedora 35)
> workstation.
> I access it from my new machine by nfs mounting the entire Evo setup
> (files in ~/.config/evolution and ~/.local/share/evolution) to "the
> same places" on the new machine.  This works just fine, but when I
> restart the machine actually holding the files (eg for a reboot after
> a
> kernel update) I have to unlock it by supplying my password to KDE
> Wallet.
> 

What exactly is being unlocked here? Evo doesn't use Kwallet for
anything. Do you mean the system is asking for authorization to mount
the drive? That has nothing to do with Evo either.

You may want to check the mount options in /etc/fstab (e.g. allow user
processes to mount the drive without requiring root.)

> I want to scrap the old machine (to reduce the number of computers
> under my desk) but want to keep the disk, so it seems easiest to
> simply
> add the disk to my server (Fedora server, also 35) and mount the
> relevant directories from there.
> 
> I can do that successfully but on starting Evolution, it fails to
> appear. Looking at the system monitor shows it has started but is in
> a
> "disk sleep" state.  I haven't been able to find anything useful in
> the
> system log. To write this I have had to revert to my old setup so
> can't
> easily retry.

Can you access the disk from (say) the command line?

poc
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Move Evolution disk

2022-03-07 Thread Mark Stanton
On Sun, 2022-03-06 at 22:26 +0100, Andre Klapper via evolution-list
wrote:
> On Sun, 2022-03-06 at 21:09 +, Mark Stanton wrote:
> > My Evo setup is on the only disk in a (Linux) machine.  I want to
> > move
> > it to be an "additional" disk in a server.
> 
> By "setup" you mean configuration settings and data?
> 
> > I can easily do this and mount the email/ files in the right
> > places
> > on my workstation but I can't then access them because the wallet
> > fails
> > to unlock (I think).
> 
> What makes you think so? Please elaborate what you have tried and
> what
> does happen, preferably without paraphrasing.
> 
> Also, which Evolution version, which desktop environment, which
> distro?
> 

Thanks Andre, my bad, not a terribly helpful initial message of mine.
Ok. 

I currently have Evo 3.42.4 on my old(er) Linux (Fedora 35)
workstation.
I access it from my new machine by nfs mounting the entire Evo setup
(files in ~/.config/evolution and ~/.local/share/evolution) to "the
same places" on the new machine.  This works just fine, but when I
restart the machine actually holding the files (eg for a reboot after a
kernel update) I have to unlock it by supplying my password to KDE
Wallet.

I want to scrap the old machine (to reduce the number of computers
under my desk) but want to keep the disk, so it seems easiest to simply
add the disk to my server (Fedora server, also 35) and mount the
relevant directories from there.

I can do that successfully but on starting Evolution, it fails to
appear. Looking at the system monitor shows it has started but is in a
"disk sleep" state.  I haven't been able to find anything useful in the
system log. To write this I have had to revert to my old setup so can't
easily retry.

I haven't tried to start it from the server, this normally runs
headless with just terminal (& control) access through Cockpit.

I have to say it's really just an assumption that the Wallet issue is
the important part, but what else could it be?

Regards
Mark

> Thanks,
> andre
> --
> Andre Klapper  |  ak...@gmx.net
> https://blogs.gnome.org/aklapper/
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Move Evolution disk

2022-03-06 Thread Andre Klapper via evolution-list
On Sun, 2022-03-06 at 21:09 +, Mark Stanton wrote:
> My Evo setup is on the only disk in a (Linux) machine.  I want to move
> it to be an "additional" disk in a server.

By "setup" you mean configuration settings and data?

> I can easily do this and mount the email/ files in the right places
> on my workstation but I can't then access them because the wallet fails
> to unlock (I think).

What makes you think so? Please elaborate what you have tried and what
does happen, preferably without paraphrasing.

Also, which Evolution version, which desktop environment, which distro?

Thanks,
andre
--
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list