Arch Linux

Please read this before reporting a bug:

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!

FS#32574 - [memcached] systemd unit file does not respect /etc/conf.d/memcached

Attached to Project: Arch Linux
Opened by Jeff Cook (cookiecaper) - Saturday, 10 November 2012, 03:14 GMT
Last edited by Dan McGee (toofishes) - Sunday, 11 November 2012, 21:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



The rc script for memcached would load parameters from /etc/conf.d/memcached. The systemd unit file, however, simply passes -l to the server. This can cause problems for people upgrading from initscripts to systemd and expecting to get the same behavior out of memcached.

I have attached a patch for the memcached.service file that allows a user to specify options in /etc/conf.d/memcached. This will prevent failures when users of initscripts upgrade to systemd and use systemd to launch their memcached server.

Users who define a user in /etc/conf.d/memcached will still need to override the unit file, as systemd does not allow variables to be used with the User parameter.
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 11 November 2012, 21:35 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Done on purpose and by design, systemd is a break from the old conf file setups.