Skip to content
Commit edeeee84 authored by Bryan Evenson's avatar Bryan Evenson Committed by Richard Purdie
Browse files

base-files: Check for /run and /var/lock softlinks on upgrade



Commit ea647cd9eebdc3e3121b84074519c4bb305adac9 moved the locations
of /run and /var/lock to match the FHS 3 draft specifications.
However, the install doesn't remove the existing directories.
As a result, upgrading a system may result in /run as a softlink
to /var/run and /var/run as a softlink to /run, creating a circular
link.

During pre-install, check for the existence of the old softlinks and
remove them so the new directories can be installed.

Signed-off-by: default avatarBryan Evenson <bevenson@melinkcorp.com>
parent bcb12493
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment