On lundi, 21 mars 2016 15.21:11 h CET Johannes Weberhofer wrote:
Am 21.03.2016 um 15:03 schrieb Ludwig Nussel:
suggest to package "web applications" to /srv/www/%name. I see two
major problems with that
1. /srv is considered admin space so packages should not mess with
it. Citing FHS¹: "... no program should rely on a specific
subdirectory structure of /srv existing or data necessarily being
stored in /srv ... Distributions must take care not to remove
locally placed files in these directories without administrator
2. For the reason that admins are expected to put files in /srv that
are not tracked by package management, /srv is a default btrfs
subvolume. That means anything installed in /srv is excluded from
the default system snapshots. Ie rollbacks of packages that
install code in /srv won't have any effect and the rpm database
would not reflect what's actually running anymore.
Therefore I'd like to propose to change the section to the
Web applications packaged in openSUSE should place their their files
in /etc, /usr, /var etc depending on type just like any other
application would do. A package must not install, remove or
otherwise modify /srv content as it's use is reserved to the admin
according to FHS¹. It's ok to allow the admin to configure the
software to use /srv of course.
I fully agree to the suggested change. This simplifies cross-distro-packaging, too.
Get one +1 from here too.
Is there ary deep search that can be run against the content (at least factory, and
devel repo) to grab a list of impacted package to open a series of bug against them ?
Ludwig, any idea about the calendar for the RFC ( like a state of this should be fixed,
higher warning, badness 10000000 :-) you would like to see ?
Ioda-Net Sàrl www.ioda-net.ch
openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org