#235 rpm-ostree install of tailscale from .repo fails silently
Closed: Fixed by lukeallister. Opened by lukeallister.

I am new to both fedora and to kinoite so apologies if I am missing something obvious.

Running kinoite 36, I tried to add tailscale.repo file from https://tailscale.com/download/linux/fedora and then install via rpm-ostree.

cd /etc/yum.repos.d/
sudo wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo
sudo rpm-ostree install tailscale

What I see is:

Checking out tree 3ddbe83... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora tailscale-stable updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-04-07T16:52:38Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2022-05-04T21:12:01Z solvables: 825
rpm-md repo 'updates-modular' (cached); generated: 2022-08-11T00:26:50Z solvables: 1406
rpm-md repo 'updates' (cached); generated: 2022-08-10T01:07:52Z solvables: 21115
rpm-md repo 'fedora' (cached); generated: 2022-05-04T21:16:11Z solvables: 67992
rpm-md repo 'tailscale-stable' (cached); generated: 2022-08-09T23:58:27Z solvables: 57
rpm-md repo 'updates-archive' (cached); generated: 2022-08-10T01:42:57Z solvables: 29846
Resolving dependencies... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 61.2 MB (pkgcache branches: 0)
Added:
  tailscale-1.28.0-1.x86_64
Changes queued for next boot. Run "systemctl reboot" to start a reboot

So it looks like it installed correctly. But when I run systemctl reboot and then try to actually use tailscale, there is no sign of it:

sudo systemctl enable --now tailscaled

Failed to enable unit: Unit file tailscaled.service does not exist.

which tailscale

/usr/bin/which: no tailscale in (/home/luke/.local/bin:/home/luke/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)

I would expect this to either fail or to succeed. What it currently does is tell me success, but then it doesn't actually install.

Additionally, I don't see any grub menu when I start, so I guess I don't know for sure that it's correctly booting the new deployment.

Any help is much appreciated.


I guess I don't know for sure that it's correctly booting the new deployment.

I tried to answer this and discovered via rpm-ostree status that it was not finalizing.

Some searching led to https://github.com/coreos/rpm-ostree/issues/3925 which was the same issue I was having. Following the linked instructions I ran:

sudo find /boot/efi -exec touch '{}' ';'
sudo rpm-ostree install tailscale
sudo ostree admin finalize-staged
systemctl reboot

After a reboot, the system correctly installed tailscale. I was able to follow the next tailscale instructions to get it working

sudo systemctl enable --now tailscaled
sudo tailscale up

So I the base issue was lingering efi stuff from a previous linux install on this machine?

Metadata Update from @lukeallister:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata