[DRE-maint] Bug#1076559: gitlab: install fails to build cssbundling-rails

Ondrej Zary zary at gsystem.sk
Thu Oct 31 11:07:38 GMT 2024


This bug seems to be caused by "ALWAYS_SET_PATH yes" in /etc/login.defs.
It causes runuser to reset PATH.

# export PATH=/usr/share/gitlab/bin:$PATH
# runuser -u gitlab -- sh -c 'echo $PATH'
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Another workaround:
# echo "ALWAYS_SET_PATH no" >> /etc/default/runuser

# runuser -u gitlab -- sh -c 'echo $PATH'
/usr/share/gitlab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/bin

-- 
Ondrej Zary



More information about the Pkg-ruby-extras-maintainers mailing list