canonical / core18

The core18 base snap
14 stars 26 forks source link

hooks: add a snapd-service-generator #10

Closed mvo5 closed 6 years ago

mvo5 commented 6 years ago

The snapd snap is special and it needs to run outside of the regular snap confinement. To archive this core18 will create the snapd service/socket via a generator at boot based on the content of the installed snapd snap.

mvo5 commented 6 years ago

With this in place snap list, install etc will work in a core18 system.

mvo5 commented 6 years ago

@zyga Sure, how would you like this to be documented.

mvo5 commented 6 years ago

This will probably evolve into a regular unit iinstead of a generator. The generator might still be a good step on the path towards the real thing. What we discussed during the standup was that we want a "snapd-startup.service" that will:

zyga commented 6 years ago

@mvo5 I think I understand this better after the call today. Let's work towards the goal and I can write documentation as we move along.

mvo5 commented 6 years ago

We will probably use a different approach, I close this for now.