Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Initrd: Wrong os-releases symlink set #2715

Closed
fransvanberckel opened this issue Mar 17, 2019 · 2 comments
Closed

Initrd: Wrong os-releases symlink set #2715

fransvanberckel opened this issue Mar 17, 2019 · 2 comments

Comments

@fransvanberckel
Copy link

fransvanberckel commented Mar 17, 2019

RancherOS Version: (ros os version)
I extracted RancherOS iso initrd-v1.5.1 and found out os-release has a wrong symlink set ...
$ mv initrd-v1.5.1 initrd-v1.5.1.gz && gunzip initrd-v1.5.1.gz
$ file initrd-v1.5.1
initrd-v1.5.1: ASCII cpio archive (SVR4 with no CRC)
$ cpio -i -F initrd-v1.5.1
435815 blocks
$ tree
└─ usr
├─ etc
├─ os-release -> build/initrd/usr/share/ros/os-release
That got to be ...
└─ usr
├─ etc
├─ os-release -> ../share/ros/os-release
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
On baremetal

@niusmallnan niusmallnan added this to the v1.6.0 milestone Mar 18, 2019
@niusmallnan niusmallnan self-assigned this Mar 18, 2019
@niusmallnan
Copy link
Contributor

It should be a bug, but it doesn't affect too much at the moment, as we have recreated a symlink in the console.

I will also file a PR to fix it.

@rootwuj
Copy link

rootwuj commented May 20, 2019

Tested with rancher/os:v1.5.2-rc1 from May 20
This version of os-releases symlink is ../share/ros/os-release.
Verified fixed

@rootwuj rootwuj closed this as completed May 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants