FS#69201 - [languagetool] systemd service uses user nobody

Attached to Project: Community Packages
Opened by vvlad (vvlad) - Monday, 04 January 2021, 08:40 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 27 April 2023, 18:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The systemd service runs LanguageTool server as user nobody which is discouraged by systemd.

Starting the services produces the warning below:

systemd[1]: [🡕] /usr/lib/systemd/system/languagetool.service:7: Special user nobody configured, this is not safe!


Additional info:
* package version: 5.1-1

Steps to reproduce:

* Install languagetool
* Start languagetool service
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 27 April 2023, 18:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  languagetool 6.1-2
Comment by publicarray (publicarray) - Wednesday, 01 September 2021, 02:13 GMT
In the meantime I've done something like this

sudo systemctl edit languagetool

[Service]
ExecStart=
ExecStart=env JAVA_TOOL_OPTIONS='-Xms256M -Xmx256M -XX:MaxMetaspaceSize=256m -XX:+UseG1GC -XX:+UseStringDeduplication' /usr/bin/languagetool --http --allow-origin "*"
User=
DynamicUser=yes
Comment by Arvid Norlander (VorpalGun) - Monday, 06 March 2023, 23:18 GMT
If the packager/maintainer is not interested in fixing this, how do I submit a PR to fix this?

Loading...