You are not logged in.

#1 2021-06-11 21:59:12

Al.Piotrowicz
Member
Registered: 2017-08-07
Posts: 180

[SOLVED] Disable dbus service activation

Hello, is there any easy way to disable application request via dbus service activation like this ?

jun 11 23:22:58 rebro dbus-daemon[52035]: [session uid=1000 pid=52035] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.393' (uid=1000 pid=71800 comm="xfdesktop ")
jun 11 23:22:58 rebro dbus-daemon[52035]: [session uid=1000 pid=52035] Activated service 'org.freedesktop.thumbnails.Thumbnailer1' failed: Process org.freedesktop.thumbnails.Thumbnailer1 exited with status 1

Its does exit with status 1, because I already created thumbnailer's drop'ins like suggested in https://wiki.archlinux.org/title/D-Bus, but I'd like to completely disable dbus request from the specific process. Is it even possible?

Last edited by Al.Piotrowicz (2021-06-12 14:14:37)

Offline

#2 2021-06-12 10:38:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,592

Re: [SOLVED] Disable dbus service activation

Yes, but blocking dbus activation is tricky .

I had a similar issue last year[1] , there are some options :

- mask the systemd service (adds lots of messages about activation fail to log files)
- use NoExtract in pacman.conf to prevent the dbus service from being installed
- remove/replace the offending package
- write your own dbus helper that does allow blacklisting stuff
- use another PID 1


[1] https://bbs.archlinux.org/viewtopic.php?id=261545

Last edited by Lone_Wolf (2021-06-12 10:38:47)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB