Community Packages

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#77616 - [tarantool] Tarantol example instance unable to start

Attached to Project: Community Packages
Opened by Vitold S (vit1251) - Wednesday, 22 February 2023, 11:25 GMT
Last edited by Toolybird (Toolybird) - Sunday, 12 March 2023, 23:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Tarantol example instance unable to start

Additional info:

Show error output:

```
Job for tarantool@example.service failed because the control process exited with error code.
See "systemctl status tarantool@example.service" and "journalctl -xeu tarantool@example.service" for details.
```

No journal output is available.

Steps to reproduce:

1. sudo tarantoolctl start example
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 12 March 2023, 23:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  tarantool 2.10.4-2
Comment by Toolybird (Toolybird) - Wednesday, 22 February 2023, 20:39 GMT
> No journal output is available.

???

It's staring you in the face. The journal clearly shows missing perms. Basically needs equivalent of:

sudo chown -v tarantool /var/{lib,log}/tarantool
Comment by Anatol Pomozov (anatolik) - Thursday, 23 February 2023, 05:54 GMT
The content of /usr/lib/tmpfiles.d/tarantool.conf (comes from upstream) is

d /run/tarantool 0750 tarantool tarantool -

I wonder if we need to add entries for /var/{lib,log}/tarantool as well
Comment by Toolybird (Toolybird) - Thursday, 23 February 2023, 22:32 GMT
> I wonder if we need to add entries for /var/{lib,log}/tarantool as well

According to my 2 minute test when triaging this bug, I'd say "definitely".
Comment by loqs (loqs) - Thursday, 23 February 2023, 22:50 GMT
Or add RuntimeDirectory, StateDirectory and LogsDirectory to the service file assuming nothing apart from the service is expected to use those directories.
Comment by Anatol Pomozov (anatolik) - Thursday, 23 February 2023, 23:43 GMT
> Or add RuntimeDirectory, StateDirectory and LogsDirectory

Would you be able to provide a patch for the service file?
Comment by loqs (loqs) - Friday, 24 February 2023, 15:52 GMT
> Would you be able to provide a patch for the service file?
Please see attached diff. I used an override file to keep upstream separate from Arch's changes. Tested on a fresh install of tarantool.
Comment by Anatol Pomozov (anatolik) - Friday, 24 February 2023, 17:54 GMT
Thank you Ioqs for your patch. I did clean reinstall of the package and example service starts for me fine now.

tarantool-2.10.4-2 with your patch is pushed to [community]. Please check it and let me know if you see any issues with it.

Loading...