System D-Bus does not allow punching out ownership with conf files

前端 未结 2 1089
迷失自我
迷失自我 2021-01-05 01:46

I am trying to create a daemon service that runs on the system bus where the permissions for sending and receiving from this service should be completely open to anybody. (S

2条回答
  •  迷失自我
    2021-01-05 02:18

    I did the same solution as the accepted answer but I also got it to work with this alternative.

    I noticed that in my system.conf file, there is this note:

    For local configuration changes, create a file system-local.conf or files matching system.d/*.conf in the same directory as this one, with a element containing configuration directives. These directives can override D-Bus or OS defaults.

    Instead of putting a .conf under system.d/, I was able to make it work by creating a system-local.conf in the same directory as the system.conf, with the contents like this:

    
    
      
        
      
    
    

提交回复
热议问题