Re: Issue with s6-rc-update

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Fri, 05 Jul 2024 10:00:54 +0000

  Oh boy, that's a stupid oversight on my part. :D
  Line 1353 of your pastebin reveals what's happening:

symlink("s6-rc:s6-rc-update:tOWiQ9",
"/run/Nanderty/s6-rc/:s6-rc-update_atomic_symlink:YWNjdo") = 0

  That symlink gets created... inside your old livedir, which is less
than ideal. We want it to get created in /run/Nanderty/ instead, at
the same level as your old livedir.

>define s6live /run/${USER}/s6-rc/

  The final slash here is the cause of all your woes.
  Remove it:

  define s6live /run/${USER}/s6-rc

  and it should work.

  My mistake is to make the new livedir name by appending a suffix
to the live name, without checking first that it doesn't end with a
slash. Sorry! I'll fix that in the next version of s6-rc.
  In the meantime, just make sure not to have a slash at the end of the
names you use for 'live'.

--
  Laurent
Received on Fri Jul 05 2024 - 12:00:54 CEST

This archive was generated by hypermail 2.4.0 : Fri Jul 05 2024 - 12:01:23 CEST