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.
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. 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). 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.
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. 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). 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.
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?
I am reassigning this to the bundler package as it appears that is the correct place to deal with this warning.
I am reassigning this to the bundler package as it appears that is the correct place to deal with this warning.