There is 1 comment.
 
 
Xinit / cid:jira-generated-image-avatar-3084f8ce-56fc-4978-a2d1-e7e33354e581 XINIT-15 Open

Allow Xinit to run without being root

 
View issue   ·   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-debf24cb-3fdf-4270-8be9-36fa4d8bf6ab Clément Christiaens on 18/Nov/26 19:39
 

Change of plan: no polkit rule. The periodic check runs as a dedicated xinit user, confined by systemd. To restart XWiki it creates a request file in its runtime directory; a systemd path unit then starts a root service that can do two things only: restart the XWiki unit, or ask its JVM for a thread dump. Neither polkit nor sudo is needed.