Mailinglist Archive: opensuse-factory (536 mails)

< Previous Next >
Re: [opensuse-factory] requesting package review: system:snappy/snapd
On Fri, May 04, Simon Lees wrote:

There are a couple of things here that should be discussed more broadly,
1. you seem to be packaging stuff into /snap which is outside the FHS
guidelines, On fedora [1] they are using /var/lib/snapd/snap

Are this files in /var/lib/snapd included in the RPM filelist, or
created at runtime?
In the former case, /var is a really bad idea, as this contains
variable data (FHS) and if you provide something with RPM, it's clearly
static and will break snapshots, rollback and transactional-update.

2. Normally on openSUSE we don't allow packages to enable there service
in %post in favor of the system administrator doing it, snap is a bit
different from most standard services though so maybe its worth an
exception but we should discuss that on this list.

If something should be enabled by default, it belongs to the
systemd-preset-branding package for that product, never into the
%pre/%post installs. There is really no valid reason to do or allow


Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups