Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79208 - [soju] Missing /run/soju folder in tmpfiles.conf

Attached to Project: Arch Linux
Opened by Giovanni Bottaro (bgiovanni) - Wednesday, 26 July 2023, 09:56 GMT
Last edited by George Rawlinson (rawlinsong) - Sunday, 30 July 2023, 08:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To George Rawlinson (rawlinsong)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When "unix+admin://" is present in the configuration it uses the default path of '/run/soju/admin'. Note that "unix+admin://" is present in the default configuration thus causing the issue out of the box!

Currently this path isn't instantiated by the tmpfiles.conf configuration file, _where it probably should_.
Alternative solutions could be:
1) Shipping a different path in the default config file
2) Changing the default path in the Makefile

Here's the excerpt from soju's manual: (https://soju.im/doc/soju.1.html)
"""
•unix+admin://[path] listens on a Unix domain socket for administrative connections, such as sojuctl (default path: /run/soju/admin)
"""

Steps to reproduce:
"systemctl start soju.service" with the default config leads to failure with non-zero exit code.
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Sunday, 30 July 2023, 08:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.6.2-3
Comment by loqs (loqs) - Wednesday, 26 July 2023, 15:29 GMT
There would be no need to add it to tmpfiles.conf if systemd.service.patch did not remove the RuntimeDirectory line which would create /run/sojo when the service starts.
Edit:
The attached diff leaves the RuntimeDirectory line in the service file.

Loading...