You are not logged in.

#1 2022-11-01 09:24:32

Marv998
Member
Registered: 2022-11-01
Posts: 6

Evolution: wrong version of libcamel dependency

Hi,

since the update of evolution (E-mail, groupware) to evolution 3.46.1-1 (and evolution-data-server to evolution-data-server 3.46.1-2), I cannot start evolution anymore (the UI never shows).
I get the following when starting from the command line:

$ evolution
        (evolution:9750): e-data-server-WARNING **: 10:12:51.524: module_load: libcamel-1.2.so.63: cannot open shared object file: No such file or directory
        Failed to load module: /usr/lib/evolution/modules/evolution-module-rss.so

After the update, evolution-data-server provides only the following:

$ ldconfig -p | grep libcamel   
        libcamel-1.2.so.64 (libc6,x86-64) => /usr/lib/libcamel-1.2.so.64
        libcamel-1.2.so (libc6,x86-64) => /usr/lib/libcamel-1.2.so

Is there something I can do to fix this? And is the wrong version the reason why the UI never shows up? I can see that an "evolution" process is running in the background.

Offline

#2 2022-11-01 09:27:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: Evolution: wrong version of libcamel dependency

kill the evolution process in the background and retry, it should not be looking at that path (anymore) correct should/would be /usr/lib/evolution/modules/module-rss.so who owns that?

pacman -Qo /usr/lib/evolution/modules/evolution-module-rss.so

Last edited by V1del (2022-11-01 09:31:33)

Offline

#3 2022-11-01 09:41:47

Marv998
Member
Registered: 2022-11-01
Posts: 6

Re: Evolution: wrong version of libcamel dependency

Thanks,

even after killing all evolution related processes and after restarting, the UI does not show up. However, the message from the command line is different, when I start it for the first time:

$ evolution
        (evolution:11486): e-data-server-WARNING **: 10:35:36.586: module_load: libcamel-1.2.so.63: cannot open shared object file: No such file or directory
        Failed to load module: /usr/lib/evolution/modules/evolution-module-rss.so
        bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.

I know the last error message only from electron apps, where it is "fixable" by using --no-sandbox.

In addition, this is what I get for the owner:

$ pacman -Qo /usr/lib/evolution/modules/evolution-module-rss.so
        /usr/lib/evolution/modules/evolution-module-rss.so is owned by evolution-rss 0.3.96-5

Offline

#4 2022-11-01 09:46:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: Evolution: wrong version of libcamel dependency

You probably want to remove evolution-rss which got dropped from the repos in what I assume to be a consolidation into the main  package. You likely want to sporadically check for orphans: https://wiki.archlinux.org/title/Pacman … _(orphans)

Last edited by V1del (2022-11-01 09:53:21)

Offline

#5 2022-11-01 09:57:24

Marv998
Member
Registered: 2022-11-01
Posts: 6

Re: Evolution: wrong version of libcamel dependency

Thanks, the libcamel errors are now gone after removing evolution-rss. Now I get only the non-privileged user namespaces error.

bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.

What would be the best way to deal with this?

Offline

#6 2022-11-01 10:08:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: Evolution: wrong version of libcamel dependency

Is it affecting anything? All normal Arch kernels should have user name spaces allowed, are you running linux-hardened? The "fix" with also allowing the sandbox would be to run that command otherwise if you want to disable a sandbox explicitly that is likely from the webkit2gtk dependency where I'm not sure off-hand as to how to disable the sandbox attempt.

Some googlers suggest

WEBKIT_FORCE_SANDBOX=0 

environment env. but again you are disabling the sandbox of a webbrowser application here. Unless you have other mitigations/protections in place it'd probably make more sense to have that allowed.

Last edited by V1del (2022-11-01 10:15:25)

Offline

#7 2022-11-01 10:24:33

Marv998
Member
Registered: 2022-11-01
Posts: 6

Re: Evolution: wrong version of libcamel dependency

For now evolution doesn't start, and for example Skype and VS Code only start with --no-sandbox.

I'm not running linux-hardened, but I've set

kernel.unprivileged_userns_clone = 0

manually as suggested here https://wiki.archlinux.org/title/Securi … plications.

But as I mention, I'm running into problems with this with several applications. It seems I should set this to 1.

Offline

Board footer

Powered by FluxBB