Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/iiab/uuid is never created if SD's 1st boot is in RPi Zero W #229

Closed
holta opened this issue Sep 8, 2017 · 7 comments
Closed

/etc/iiab/uuid is never created if SD's 1st boot is in RPi Zero W #229

holta opened this issue Sep 8, 2017 · 7 comments
Milestone

Comments

@holta
Copy link
Member

holta commented Sep 8, 2017

FYI this works in RPi3, but not in RPi Zero W.

Context: I (and others in Haiti etc) follow George's routine to "rm /etc/iiab/uuid /etc/iiab/handle" on the source image, and then use "dd" to clone IIAB to many other microSD's.

A /etc/iiab/uuid is then automatically created(*) during the first boot of each clone IF the 1st boot occurs in an RPi3.

However there appears to be a timing-or-similar bug when 1st boot occurs in an RPi Zero W machine, such that /etc/iiab/uuid is never created.

@holta holta added the bug label Sep 8, 2017
@holta holta added this to the 6.5 milestone Sep 8, 2017
@jvonau
Copy link
Contributor

jvonau commented Sep 8, 2017

From what I can see a pass through 1-prep is required to recreate the uuid . I'd double check the behaviour on a freshly cloned rpi3 it should behave the same if runansible or the console has not been used yet. Fix for in the field ./runtags prep

@holta
Copy link
Member Author

holta commented Sep 16, 2017

@georgejhunt reminds me that xscenet@openvpn will most likely fail when the file /etc/iiab/uuid is absent.

@jvonau
Copy link
Contributor

jvonau commented Sep 19, 2017

#271

@holta holta modified the milestones: 6.5-OctNov, 6.6-DecJan Nov 23, 2017
@holta holta added the question label Nov 23, 2017
@holta
Copy link
Member Author

holta commented Nov 23, 2017

@georgejhunt, can you explain what auto-creates /etc/iiab/uuid during RPi3 boot, when none exists after dd / cloning?

Is roles/openvpn/templates/announcer somehow involved?

(As compared to the proposed approach @ PR #271 for example!)

@georgejhunt
Copy link
Contributor

georgejhunt commented Nov 25, 2017 via email

@holta
Copy link
Member Author

holta commented Nov 27, 2017

TODO, now that PR #559 's been merged:

when: startup_unit.stat.exists is defined and not startup_unit.stat.exists 

...can likely be abbreviated to:

when: not startup_unit.stat.exists 

@holta
Copy link
Member Author

holta commented Jun 10, 2018

Appears fixed: @tim-moody & @georgejhunt can you confirm?

@holta holta closed this as completed Jun 10, 2018
holta added a commit that referenced this issue Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants