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#45249 - [mpd] Deprecated parameters in .service files

Attached to Project: Arch Linux
Opened by Luis Quiles (lquiles) - Sunday, 07 June 2015, 21:29 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 08 June 2015, 05:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The parameters ControlGroup and ControlGroupAttribute have been deprecated.

Steps to reproduce:

'systemctl start mpd' or 'systemctl start --user mpd' produce this warning in systemd journal:

[/usr/lib/systemd/user/mpd.service:16] Unknown lvalue 'ControlGroup' in section 'Service'
[/usr/lib/systemd/user/mpd.service:19] Unknown lvalue 'ControlGroupAttribute' in section 'Service'

Mpd still starts without any other issue.

Comments:

These parameters were meant to work around systemd not allocating any realtime slice to system. Currently, systemd does this correctly for non-root users and the parameter is not needed in unit files. 'systemctl start --user mpd' manages.

If someone runs mpd as root these parameters won't help. They will have to manually set cpu.rt_runtime_us value from the top cgroup down to the root user slice.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 08 June 2015, 05:25 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#42923 

Loading...