On Wednesday 05 February 2014 10:56:23 Richard W.M. Jones wrote:
On Wed, Feb 05, 2014 at 11:43:51AM +0100, Pino Toscano wrote:
Provide /var/lock as symlink to /run/lock, as it might be used by applications. ---
appliance/init | 1 + 1 file changed, 1 insertion(+)
diff --git a/appliance/init b/appliance/init index b25ea26..aac3f5a 100755 --- a/appliance/init +++ b/appliance/init @@ -32,6 +32,7 @@ mount -t sysfs /sys /sys
mkdir -p /run mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run mkdir -p /run/lock
+ln -s ../run/lock /var/lock
Do we need the .. in that path? It's probably better to have it as a symlink to the absolute path.
I saw other two symlinks in /var being relative ones, i.e. mail -> spool/mail run -> ../run so I followed them. -- Pino Toscano