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.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi