[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] install.sh: Preserve symlinks in destination file system


  • To: Jason Andryuk <jason.andryuk@xxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Thu, 23 Apr 2026 16:47:57 +0200
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=vates.tech header.i="@vates.tech" header.h="From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:In-Reply-To:References:Feedback-ID"
  • Cc: Thierry Escande <thierry.escande@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Thu, 23 Apr 2026 14:48:11 +0000
  • Feedback-id: default:8631fc262581453bbf619ec5b2062170:Sweego
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, Mar 20, 2026 at 10:04:18AM -0400, Jason Andryuk wrote:
> On 2026-03-19 12:50, Thierry Escande wrote:
> > In various distros (i.e. Debian), /lib is a symbolic link. The tar
> > command in install.sh replaces the /lib symlink with a directory and
> > results in a non-functioning system. This has been introduced by the
> > installation of the systemd watchdog sleep script in /lib/systemd.
> > 
> > This patch adds the tar option --dereference (-h for short) to preserve
> > symlinks when extracting the dist archive.
> > 
> > Fixes: e54a6cd6a1f3 ("systemd: Add hooks to stop/start xen-watchdog on 
> > suspend/resume")
> > Signed-off-by: Thierry Escande <thierry.escande@xxxxxxxxxx>
> 
> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
> Tested-by: Jason Andryuk <jason.andryuk@xxxxxxx>

Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.