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

    From Nilesh Patra@21:1/5 to All on Wed Apr 27 18:20:02 2022
    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:<port-it-binds-to> they should be
    seeing a welcome page.

    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.
    Now, I think we as a distribution are not supposed to install anything to /srv as they are reserved
    explicitly for sys admins. I get a big fat lintian error if I even attempt to do that.

    Without installing the welcome template to /srv/shiny-server, the user would get a kind
    of warning message when they visit localhost and that might scare them away. And hence, I need help/opinions to decide what should be done here.

    (Note that I do not want to patch code to change the default behaviour here.)

    Any ideas?

    Regards,
    Nilesh

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmJpavUACgkQALrnSzQz afFpZA//eYWD67HoJ3hSZdx6dJ0pdSf42guBFMM+YNHvJSf5H4FD1WAEZ0ve+doh GdMJgslPS5TM50riQXvlpEoJDiaz/PGTnx08ti7hl9DJAF50/MsF9oLfQrMi3StP hHNvRfC99QrolbgKVRS/kn55FYRPc7RzhRA2mCz5au2C4TCk+Wwq6wVn05uGw4wl /5Ne7ABgpiw4x1+ss9otp0GrnO9WfeH5KHVssUCD6fkRiDqPj8TddnOlOOOCwSvc 6T2yNuWWkt5HJ+9P1405+g0aFY1ui6kh4I4TJi7wlP35Q/V2GfzWuLqjKsAmsRyb JpDJBHgFcLrAXjjNA/G8yTPz5mHUaC2ymThOofdkIaLkNH03un7PQSQPDCc0mIna zvZrqnZyC3v34lQJORJmPmv3cIe6aUeA/9OHgN8JNX2lCQFjrD5uXtJ7mUpyE4jo HZfZOH89+DzSAbPw2r6IXX8XALI9LUYysP9bVIhXdZkecK/Ig4xQ++OkzOu504wP NmsTP/nrVcevQm+LPuo/slab3XLFW8wj9E0rrO6cUHELKOBcFgAhbF5E4V7PJNTY C2/RsEOEhBXBywmT48AfQaKuZ5F3c843EnP+nIv46DTkX1v/Tqxi7xo70MMBQ40+ 7I71FftSKoya3x127/jAfjbfGCbjcJ7AExhpzv940u+EQbT7740=
    =LQmY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)