From b44f96ac9bb6427c41480cc6ef2beb1818ca4f93 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 19 Dec 2012 11:20:08 -0600 Subject: init.sh.Linux: do not try to remove the /run/openrc symlink In order to make migration from /lib*/rc/init.d to /run/openrc possible without rebooting, the migration script creates a symlink from /run/openrc to /lib*/rc/init.d. We were trying to remove it on the next reboot, but this is not possible since / is ro when /run is mounted. Reported-by: fturco@fastmail.fm X-Gentoo-Bug: 447678 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=447678 --- sh/init.sh.Linux.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 9b13aad..0eca736 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in @@ -51,10 +51,6 @@ if [ ! -d /run ]; then fi fi -if [ -L /run/openrc ]; then - rm /run/openrc -fi - if [ "$sys" = VSERVER ]; then rm -rf /run/* elif ! mountinfo -q /run; then -- cgit v1.2.3