Quoting Nilesh Patra (2022-04-27 19:17:21) > On Wed, Apr 27, 2022 at 06:10:37PM +0100, Wookey wrote: > > On 2022-04-27 21:40 +0530, Nilesh Patra wrote: > > > But, the welcome page config > > > (https://github.com/rstudio/shiny-server/tree/master/samples) need > > > to be stored in /srv/shiny-server for this welcome display to > > > happen. > > > > > > (Note that I do not want to patch code to change the default > > > behaviour here.) > > > > Why not? This is what distro packages do - make sure things are > > installed in sensible places. > > > > And patching a path is nice and simple (although you might also have > > to patch some docs to match). > > No, sorry - that'd be a bit too much delta here, meaning shiny-server > would be able to serve from two loc (I do not want that) As a > distribution I do not want to be doing things completely orthogonal > from the way upstream does things.
Following FHS 3.0 is required by Debian Policy, and it says that "no program should rely on a specific subdirectory structure of /srv existing or data necessarily being stored in /srv". So if I understand the situation correctly, leaving the package to depend on filesystem path /srv/shiny-server is a violation of Debian Policy and needs to be fixed, either by avoiding that code (installing it only as example files) or patching, or convincing upstream to change default path. - Jonas https://www.debian.org/doc/packaging-manuals/fhs/fhs-3.0.html#srvDataForServicesProvidedBySystem https://www.debian.org/doc/debian-policy/ch-opersys.html#file-system-structure -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature