Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-28 Thread Marvin Renich
* Eric Brown [220427 20:24]: > Thank you for the explanation, and thanks for the history and pointer > towards tftp. Looks like you remembered correctly > (https://lists.debian.org/debian-devel/2020/02/msg00197.html). I installed > tftpd-ahp. Interestingly, after all that discussion, it still

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-28 Thread Paul Wise
On Wed, 2022-04-27 at 21:40 +0530, Nilesh Patra wrote: > The default/expected behaviour just after package install is that as > soon as the user starts it and visits (talking about local setup here) > localhost: they should be seeing a welcome page. Since the package manager cannot know at what

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-28 Thread Andreas Tille
Am Wed, Apr 27, 2022 at 11:39:45AM -0700 schrieb Russ Allbery: > > We do try to hold the line on not installing files in /srv and not > requiring any specific layout of /srv because the FHS is pretty explicit > that the choice of directory layout in /srv is entirely up to the local >

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Eric Brown
Thank you for the explanation, and thanks for the history and pointer towards tftp. Looks like you remembered correctly (https://lists.debian.org/debian-devel/2020/02/msg00197.html). I installed tftpd-ahp. Interestingly, after all that discussion, it still does create a directory /srv/tftp

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Russ Allbery
Eric Brown writes: > The issue is that the documentation, samples and all of the upstream > online documentation, e.g. > https://support.rstudio.com/hc/en-us/articles/219002337-Shiny-Server-Quick-Start-Host-a-directory-of-applications > (or on third party sites like Stack Overflow), refer to >

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Eric Brown
Thank you all for your advice. I have been helping out to get this packaged. I agree with Nilesh but am chiming in, but I apologize if I am just repeated what is already clear. /srv/shiny-server is upstream's default location for files to serve. It starts out with the sample files but the user

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Philip Rinn
Hi Nilesh, 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. Why, you can adjust the path via a config variable, see

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Russ Allbery
Ryan Kavanagh writes: > From FHS §5.8.1, > This hierarchy holds state information pertaining to an application > or the system. State information is data that programs modify while > they run, and that pertains to one specific host. Users must never > need to modify files in

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Ryan Kavanagh
On Wed, Apr 27, 2022 at 01:15:04PM -0500, Richard Laager wrote: > Patch every instance of /srv/shiny-server to /var/lib/shiny-server. > The admin can customize from there. From FHS §5.8.1, This hierarchy holds state information pertaining to an application or the system. State

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Ryan Kavanagh
On Wed, Apr 27, 2022 at 11:27:43PM +0530, Nilesh Patra wrote: > Essentially if someone has a techincal way/solution to bypass this; or > if someone on the list has had experience of working on a package that > had similar reqs as shiny-server, it'd be nice to know what they did > for their

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Russ Allbery
Richard Laager writes: > On 4/27/22 12:57, Nilesh Patra wrote: >> I am looking for more opinions. > Patch every instance of /srv/shiny-server to /var/lib/shiny-server. The > admin can customize from there. A possibly even better option would be for it to take the web root as a command-line or

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Richard Laager
On 4/27/22 12:57, Nilesh Patra wrote: I am looking for more opinions. Patch every instance of /srv/shiny-server to /var/lib/shiny-server. The admin can customize from there. -- Richard OpenPGP_signature Description: OpenPGP digital signature

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Nilesh Patra
On Wed, Apr 27, 2022 at 07:42:29PM +0200, Jonas Smedegaard wrote: > 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

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Jonas Smedegaard
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

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Nilesh Patra
On Wed, Apr 27, 2022 at 06:10:37PM +0100, Wookey wrote: > On 2022-04-27 21:40 +0530, Nilesh Patra wrote: > > Hi All, > > > > 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

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Wookey
On 2022-04-27 21:40 +0530, Nilesh Patra wrote: > Hi All, > > 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

Re: Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Jonas Smedegaard
Quoting Nilesh Patra (2022-04-27 18:10:29) > 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. The path indicates that it is sample code - so I would suggest to simply

Advice for package needing stuff installed in /srv (node-shiny-server)

2022-04-27 Thread Nilesh Patra
Hi All, I recently completed the packaging of node-shiny-server, uploaded to NEW and it is there in the archive now (exp suite) The default/expected behaviour just after package install is that as soon as the user starts it and visits (talking about local setup here) localhost: they should be