[5.0.9-arch1-1-ARCH 与 gnome-desktop 3.32.1.2-1 和跟踪器 2.2.1]
我在启动 ( ) 时的系统日志被关于无法与被屏蔽的单元一起执行$ sudo journalctl -b
的消息发送到垃圾邮件中。我不记得掩盖这个单位。以下非常小的摘录:tracker-miner
sparql
tracker-store.service
Apr 26 07:47:05 HOSTNAME dbus-daemon[3165]: [session uid=1000 pid=3165] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.54' (uid=1000 pid=3441 comm="/usr/lib/tracker-miner-fs ")
Apr 26 07:47:05 HOSTNAME dbus-daemon[3165]: [session uid=1000 pid=3165] Activation via systemd failed for unit 'tracker-store.service': Unit tracker-store.service is masked.
Apr 26 07:47:05 HOSTNAME tracker-miner-f[3441]: (Sparql buffer) Error in array-update: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit tracker-store.service is masked.
Apr 26 07:47:05 HOSTNAME tracker-miner-f[3441]: Could not execute sparql: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit tracker-store.service is masked.
Apr 26 07:47:05 HOSTNAME dbus-daemon[3165]: [session uid=1000 pid=3165] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.54' (uid=1000 pid=3441 comm="/usr/lib/tracker-miner-fs ")
Apr 26 07:47:05 HOSTNAME dbus-daemon[3165]: [session uid=1000 pid=3165] Activation via systemd failed for unit 'tracker-store.service': Unit tracker-store.service is masked.
Apr 26 07:47:05 HOSTNAME tracker-miner-f[3441]: (Sparql buffer) Error in array-update: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit tracker-store.service is masked.
我还看到:
$ systemctl --user status tracker-store
● tracker-store.service
Loaded: masked (Reason: Unit tracker-store.service is masked.)
Active: inactive (dead)
和
$ tracker status
Currently indexed: 50073 files, 3018 folders
Remaining space on database partition: 39.0 GB (24.28%)
(tracker status:17788): Tracker-CRITICAL **: 19:47:02.875: Could not get miner progress for 'org.freedesktop.Tracker1.Miner.Extract': Timeout was reached
(tracker status:17788): Tracker-CRITICAL **: 19:47:27.899: Could not get miner progress for 'org.freedesktop.Tracker1.Miner.Files': Timeout was reached
All data miners are idle, indexing complete
表明服务单元确实被屏蔽并且它已经完成了它的索引工作。
相当不同的帖子涉及与引导系统日志中出现的关键字相似的关键字:“tracker-miner”(1),“sparql”未执行(2),屏蔽的“tracker-store.service”单元(3)。 自从它作为 gnome-desktop 的一部分开始系统地发布以来,tracker
一直被指控垄断CPU、占用内存和存储空间、侵犯用户隐私等。
没有帖子让我更接近回答:
- 为什么我会在启动时收到这些系统日志消息?注意:日志详细程度最低,所有应用程序
默认设置为“错误” 。tracker
我不知道如何将其减少到零。我还假设(可能是错误的)如果tracker
配置得当,它不会是启动时出现这么多错误消息的根源。
- 如果是这样,我需要修复/重新配置哪些错误才能消失?
听起来屏蔽跟踪器存储不是禁用跟踪器的“正确”解决方案,因为它会产生如此多的日志噪音。
如果您自己屏蔽了 Tracker,我会恢复它,即
systemctl --user unmask tracker-store
. (没有什么应该自动掩盖它。如果您发现这样的罪魁祸首,我会将这些消息指出给他们)。如果您有兴趣禁用 Tracker:
此解决方案的功劳归功于 samtuke:
https://ask.fedoraproject.org/en/question/9822/how-do-i-disable-tracker-in-gnome/?answer=117319#post-id-117319