我全新安装了 Linux Mint 19 Cinnamon,并通过 Flatpak 预装了 GIMP:
基本信息
$ flatpak info org.gimp.GIMP
Ref: app/org.gimp.GIMP/x86_64/stable
ID: org.gimp.GIMP
Arch: x86_64
Branch: stable
Origin: flathub
Collection ID: org.flathub.Stable
Date: 2018-11-16 22:41:23 +0000
Subject: Update babl dependency. (e7b662db)
Commit: 1fcb2c783cf61e22ca6ed03df9f95d59785d5cbd668b50f9765693956f1eedeb
Parent: b6186ed16c732603f5c317bbc42717e500c0077251f9e8035a3266924b9cd55b
Location: /var/lib/flatpak/app/org.gimp.GIMP/x86_64/stable/1fcb2c783cf61e22ca6ed03df9f95d59785d5cbd668b50f9765693956f1eedeb
Installed size: 213,3 MB
Runtime: org.gnome.Platform/x86_64/3.28
Sdk: org.gnome.Sdk/x86_64/3.28
2天前,一切正常。但今天,我根本无法启动 GIMP。
到目前为止,我自己还没有使用过 Flatpak,但是既然 GIMP 已经以这种方式预装了,我该如何解决这个问题呢?例如在哪里寻找错误?
更新#1
# cat /var/log/syslog | grep -i gimp
Dec 5 07:44:14 dell-7577 systemd[1545]: flatpak-org.gimp.GIMP-3662.scope: Failed to add PIDs to scope's control group: Permission denied
Dec 5 07:44:14 dell-7577 systemd[1545]: flatpak-org.gimp.GIMP-3662.scope: Failed with result 'resources'.
Dec 5 07:44:14 dell-7577 systemd[1545]: Failed to start flatpak-org.gimp.GIMP-3662.scope.
更新#2
基于此GitHub 问题票, 我已经添加了:
systemd.legacy_systemd_cgroup_controller=1
到
GRUB_CMDLINE_LINUX_DEFAULT
并更新了 GRUB。
现在,在票证中写道,这将更改错误消息,而在我的情况下,它保持不变。
2019 年 3 月 19 日更新
vlastimil@dell-7577: /home/vlastimil $ flatpak --verbose run org.gimp.GIMP//stable
F: Opening user flatpak installation at path /home/vlastimil/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/vlastimil/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/vlastimil/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 226323790
F: Allocated instance id 2308729120
F: Allowing host-fs access
F: Allowing x11 access
F: Running 'bwrap --args 31 /usr/lib/flatpak/flatpak-dbus-proxy --args=33'
F: Running 'bwrap --args 27 gimp-2.10'
并syslog
获取此信息:
Mar 19 20:14:45 dell-7577 systemd[1893]: Started flatpak-org.gimp.GIMP-10983.scope.
Mar 19 20:14:45 dell-7577 kernel: [15121.717117] traps: bwrap[10992] general protection ip:7fa0e07588f0 sp:7ffc3d5ad230 error:0 in libc-2.27.so[7fa0e0718000+1e7000]
但还有更多,我已经成功地使用 sudo 运行它,这可能不是一个好主意,但要穷尽所有选项:
sudo --set-home /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gimp-2.10 org.gimp.GIMP
2019 年 11 月 19 日更新
我怀疑这个问题与ESET NOD32防病毒软件有关。我只是需要证明这一点。停止其服务后,问题不再存在,即:
sudo systemctl stop esets.service
Flatpak 的 GIMP 安装工作正常。
我现已将此问题通知 ESET 团队。