You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of /var/run is deprecated in Ubuntu 20.04, and something in systemd aggressively changes that to /run in the PIDFile section with a warning, but fails to update the ReadWriteDirectories entry, so it runs into permission issues trying to create the PID file (P.S.: I was referring to the Operation not permitted error mentioned below, but this happens even after fixing this, so it may be unrelated). I have checked that changing both occurrences of /var/run to just /run removes the warning (P.S.: I still get a systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: Operation not permitted warning at the beginning, but the server runs fine apparently so this may be a transient problem?).
The text was updated successfully, but these errors were encountered:
aranhoide
changed the title
/var/run is deprecated in Ubuntu 20.04
/var/run is deprecated in Ubuntu 20.04, causing permission problems
Jan 23, 2021
aranhoide
changed the title
/var/run is deprecated in Ubuntu 20.04, causing permission problems
/var/run is deprecated in Ubuntu 20.04
Jan 23, 2021
@aranhoide Can you take a look at b0ba1f2? The problem seems to be beyond the use of /var/run, but also due to the fact that Redis was not configured to work in supervised mode.
The focal fossa version of this package has the following lines in the redis-server.service file:
The use of
/var/run
is deprecated in Ubuntu 20.04, and something in systemd aggressively changes that to/run
in thePIDFile
section with a warning, but fails to update theReadWriteDirectories
entry,so it runs into permission issues trying to create the PID file(P.S.: I was referring to theOperation not permitted
error mentioned below, but this happens even after fixing this, so it may be unrelated). I have checked that changing both occurrences of/var/run
to just/run
removes the warning (P.S.: I still get asystemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: Operation not permitted
warning at the beginning, but the server runs fine apparently so this may be a transient problem?).The text was updated successfully, but these errors were encountered: