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

document relationship of TemplateVM's and TemplateBasedVM's (home) folder(s) #1336

Closed
adrelanos opened this Issue Oct 14, 2015 · 14 comments

Comments

Projects
None yet
2 participants
@adrelanos
Member

adrelanos commented Oct 14, 2015

Current situation:
The /home folder of a TemplateVM is copied to a TemplateBasedVM at creation time of the TemplateBasedVM. From then, TemplateBasedVM's /home folder is left untouched.

(Source: https://groups.google.com/forum/#!topic/qubes-users/WwVJhGA-Xnc)

Current documentation (?):
https://www.qubes-os.org/en/doc/template-implementation/

Issue:
The current documentation does not explain this well. Likely because it's more targeting developers rather than users.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 14, 2015

Member

Here is a documentation addition that I suggest. However, I am not good it's well understandable to new users. Wiser words welcome.

Introduction

The /home folder of a TemplateVM is copied to a TemplateBasedVM at creation time of the TemplateBasedVM. From then, TemplateBasedVM's /home folder is left untouched.

Changes in /home, /usr/local and /rw/config persist, which means, files stored there will still be available after restarting the TemplateBasedVM. All changes to other folders do not persist. If you would like to make persistent changes to other folders, you must do them in the TemplateVM.

Member

adrelanos commented Oct 14, 2015

Here is a documentation addition that I suggest. However, I am not good it's well understandable to new users. Wiser words welcome.

Introduction

The /home folder of a TemplateVM is copied to a TemplateBasedVM at creation time of the TemplateBasedVM. From then, TemplateBasedVM's /home folder is left untouched.

Changes in /home, /usr/local and /rw/config persist, which means, files stored there will still be available after restarting the TemplateBasedVM. All changes to other folders do not persist. If you would like to make persistent changes to other folders, you must do them in the TemplateVM.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 15, 2015

Member

Current documentation (?):
https://www.qubes-os.org/en/doc/template-implementation/

Issue:
The current documentation does not explain this well. Likely because it's more targeting developers rather than users.

That page is in the developers' documentation, so it's correct that it targets developers rather than users. (It's about template implementation, not just templates per se.)

The users' page on templates is here: https://www.qubes-os.org/en/doc/templates/

In light of this, do you still want to see your change implemented? If so, on which page? Both?

Member

andrewdavidwong commented Oct 15, 2015

Current documentation (?):
https://www.qubes-os.org/en/doc/template-implementation/

Issue:
The current documentation does not explain this well. Likely because it's more targeting developers rather than users.

That page is in the developers' documentation, so it's correct that it targets developers rather than users. (It's about template implementation, not just templates per se.)

The users' page on templates is here: https://www.qubes-os.org/en/doc/templates/

In light of this, do you still want to see your change implemented? If so, on which page? Both?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 15, 2015

Member
Member

adrelanos commented Oct 15, 2015

marmarek added a commit to QubesOS/qubesos.github.io that referenced this issue Oct 16, 2015

autoupdate: _doc
_doc:
    tag axon_a1999e6f
    tagger Axon <axon@openmailbox.org> 1444955406 +0000

    Tag for commit a1999e6f098b753182940627090a04366c196602
    gpg: Signature made Fri 16 Oct 2015 02:30:06 AM CEST using RSA key ID 2A019A17
    gpg: Good signature from "Axon (Qubes Documentation Signing Key)"

    a1999e6 Add note regarding TemplateBasedVM directory inheritance and persistence (fixes QubesOS/qubes-issues#1336)
@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 16, 2015

Member

What do you think of this, @adrelanos?

Member

andrewdavidwong commented Oct 16, 2015

What do you think of this, @adrelanos?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 16, 2015

Member

The text sounds nice. But I was hoping to make this information available to users.

Member

adrelanos commented Oct 16, 2015

The text sounds nice. But I was hoping to make this information available to users.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 16, 2015

Member

Maybe https://www.qubes-os.org/en/doc/getting-started/ would be an appropriate place?

Member

adrelanos commented Oct 16, 2015

Maybe https://www.qubes-os.org/en/doc/getting-started/ would be an appropriate place?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 16, 2015

Member

The text sounds nice. But I was hoping to make this information available to users.

Well, that's why I asked which page(s) you wanted to add it to. :)

Maybe https://www.qubes-os.org/en/doc/getting-started/ would be an appropriate place?

It strikes me as too specific to go on Getting Started, but I could be wrong. My thought is that it would be odd to tell users about very specific quirks of the filesystem relationship on a page which is designed just to "get them started." Do you think this is information they need just to get started with Qubes?

If the concern is that they need this information in order not to make costly security mistakes or otherwise shoot themselves in the foot, then that sounds like what the Security Guidelines page is attempting to do.

Member

andrewdavidwong commented Oct 16, 2015

The text sounds nice. But I was hoping to make this information available to users.

Well, that's why I asked which page(s) you wanted to add it to. :)

Maybe https://www.qubes-os.org/en/doc/getting-started/ would be an appropriate place?

It strikes me as too specific to go on Getting Started, but I could be wrong. My thought is that it would be odd to tell users about very specific quirks of the filesystem relationship on a page which is designed just to "get them started." Do you think this is information they need just to get started with Qubes?

If the concern is that they need this information in order not to make costly security mistakes or otherwise shoot themselves in the foot, then that sounds like what the Security Guidelines page is attempting to do.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 16, 2015

Member

Now that I think about it, it would make sense also to add this information to the Templates page and the Security Guidelines page. In general, we want to make sure that important information is repeated in all relevant places throughout the documentation, since the documentation is typically used as a reference guide (which means that users tend to read different sections, out of order, depending on their own particular needs and interests at the time, and are therefore likely to miss an important piece of information if it's mentioned in only one place).

Member

andrewdavidwong commented Oct 16, 2015

Now that I think about it, it would make sense also to add this information to the Templates page and the Security Guidelines page. In general, we want to make sure that important information is repeated in all relevant places throughout the documentation, since the documentation is typically used as a reference guide (which means that users tend to read different sections, out of order, depending on their own particular needs and interests at the time, and are therefore likely to miss an important piece of information if it's mentioned in only one place).

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 16, 2015

Member

Probably too much for getting started.

You can put it https://www.qubes-os.org/en/doc/security-guidelines/ if
no one else has a better suggestion. I don't.

It's just something that sometimes comes up and I would be able to just
answer by providing a link to it.

Do you have documentation templates? I.e. can you write such modules
[documentation text snippets] and then import them were you want them?

Member

adrelanos commented Oct 16, 2015

Probably too much for getting started.

You can put it https://www.qubes-os.org/en/doc/security-guidelines/ if
no one else has a better suggestion. I don't.

It's just something that sometimes comes up and I would be able to just
answer by providing a link to it.

Do you have documentation templates? I.e. can you write such modules
[documentation text snippets] and then import them were you want them?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 16, 2015

Member

Do you have documentation templates? I.e. can you write such modules [documentation text snippets] and then import them were you want them?

Sorry, I don't understand. Can you rephrase?

Member

andrewdavidwong commented Oct 16, 2015

Do you have documentation templates? I.e. can you write such modules [documentation text snippets] and then import them were you want them?

Sorry, I don't understand. Can you rephrase?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 16, 2015

Member

Axon:

Do you have documentation templates? I.e. can you write such modules [documentation text snippets] and then import them were you want them?

Sorry, I don't understand. Can you rephrase?

You create a file template_something.

Then in page get_started and security_page you just do
import:template_something. Then the text from template_something will be
load and inserted into get_started and security_page. Therefore no
duplication of text. You can change the text in one place and it will be
updated in all places. That's "templates", but not "raw images", but
"textual templates".

Member

adrelanos commented Oct 16, 2015

Axon:

Do you have documentation templates? I.e. can you write such modules [documentation text snippets] and then import them were you want them?

Sorry, I don't understand. Can you rephrase?

You create a file template_something.

Then in page get_started and security_page you just do
import:template_something. Then the text from template_something will be
load and inserted into get_started and security_page. Therefore no
duplication of text. You can change the text in one place and it will be
updated in all places. That's "templates", but not "raw images", but
"textual templates".

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 16, 2015

Member

You create a file template_something.
[...]

Oh, I see. No, we don't do anything like that because one of our goals is to have the raw Markdown source as easily human-readable as possible.

Member

andrewdavidwong commented Oct 16, 2015

You create a file template_something.
[...]

Oh, I see. No, we don't do anything like that because one of our goals is to have the raw Markdown source as easily human-readable as possible.

andrewdavidwong added a commit to QubesOS/qubes-doc that referenced this issue Oct 17, 2015

andrewdavidwong added a commit to QubesOS/qubes-doc that referenced this issue Oct 17, 2015

marmarek added a commit to QubesOS/qubesos.github.io that referenced this issue Oct 17, 2015

autoupdate: _doc
_doc:
    tag axon_dd73066e
    tagger Axon <axon@openmailbox.org> 1445046134 +0000

    Tag for commit dd73066eb39e6b631caeaa85a1ae38927db76f22
    gpg: Signature made Sat 17 Oct 2015 03:42:14 AM CEST using RSA key ID 2A019A17
    gpg: Good signature from "Axon (Qubes Documentation Signing Key)"

    dd73066 Add entry on TemplateBasedVM directories (QubesOS/qubes-issues#1336)
    7afe80d Rewrite and add notes on TemplateBasedVM directories (QubesOS/qubes-issues#1336)
    00fd49c Fix typos
@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 17, 2015

Member

What do you think about this and this, @adrelanos?

Member

andrewdavidwong commented Oct 17, 2015

What do you think about this and this, @adrelanos?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 17, 2015

Member

Nice!

Member

adrelanos commented Oct 17, 2015

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment