Topic: memcached - error in systemd service file

/usr/lib/systemd/system/memcached.service

Bundled:
  [Unit]
  After=network.target

Should be:
  [Unit]
  After=network-online.target

Reason:
  network.target has very little meaning during start-up. It only indicates that the network management stack is up after it has been reached. Whether any network interfaces are already configured when it is reached is undefined


@see: https://www.freedesktop.org/wiki/Softwa … orkTarget/

When it fails:
  when you tryu to bind memcache to specific IP

Ex:
> cat /etc/sysconfig/memcached  | grep OPT
OPTIONS="-l 10.118.9.66"

 
PS:
This issue also applies to ALL *service files,
Just replace network.target with network-online.target

Re: memcached - error in systemd service file

This package is mostly a backport a fedora one, which use upstream unit file
See: https://github.com/memcached/memcached/ … ed.service

So please file an upstream bug about this needed change.

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test