unman / shaker

19 stars 13 forks source link

Rationale behind installing custom /etc/apt-cacher-ng/fedora_mirrors (in AppVM state) #3

Closed lkubb closed 3 years ago

lkubb commented 3 years ago
  1. This might be a small bug in the configuration, but afaiu currently the extended fedora_mirrors will not be persisted since 50_user.conf is missing binds+=( '/etc/apt-cacher-ng' ):

    binds+=( '/var/cache/apt-cacher-ng' )
    binds+=( '/var/log/apt-cacher-ng' )
  2. May I ask why you added packages.oit.ncsu.edu to fedora_mirrors and chose to install it in the AppVM instead of the TemplateVM? I'm adapting your configurations and would like to understand the reasoning, in case it's important.

Thank you for your extensive notes on Qubes and Salt btw, they are beyond helpful.

unman commented 3 years ago

On Thu, Oct 07, 2021 at 04:17:48AM -0700, Jean-Luc wrote:

  1. This might be a small bug in the configuration, but afaiu currently the extended fedora_mirrors will not be persisted since 50_user.conf is missing binds+=( '/etc/apt-cacher-ng' ):

    binds+=( '/var/cache/apt-cacher-ng' )
    binds+=( '/var/log/apt-cacher-ng' )
  2. May I ask why you added packages.oit.ncsu.edu to fedora_mirrors and chose to install it in the AppVM instead of the TemplateVM? I'm adapting your configurations and would like to understand the reasoning, in case it's important.

Thank you for your extensive notes on Qubes and Salt btw, they are beyond helpful.

Thanks.

  1. I prefer not to bind the whole directory. In this case, the mirror file (and configuration) are installed in the template.

  2. It's a mistake. Thanks for pointing it out. Fedora needs a large amount of tweaking if you don't use a single mirror. I guess that mirror cropped up in the cache.

lkubb commented 3 years ago

Thanks for the quick reply and explanation. Yes, I agree, it should be installed in the template without the additional bind. I wondered if there was a reason since your notes have the additional bind. For anyone wondering, currently fedora_mirrors is the same file provided by the package except from the last line.

unman commented 3 years ago

On Thu, Oct 07, 2021 at 05:17:14AM -0700, Jean-Luc wrote:

Thanks for the quick reply and explanation. Yes, I agree, it should be installed in the template without the additional bind. I wondered if there was a reason since your notes have the additional bind. For anyone wondering, currently fedora_mirrors is the same file provided by the package except from the last line.

I should update that, since I am using a somewhat different fedora file now.