• Bug#1099914: redmine: warning during configuration

    From =?UTF-8?Q?J=C3=B6rg-Volker_Peetz?=@21:1/5 to All on Sun Mar 9 15:50:02 2025
    Package: redmine
    Version: 6.0.3+ds-2
    Severity: wish

    Dear Debian Ruby Team,

    during configuration in the postinst script, bundle is called with a user id different from root. If the TMPDIR of root is not accessible for other users there appears the warning

    TMPDIR is not writable

    Maybe TMPDIR should be redefined when calling bundle.

    By the way, there's also a warning that /var/www (owned by root) is not writeable.

    Regards,
    Jörg.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to All on Thu Mar 27 16:58:24 2025
    To: 1099914-submitter@bugs.debian.org
    Copy: debian-ruby@lists.debian.org (Debian Ruby)

    Dear Debian Ruby Team,

    During configuration in the postinst script, bundle is called with a
    user id different from root. If the TMPDIR of root is not accessible
    for other users there appears the warning

    TMPDIR is not writable

    I think this represents a change in the default bundler behavior as
    nothing has been done to Redmine as far as I know to make this change.
    This replaces the previous warning about how bundler should not be run
    as root.

    Maybe TMPDIR should be redefined when calling bundle.

    This warning doesn’t appear to cause any problems, but I would be
    willing set TMPDIR just to get rid of the warning. However, maybe it
    makes more sense to deal with this in the bundler package (set a
    usable default TMPDIR).

    By the way, there's also a warning that /var/www (owned by root) i
    not writeable.

    Probably related to the above.

    I am copying debian-ruby to see if anyone has any ideas as to the best
    way to address this.

    Regards,
    Jörg.

    --
    Soren Stoutner
    soren@debian.org
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmfl5iAACgkQwufLJ66w tgP7yRAAqcz+yYxE6efuNoENg3I50CW9OFooSJizOp5Yj0+xuslcF2yyRTnr2+aM ATCXsieGF42ocT0cxWOyv6ZuZ5BA2OkAgTp3BYoq/oPQsHN9rW+O42mEMCrs9apQ IQTlOyj+QSWiggR0rGxx2yO99bC9t3LVpaKkhZf9IPwDj3HjguGLwns7q8ttMRpY RQO1UyeVJcBzR0pozxxp0cZu9RM03wvPYLT3vfSQoAps64Elm0+bZ3TUUi0nd5cs CZxDmAyH5kbVUzxZsBrp47+zJax4Bnv0iHrYUs6O7AgUwEvmJ86Bo/RP9jFvTjER oqbgTM40aSk+OtFTsIHpbgdMSTgk8HCmHcgmg2Wq4mraMh83Wb0RjTAiwBDsIKEQ nFkrwi8Fy2bieaM8h/TJclEnjSwD8V58op6KPOYo8ch3Ybco/9TH2RLcf6Ya01EU eBYzSRHOsauNn5K7WPLUzSVYwvb5WybSIvRyiqAJQFSU3x6mUr1Ceqh9JlSz980J wuOI8wehwz0nVmzyHpiAuPnZorFf8BjsxFte2txr2tcBTV/Gr6a/j4nWG7ApfK1E ErNeEmoC74q9B9xStI5OlLhII1uQLNO8HDj9HaFJCx2EW9lg79SrQFMLv0qvXjUE MXG/EkfQ8d46tz75BKV8DL72xCWUTvVv+A8M/52vtFQNJ54pdkc=
    =MUA4
    -----END PGP SIGNATURE-----

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