Discussion:
Bug#1099914: redmine: warning during configuration
(too old to reply)
Jörg-Volker Peetz
2025-03-09 14:50:02 UTC
Permalink
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.
Soren Stoutner
2025-03-28 00:10:02 UTC
Permalink
Post by Jörg-Volker Peetz
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.
Post by Jörg-Volker Peetz
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).
Post by Jörg-Volker Peetz
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.
Post by Jörg-Volker Peetz
Regards,
Jörg.
--
Soren Stoutner
***@debian.org
Soren Stoutner
2025-06-13 17:50:01 UTC
Permalink
When configuring Redmine, bundler produces /var/www writability warnings.

Processing triggers for redmine (6.0.5+ds-1) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
dbconfig-common: flushing administrative password
`/var/www` is not writable.
Bundler will use `/tmp/bundler20250609-4141343-hlgvjq4141343' as your home
directory temporarily.
`/var/www` is not writable.
Bundler will use `/tmp/bundler20250609-4141535-90mw5b4141535' as your home
directory temporarily.
Some configuration data is already loaded.

Is this expected? It doesn’t appear to cause problems because it falls back
to a temporary location. Is there some way to suppress this message?
--
Soren Stoutner
***@debian.org
Soren Stoutner
2025-08-15 23:30:01 UTC
Permalink
Control: reassign -1 bundler

I am reassigning this to the bundler package as it appears that is the correct
place to deal with this warning.
--
Soren Stoutner
***@debian.org
Loading...